Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 108.6 kB / 16.41 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001733/0.001734, allocations: 188.1 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.001431, allocations: 63.89 kB / 0.9516 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8292/0.8307, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.001813/0.8325, allocations: 0.7045 MB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008324/0.8334, allocations: 0.8054 MB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.568e-05/0.8334, allocations: 0 / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.8335, allocations: 5.672 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.955e-05/0.8335, allocations: 5.672 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.668e-05/0.8336, allocations: 17.91 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.813e-05/0.8337, allocations: 42.72 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.8338, allocations: 10.75 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.015e-05/0.8339, allocations: 17.38 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.974e-05/0.8339, allocations: 26.69 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.8339, allocations: 3.875 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.834, allocations: 3.375 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.834, allocations: 7.609 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.834, allocations: 17.27 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.727e-05/0.8341, allocations: 44.69 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8341, allocations: 0 / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8341, allocations: 0 / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.8341, allocations: 0 / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004732/0.8346, allocations: 365.2 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.8347, allocations: 9.156 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.8347, allocations: 7.625 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.438e-05/0.8348, allocations: 174.4 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.8348, allocations: 2.109 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.8348, allocations: 1.594 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.8351, allocations: 69.16 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.8351, allocations: 4.125 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.8351, allocations: 4.812 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.8351, allocations: 1.25 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.8354, allocations: 69.84 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.8358, allocations: 270.7 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.836, allocations: 54.56 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.8362, allocations: 49.48 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.8362, allocations: 3.938 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/0.8362, allocations: 32.11 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.8362, allocations: 0 / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005713/0.8368, allocations: 128.4 kB / 1.092 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.8368, allocations: 53.23 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.559e-05/0.8369, allocations: 107 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.8369, allocations: 26.64 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/0.8369, allocations: 86.64 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.837, allocations: 13.7 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.837, allocations: 17.67 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.837, allocations: 318 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.8372, allocations: 33.89 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.8373, allocations: 31.66 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.8376, allocations: 70.3 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8376, allocations: 3.938 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000315/0.838, allocations: 94.27 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.838, allocations: 6.266 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.838, allocations: 0 / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.838, allocations: 1.156 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.8381, allocations: 18.5 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.8382, allocations: 1.344 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.192e-05/0.8382, allocations: 16.16 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.8383, allocations: 5.094 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.168e-05/0.8383, allocations: 112 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.8383, allocations: 5.531 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.8384, allocations: 10.34 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.8384, allocations: 0.8125 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.8384, allocations: 9.125 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8384, allocations: 0 / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.8385, allocations: 170.2 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8385, allocations: 1.547 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.817e-05/0.8386, allocations: 15.58 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.8387, allocations: 0 / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-06/0.8387, allocations: 4.75 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.8387, allocations: 0.5156 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8387, allocations: 0.7188 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.839, allocations: 198.5 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.8391, allocations: 86.84 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.8391, allocations: 1.516 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.8392, allocations: 11.78 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.8392, allocations: 6.984 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.8392, allocations: 9.312 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.983e-05/0.8393, allocations: 88.25 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8393, allocations: 0 / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002163/0.8395, allocations: 6.562 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001289/0.8396, allocations: 99 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003553/0.84, allocations: 75.34 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.84, allocations: 0 / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.8402, allocations: 37.69 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.8405, allocations: 9.5 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.8408, allocations: 149 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.536e-05/0.8409, allocations: 0.6834 MB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.8409, allocations: 9.75 kB / 1.094 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.8409, allocations: 0 / 1.094 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of Templates: time 0.00229/0.8432, allocations: 0.7419 MB / 1.095 GB, free: 0.8789 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches