Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.294/3.294, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 76.02 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.36, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003481/0.3634, allocations: 1.971 MB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00232/0.3658, allocations: 1.28 MB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.3659, allocations: 0 / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.3663, allocations: 175.3 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.3668, allocations: 203.2 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.3671, allocations: 159.6 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004243/0.3675, allocations: 343 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.3677, allocations: 33.14 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.3679, allocations: 155.4 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.3681, allocations: 167.3 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.3681, allocations: 16 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.3683, allocations: 55.98 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.3684, allocations: 103.6 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.3685, allocations: 91.34 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000486/0.369, allocations: 386.3 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.369, allocations: 0 / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/0.369, allocations: 3.938 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.369, allocations: 0 / 1.368 GB, free: 8.934 MB / 1.061 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.0009976/0.37, allocations: 0.5664 MB / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.37, allocations: 11.97 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.435e-05/0.3701, allocations: 42.73 kB / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.397e-05/0.3701, allocations: 40.64 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/0.3707, allocations: 316.3 kB / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.3707, allocations: 11.94 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.3707, allocations: 7.984 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.371, allocations: 109.5 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.371, allocations: 3.938 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.371, allocations: 11.98 kB / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.371, allocations: 0 / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.3712, allocations: 67.95 kB / 1.37 GB, free: 7.691 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008918/0.3721, allocations: 451.6 kB / 1.37 GB, free: 7.207 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.3725, allocations: 134.7 kB / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.3726, allocations: 44.83 kB / 1.37 GB, free: 7.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.3727, allocations: 4 kB / 1.37 GB, free: 7.016 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002755/0.3729, allocations: 123.2 kB / 1.37 GB, free: 6.883 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.3729, allocations: 0 / 1.37 GB, free: 6.883 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0005909/0.3735, allocations: 236.1 kB / 1.37 GB, free: 6.648 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.3736, allocations: 51.41 kB / 1.371 GB, free: 6.586 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006933/0.3743, allocations: 0.5366 MB / 1.371 GB, free: 6.039 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.3743, allocations: 29.7 kB / 1.371 GB, free: 6.004 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.3744, allocations: 172.4 kB / 1.371 GB, free: 5.832 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.3745, allocations: 39.69 kB / 1.371 GB, free: 5.793 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.3746, allocations: 73.95 kB / 1.371 GB, free: 5.711 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.3748, allocations: 354.8 kB / 1.372 GB, free: 5.355 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.375, allocations: 96.52 kB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.3752, allocations: 147.5 kB / 1.372 GB, free: 5.109 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.3756, allocations: 187 kB / 1.372 GB, free: 4.918 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3756, allocations: 4 kB / 1.372 GB, free: 4.914 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000586/0.3762, allocations: 333.3 kB / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.3762, allocations: 16 kB / 1.372 GB, free: 4.566 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3762, allocations: 0 / 1.372 GB, free: 4.566 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3762, allocations: 0 / 1.372 GB, free: 4.566 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.3765, allocations: 51.91 kB / 1.372 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.3765, allocations: 4 kB / 1.372 GB, free: 4.512 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.3766, allocations: 11.95 kB / 1.373 GB, free: 4.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.3766, allocations: 15.98 kB / 1.373 GB, free: 4.484 MB / 1.061 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.000203/0.3768, allocations: 185.7 kB / 1.373 GB, free: 4.293 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.3769, allocations: 39.7 kB / 1.373 GB, free: 4.254 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004572/0.3773, allocations: 210.8 kB / 1.373 GB, free: 4.047 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.3774, allocations: 0 / 1.373 GB, free: 4.047 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3774, allocations: 4 kB / 1.373 GB, free: 4.043 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3774, allocations: 3.984 kB / 1.373 GB, free: 4.039 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.3777, allocations: 268.5 kB / 1.373 GB, free: 3.734 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3777, allocations: 0 / 1.373 GB, free: 3.734 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.244e-05/0.3778, allocations: 12 kB / 1.373 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.3778, allocations: 3.938 kB / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.3778, allocations: 7.984 kB / 1.373 GB, free: 3.711 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3778, allocations: 8 kB / 1.373 GB, free: 3.703 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3778, allocations: 3.984 kB / 1.373 GB, free: 3.699 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.3782, allocations: 236.6 kB / 1.373 GB, free: 3.449 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.982e-05/0.3783, allocations: 43.69 kB / 1.374 GB, free: 3.406 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.3784, allocations: 4 kB / 1.374 GB, free: 3.402 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.3785, allocations: 8 kB / 1.374 GB, free: 3.395 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/0.3785, allocations: 19.97 kB / 1.374 GB, free: 3.375 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.3786, allocations: 7.984 kB / 1.374 GB, free: 3.367 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003953/0.3789, allocations: 327.1 kB / 1.374 GB, free: 3.047 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3789, allocations: 0 / 1.374 GB, free: 3.047 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002968/0.3792, allocations: 59.94 kB / 1.374 GB, free: 2.988 MB / 1.061 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 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.002276/0.3815, allocations: 1.103 MB / 1.375 GB, free: 2.043 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004343/0.382, allocations: 191.8 kB / 1.375 GB, free: 1.855 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.382, allocations: 0 / 1.375 GB, free: 1.855 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.3821, allocations: 63.91 kB / 1.375 GB, free: 1.793 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.3826, allocations: 100.7 kB / 1.375 GB, free: 1.703 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.3869, allocations: 3.234 MB / 1.378 GB, free: 14.38 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.3871, allocations: 179.8 kB / 1.379 GB, free: 14.18 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000161/0.3873, allocations: 54.94 kB / 1.379 GB, free: 14.13 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.3875, allocations: 119.4 kB / 1.379 GB, free: 14.01 MB / 1.076 GB Notification: Performance of SimCode: time 6.71e-07/0.3875, allocations: 0 / 1.379 GB, free: 14.01 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0382/0.4257, allocations: 8.351 MB / 1.387 GB, free: 5.766 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.12, allocations: 1.875 kB / 1.387 GB, free: 5.766 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.020482106134295]