Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0019/0.0019, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002728/0.002728, allocations: 212.4 kB / 22.24 MB, free: 5.246 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.652/1.652, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.556/3.556, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") [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.002165/0.002165, allocations: 71.59 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4242, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.004062/0.4283, allocations: 1.969 MB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002843/0.4311, allocations: 1.279 MB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.4313, allocations: 7.875 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005784/0.4319, allocations: 163.4 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005855/0.4324, allocations: 211.2 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.4329, allocations: 167.5 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004829/0.4334, allocations: 339.1 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.4336, allocations: 32.86 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.4338, allocations: 147.4 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.434, allocations: 167.3 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.4341, allocations: 12 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.4342, allocations: 59.97 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.4344, allocations: 99.61 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.4345, allocations: 91.34 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005361/0.435, allocations: 398.2 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.435, allocations: 4 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.435, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.435, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 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.001131/0.4362, allocations: 0.5702 MB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.4362, allocations: 12.03 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.136e-05/0.4363, allocations: 36.7 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000598/0.4369, allocations: 312.5 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.4369, allocations: 4 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.437, allocations: 15.98 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.4372, allocations: 117.5 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4373, allocations: 3.984 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.4373, allocations: 3.984 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4373, allocations: 4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.4375, allocations: 63.95 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008794/0.4383, allocations: 424.1 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.4387, allocations: 130.8 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.4388, allocations: 52.83 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.4389, allocations: 0 / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.4391, allocations: 119.2 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.4391, allocations: 0 / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0006093/0.4397, allocations: 237.3 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/0.4398, allocations: 59.34 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007381/0.4405, allocations: 0.5288 MB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.4406, allocations: 33.7 kB / 1.333 GB, free: 9.906 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.4407, allocations: 172.5 kB / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.4408, allocations: 39.72 kB / 1.333 GB, free: 9.695 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.4409, allocations: 81.8 kB / 1.333 GB, free: 9.605 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002236/0.4411, allocations: 350.8 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.4414, allocations: 100.5 kB / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.4416, allocations: 143.6 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.442, allocations: 179 kB / 1.334 GB, free: 8.824 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.442, allocations: 0 / 1.334 GB, free: 8.824 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006649/0.4427, allocations: 341.3 kB / 1.334 GB, free: 8.484 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.4427, allocations: 7.938 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4427, allocations: 4 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/0.4427, allocations: 7.922 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.443, allocations: 43.98 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.443, allocations: 3.984 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.4432, allocations: 19.89 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.4432, allocations: 15.98 kB / 1.335 GB, free: 8.383 MB / 1.029 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.0002268/0.4434, allocations: 190.5 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.4435, allocations: 31.77 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004659/0.4439, allocations: 218.9 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4439, allocations: 0 / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4439, allocations: 0 / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.4439, allocations: 0 / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.4443, allocations: 233.1 kB / 1.335 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4443, allocations: 0 / 1.335 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.158e-05/0.4443, allocations: 16 kB / 1.335 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.4443, allocations: 11.92 kB / 1.335 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.4444, allocations: 4 kB / 1.335 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.4444, allocations: 7.938 kB / 1.335 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4444, allocations: 0 / 1.335 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.4448, allocations: 224.7 kB / 1.335 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.615e-05/0.4449, allocations: 39.8 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.4449, allocations: 4 kB / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.914e-05/0.445, allocations: 11.94 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/0.4451, allocations: 15.97 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.4451, allocations: 15.98 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004025/0.4455, allocations: 323.1 kB / 1.336 GB, free: 7.004 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4455, allocations: 4 kB / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003034/0.4458, allocations: 59.89 kB / 1.336 GB, free: 6.941 MB / 1.029 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.001791/0.4476, allocations: 469.4 kB / 1.336 GB, free: 6.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004743/0.4481, allocations: 187.8 kB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4481, allocations: 0 / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.4482, allocations: 68.88 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.4487, allocations: 95.95 kB / 1.337 GB, free: 6.328 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.4497, allocations: 0.5625 MB / 1.337 GB, free: 5.738 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.45, allocations: 187.8 kB / 1.337 GB, free: 5.531 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001491/0.4501, allocations: 54.95 kB / 1.338 GB, free: 5.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.4502, allocations: 35.42 kB / 1.338 GB, free: 5.445 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.4502, allocations: 3.938 kB / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of Templates: time 0.01067/0.4609, allocations: 4.74 MB / 1.342 GB, free: 0.7656 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.275269089266658]