Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.499/2.499, allocations: 390.3 MB / 405.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 181.1 kB / 498.1 MB, free: 5.754 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 223.2 MB / 0.7948 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009778/0.0009775, allocations: 98.73 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004132/0.0004133, allocations: 11.28 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3247, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2015/0.5262, allocations: 153.4 MB / 1.373 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.5265, allocations: 71.97 kB / 1.373 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02968/0.5562, allocations: 11.16 MB / 1.384 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.364e-06/0.5563, allocations: 0 / 1.384 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.897e-05/0.5563, allocations: 4 kB / 1.384 GB, free: 13.45 MB / 0.8855 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.00124/0.5576, allocations: 0.6069 MB / 1.384 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.5576, allocations: 12.02 kB / 1.384 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.5578, allocations: 39.48 kB / 1.384 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008252/0.5586, allocations: 405.1 kB / 1.385 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.5586, allocations: 4 kB / 1.385 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.5587, allocations: 8 kB / 1.385 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.5589, allocations: 114.7 kB / 1.385 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.559, allocations: 0 / 1.385 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.559, allocations: 0 / 1.385 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.559, allocations: 4 kB / 1.385 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.5592, allocations: 67.89 kB / 1.385 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.5602, allocations: 0.5199 MB / 1.385 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.5606, allocations: 138.7 kB / 1.385 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.5606, allocations: 0 / 1.385 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.5609, allocations: 119.3 kB / 1.386 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.5609, allocations: 224 / 1.386 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0005985/0.5615, allocations: 229.3 kB / 1.386 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.5615, allocations: 59.34 kB / 1.386 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006205/0.5622, allocations: 480.6 kB / 1.386 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.5622, allocations: 33.7 kB / 1.386 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.5623, allocations: 164.4 kB / 1.387 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.5624, allocations: 39.55 kB / 1.387 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/0.5624, allocations: 4 kB / 1.387 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5626, allocations: 350.8 kB / 1.387 GB, free: 9.898 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.5628, allocations: 120.5 kB / 1.387 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.563, allocations: 147.6 kB / 1.387 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.5633, allocations: 132.9 kB / 1.387 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5633, allocations: 8 kB / 1.387 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006146/0.5639, allocations: 365 kB / 1.388 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.564, allocations: 4 kB / 1.388 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.564, allocations: 3.953 kB / 1.388 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.564, allocations: 4 kB / 1.388 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.5643, allocations: 51.84 kB / 1.388 GB, free: 9.062 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.5643, allocations: 4 kB / 1.388 GB, free: 9.059 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.5645, allocations: 19.91 kB / 1.388 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.5645, allocations: 19.98 kB / 1.388 GB, free: 9.02 MB / 0.8855 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,intEqu.u1,intEqu.u2,intEqu.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.0002137/0.5648, allocations: 185.5 kB / 1.388 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.5648, allocations: 27.62 kB / 1.388 GB, free: 8.801 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004368/0.5653, allocations: 207.5 kB / 1.388 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.5653, allocations: 7.953 kB / 1.388 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5653, allocations: 0 / 1.388 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.5653, allocations: 7.984 kB / 1.388 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.5656, allocations: 313.3 kB / 1.388 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.5656, allocations: 0 / 1.388 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.889e-05/0.5657, allocations: 15.98 kB / 1.388 GB, free: 8.195 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.5657, allocations: 4 kB / 1.388 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.5658, allocations: 7.938 kB / 1.388 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5658, allocations: 0 / 1.388 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5658, allocations: 7.938 kB / 1.388 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.5662, allocations: 220.6 kB / 1.389 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.5663, allocations: 116.7 kB / 1.389 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.5663, allocations: 0 / 1.389 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.5664, allocations: 12 kB / 1.389 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/0.5665, allocations: 23.92 kB / 1.389 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.5666, allocations: 8 kB / 1.389 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003601/0.5669, allocations: 323.1 kB / 1.389 GB, free: 7.453 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5669, allocations: 0 / 1.389 GB, free: 7.453 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000335/0.5673, allocations: 75.84 kB / 1.389 GB, free: 7.379 MB / 0.8855 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,intEqu.u1,intEqu.u2,intEqu.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 (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.001055/0.5683, allocations: 449.1 kB / 1.39 GB, free: 7.094 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004209/0.5688, allocations: 199.8 kB / 1.39 GB, free: 6.898 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5688, allocations: 0 / 1.39 GB, free: 6.898 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.5689, allocations: 71.84 kB / 1.39 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.5694, allocations: 80.95 kB / 1.39 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009972/0.5704, allocations: 0.5952 MB / 1.391 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.5707, allocations: 0.7952 MB / 1.391 GB, free: 5.309 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001797/0.5709, allocations: 62.92 kB / 1.391 GB, free: 5.246 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.954e-05/0.571, allocations: 35.42 kB / 1.391 GB, free: 5.211 MB / 0.8855 GB Notification: Performance of SimCode: time 3.2e-07/0.571, allocations: 0 / 1.391 GB, free: 5.211 MB / 0.8855 GB Notification: Performance of Templates: time 0.008517/0.5796, allocations: 3.951 MB / 1.395 GB, free: 1.293 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches