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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.001021, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.001131/0.001131, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.3 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006717/0.000672, allocations: 12 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8647/0.8654, allocations: 142.3 MB / 0.9535 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002402/0.8679, allocations: 1.639 MB / 0.9551 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001868/0.8698, allocations: 1.104 MB / 0.9562 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.87, allocations: 6.469 kB / 0.9562 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004588/0.8704, allocations: 133 kB / 0.9563 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.8707, allocations: 130.6 kB / 0.9565 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.8713, allocations: 184.9 kB / 0.9566 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.8716, allocations: 189.3 kB / 0.9568 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.8717, allocations: 51.17 kB / 0.9569 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.8719, allocations: 124.7 kB / 0.957 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.8721, allocations: 115.3 kB / 0.9571 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.8722, allocations: 4.594 kB / 0.9571 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.8723, allocations: 35.36 kB / 0.9571 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.804e-05/0.8724, allocations: 77.78 kB / 0.9572 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.249e-05/0.8725, allocations: 70.14 kB / 0.9573 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.8727, allocations: 293.6 kB / 0.9575 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8728, allocations: 0 / 0.9575 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.365e-06/0.8728, allocations: 4 kB / 0.9575 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.8728, allocations: 0.6562 kB / 0.9575 GB, free: 5.098 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.0008971/0.8737, allocations: 0.5728 MB / 0.9581 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.8737, allocations: 9.156 kB / 0.9581 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.615e-05/0.8738, allocations: 35.38 kB / 0.9582 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/0.8743, allocations: 354.4 kB / 0.9585 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.8744, allocations: 11.59 kB / 0.9585 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.8744, allocations: 5.688 kB / 0.9585 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.8746, allocations: 112.4 kB / 0.9586 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.8747, allocations: 1.438 kB / 0.9586 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.8747, allocations: 3.953 kB / 0.9586 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.8747, allocations: 2.812 kB / 0.9586 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.8749, allocations: 58.14 kB / 0.9587 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007465/0.8756, allocations: 0.4928 MB / 0.9592 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.876, allocations: 140 kB / 0.9593 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.876, allocations: 1.375 kB / 0.9593 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.8762, allocations: 116.3 kB / 0.9594 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.8762, allocations: 0 / 0.9594 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005663/0.8768, allocations: 218.3 kB / 0.9596 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.8769, allocations: 52.78 kB / 0.9597 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007248/0.8776, allocations: 0.5083 MB / 0.9602 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.8776, allocations: 30.55 kB / 0.9602 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.8777, allocations: 165.9 kB / 0.9603 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.8778, allocations: 41.66 kB / 0.9604 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.8778, allocations: 5.312 kB / 0.9604 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.8779, allocations: 349.1 kB / 0.9607 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.8781, allocations: 95.8 kB / 0.9608 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.8784, allocations: 133.5 kB / 0.9609 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.8786, allocations: 107.2 kB / 0.961 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.8786, allocations: 1 kB / 0.961 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005542/0.8791, allocations: 321.3 kB / 0.9614 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.8792, allocations: 6.188 kB / 0.9614 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.8792, allocations: 0 / 0.9614 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.8792, allocations: 2.594 kB / 0.9614 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.8795, allocations: 54.75 kB / 0.9614 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.8795, allocations: 2.969 kB / 0.9614 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.8796, allocations: 29.89 kB / 0.9614 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.8797, allocations: 12.53 kB / 0.9615 GB, free: 2.09 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 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.8799, allocations: 187.1 kB / 0.9616 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.8799, allocations: 34.48 kB / 0.9617 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.831e-05/0.88, allocations: 33.28 kB / 0.9617 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.88, allocations: 1.25 kB / 0.9617 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.8801, allocations: 1 kB / 0.9617 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.8801, allocations: 0 / 0.9617 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.8804, allocations: 308.2 kB / 0.962 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.8804, allocations: 1.031 kB / 0.962 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.355e-05/0.8805, allocations: 9.938 kB / 0.962 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.8805, allocations: 9 kB / 0.962 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.8805, allocations: 1.969 kB / 0.962 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.8805, allocations: 1.125 kB / 0.962 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8805, allocations: 0 / 0.962 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.8809, allocations: 216.2 kB / 0.9622 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.56e-05/0.881, allocations: 115.6 kB / 0.9623 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.8811, allocations: 9.297 kB / 0.9623 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.173e-05/0.8812, allocations: 4.625 kB / 0.9623 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.537e-05/0.8813, allocations: 20.25 kB / 0.9624 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.8813, allocations: 8.312 kB / 0.9624 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000353/0.8816, allocations: 312.2 kB / 0.9627 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8817, allocations: 0 / 0.9627 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00033/0.882, allocations: 56.05 kB / 0.9627 GB, free: 1.109 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001028/0.883, allocations: 425.2 kB / 0.9631 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004265/0.8835, allocations: 196.5 kB / 0.9633 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8835, allocations: 0 / 0.9633 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.8836, allocations: 59.5 kB / 0.9634 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.884, allocations: 79.3 kB / 0.9634 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009637/0.885, allocations: 0.5818 MB / 0.964 GB, free: 376 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.8855, allocations: 0.7869 MB / 0.9648 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001787/0.8857, allocations: 62.45 kB / 0.9648 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.669e-05/0.8858, allocations: 35.39 kB / 0.9649 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of SimCode: time 3.7e-07/0.8858, allocations: 0 / 0.9649 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of Templates: time 0.00889/0.8947, allocations: 3.737 MB / 0.9685 GB, free: 13.74 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches