Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.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.346/2.346, allocations: 390.3 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 63.91 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6653/0.6672, allocations: 140.4 MB / 0.9497 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002955/0.6702, allocations: 1.978 MB / 0.9517 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001872/0.6721, allocations: 1.197 MB / 0.9528 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.6723, allocations: 6.438 kB / 0.9528 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004321/0.6727, allocations: 159 kB / 0.953 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003456/0.6731, allocations: 155.6 kB / 0.9531 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.6736, allocations: 225.2 kB / 0.9534 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.6739, allocations: 316.9 kB / 0.9537 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.6741, allocations: 51.73 kB / 0.9537 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.6743, allocations: 146.5 kB / 0.9538 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.6744, allocations: 143.8 kB / 0.954 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.6745, allocations: 15.03 kB / 0.954 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.6746, allocations: 59.69 kB / 0.9541 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.897e-05/0.6747, allocations: 88.66 kB / 0.9541 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.6748, allocations: 120.6 kB / 0.9543 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.6752, allocations: 365.4 kB / 0.9546 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.6752, allocations: 0 / 0.9546 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6752, allocations: 4 kB / 0.9546 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.6752, allocations: 0 / 0.9546 GB, free: 5.492 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008189/0.676, allocations: 0.6242 MB / 0.9552 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.6761, allocations: 12 kB / 0.9552 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.981e-05/0.6761, allocations: 37.34 kB / 0.9553 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.479e-05/0.6762, allocations: 34.97 kB / 0.9553 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/0.6766, allocations: 367.1 kB / 0.9556 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.6767, allocations: 3.656 kB / 0.9557 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.6767, allocations: 14.12 kB / 0.9557 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.6769, allocations: 116.9 kB / 0.9558 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.6769, allocations: 1.344 kB / 0.9558 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.677, allocations: 4 kB / 0.9558 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.677, allocations: 2.562 kB / 0.9558 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.6771, allocations: 63.11 kB / 0.9558 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006713/0.6778, allocations: 499.3 kB / 0.9563 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.6782, allocations: 137 kB / 0.9565 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.6783, allocations: 47.67 kB / 0.9565 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.6783, allocations: 7.281 kB / 0.9565 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.6785, allocations: 115 kB / 0.9566 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/0.6785, allocations: 0 / 0.9566 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004782/0.679, allocations: 231.4 kB / 0.9568 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.6791, allocations: 53.25 kB / 0.9569 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.6795, allocations: 0.5119 MB / 0.9574 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.6796, allocations: 35.08 kB / 0.9574 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.498e-05/0.6796, allocations: 160.9 kB / 0.9576 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.6797, allocations: 38.42 kB / 0.9576 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.553e-05/0.6798, allocations: 65.47 kB / 0.9577 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.026e-05/0.6798, allocations: 349.8 kB / 0.958 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.68, allocations: 95.42 kB / 0.9581 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.6802, allocations: 143.9 kB / 0.9582 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.6805, allocations: 185.1 kB / 0.9584 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6805, allocations: 0.7812 kB / 0.9584 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005159/0.6811, allocations: 319.6 kB / 0.9587 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.6811, allocations: 9.188 kB / 0.9587 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.6811, allocations: 5.156 kB / 0.9587 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.6811, allocations: 1.125 kB / 0.9587 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.6813, allocations: 56.03 kB / 0.9588 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.6814, allocations: 1.969 kB / 0.9588 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.6815, allocations: 21.58 kB / 0.9588 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.6815, allocations: 8.062 kB / 0.9588 GB, free: 2.258 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt2.y,reaToInt1.y,product.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.0001434/0.6817, allocations: 182.7 kB / 0.959 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.6817, allocations: 34.75 kB / 0.959 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.424e-05/0.6818, allocations: 41.28 kB / 0.9591 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.6818, allocations: 1.094 kB / 0.9591 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6818, allocations: 1.094 kB / 0.9591 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6818, allocations: 0 / 0.9591 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.682, allocations: 296.7 kB / 0.9593 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.6821, allocations: 0 / 0.9593 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-05/0.6821, allocations: 18.36 kB / 0.9594 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.6821, allocations: 5.156 kB / 0.9594 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.6822, allocations: 5.938 kB / 0.9594 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6822, allocations: 1.188 kB / 0.9594 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6822, allocations: 7.922 kB / 0.9594 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.6825, allocations: 214.2 kB / 0.9596 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.6826, allocations: 110.7 kB / 0.9597 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.6826, allocations: 9.281 kB / 0.9597 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.657e-05/0.6827, allocations: 11.89 kB / 0.9597 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.6828, allocations: 18.89 kB / 0.9597 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.6828, allocations: 9.328 kB / 0.9597 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002899/0.6831, allocations: 315.3 kB / 0.96 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6831, allocations: 0 / 0.96 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003071/0.6835, allocations: 56.58 kB / 0.9601 GB, free: 1.266 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001361/0.6848, allocations: 1.058 MB / 0.9611 GB, free: 500 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004076/0.6852, allocations: 206.4 kB / 0.9613 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6853, allocations: 1.125 kB / 0.9613 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.6854, allocations: 66.73 kB / 0.9614 GB, free: 380 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.6859, allocations: 92.67 kB / 0.9615 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/0.6899, allocations: 3.136 MB / 0.9645 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.6903, allocations: 0.7853 MB / 0.9653 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001679/0.6904, allocations: 50.67 kB / 0.9654 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.6906, allocations: 111.8 kB / 0.9655 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of SimCode: time 1.934e-06/0.6906, allocations: 0 / 0.9655 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.7191, allocations: 7.052 MB / 0.9723 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.673/8.392, allocations: 13.34 kB / 0.9724 GB, free: 9.902 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches