Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.009843/0.009843, allocations: 98.42 kB / 15.73 MB, free: 6.031 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.003084/0.003084, allocations: 195.8 kB / 16.67 MB, free: 5.953 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.542/1.542, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.749/2.749, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.84 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127/1.129, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003798/1.133, allocations: 2.001 MB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002279/1.135, allocations: 1.197 MB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/1.135, allocations: 11.88 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005755/1.136, allocations: 163.4 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003802/1.136, allocations: 151.4 kB / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005815/1.137, allocations: 222 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004228/1.137, allocations: 315.2 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/1.137, allocations: 44.38 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/1.138, allocations: 147.4 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/1.138, allocations: 155.4 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/1.138, allocations: 12 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/1.138, allocations: 51.97 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/1.138, allocations: 91.67 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/1.138, allocations: 119.2 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004668/1.139, allocations: 374.9 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/1.139, allocations: 3.938 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.944e-06/1.139, allocations: 0 / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.588e-06/1.139, allocations: 0 / 1.172 GB, free: 14.77 MB / 0.9044 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.001014/1.14, allocations: 0.63 MB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.14, allocations: 12.91 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.694e-05/1.14, allocations: 36.69 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005215/1.14, allocations: 386.2 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/1.141, allocations: 4 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/1.141, allocations: 12 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/1.141, allocations: 97.62 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.141, allocations: 4 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/1.141, allocations: 11.98 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/1.141, allocations: 0 / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/1.141, allocations: 63.81 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008017/1.142, allocations: 492.5 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/1.142, allocations: 138.7 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/1.142, allocations: 48.83 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/1.142, allocations: 4 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/1.143, allocations: 108.5 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/1.143, allocations: 0 / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0005623/1.143, allocations: 234.5 kB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/1.143, allocations: 51.41 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005559/1.144, allocations: 0.5132 MB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/1.144, allocations: 25.7 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/1.144, allocations: 168.4 kB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/1.144, allocations: 43.72 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/1.144, allocations: 73.86 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.144, allocations: 354.8 kB / 1.175 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/1.145, allocations: 96.52 kB / 1.175 GB, free: 11 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/1.145, allocations: 136.1 kB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/1.145, allocations: 178.5 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.145, allocations: 0 / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005252/1.146, allocations: 329.3 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.146, allocations: 10.44 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.146, allocations: 0 / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/1.146, allocations: 4 kB / 1.176 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/1.146, allocations: 55.91 kB / 1.176 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/1.146, allocations: 0 / 1.176 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/1.146, allocations: 19.89 kB / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/1.146, allocations: 11.98 kB / 1.176 GB, free: 10.25 MB / 0.9044 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.000181/1.146, allocations: 189.8 kB / 1.176 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/1.146, allocations: 39.7 kB / 1.176 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.291e-05/1.147, allocations: 35.12 kB / 1.176 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/1.147, allocations: 4 kB / 1.176 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/1.147, allocations: 0 / 1.176 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.147, allocations: 0 / 1.176 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/1.147, allocations: 293.5 kB / 1.176 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.147, allocations: 7.984 kB / 1.176 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.283e-05/1.147, allocations: 11.98 kB / 1.176 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.147, allocations: 7.938 kB / 1.176 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/1.147, allocations: 8 kB / 1.176 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/1.147, allocations: 0 / 1.176 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.147, allocations: 0 / 1.176 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/1.147, allocations: 214 kB / 1.176 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-05/1.147, allocations: 116.8 kB / 1.177 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/1.147, allocations: 7.938 kB / 1.177 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/1.148, allocations: 8 kB / 1.177 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.636e-05/1.148, allocations: 19.97 kB / 1.177 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/1.148, allocations: 8 kB / 1.177 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003329/1.148, allocations: 315.1 kB / 1.177 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.148, allocations: 0 / 1.177 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002934/1.148, allocations: 63.89 kB / 1.177 GB, free: 8.836 MB / 0.9044 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.001081/1.149, allocations: 417.2 kB / 1.177 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004254/1.15, allocations: 204.1 kB / 1.178 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.15, allocations: 0 / 1.178 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/1.15, allocations: 62.53 kB / 1.178 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/1.15, allocations: 99.48 kB / 1.178 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008601/1.151, allocations: 0.5348 MB / 1.178 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/1.152, allocations: 0.787 MB / 1.179 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001497/1.152, allocations: 58.89 kB / 1.179 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.948e-05/1.152, allocations: 35.42 kB / 1.179 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of SimCode: time 3e-07/1.152, allocations: 0 / 1.179 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of Templates: time 0.009039/1.161, allocations: 4.079 MB / 1.183 GB, free: 2.727 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches