Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.426/1.426, allocations: 249.5 MB / 257 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 172.9 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.3 MB / 0.5671 GB, free: 15.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000945/0.0009451, allocations: 92.06 kB / 0.6714 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.004e-05/2.005e-05, allocations: 7.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2574, allocations: 106.3 MB / 0.8852 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8167/1.074, allocations: 135.5 MB / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/1.074, allocations: 79.11 kB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02768/1.102, allocations: 10.51 MB / 1.028 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.262e-06/1.102, allocations: 0 / 1.028 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.405e-05/1.102, allocations: 4 kB / 1.028 GB, free: 9.426 MB / 0.6511 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.0006765/1.103, allocations: 0.5112 MB / 1.028 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/1.103, allocations: 12.03 kB / 1.028 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.673e-05/1.103, allocations: 35.53 kB / 1.028 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006089/1.104, allocations: 380.2 kB / 1.029 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/1.104, allocations: 4 kB / 1.029 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/1.104, allocations: 4 kB / 1.029 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001469/1.104, allocations: 59.84 kB / 1.029 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/1.104, allocations: 95.98 kB / 1.029 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.104, allocations: 0 / 1.029 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/1.104, allocations: 0 / 1.029 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/1.104, allocations: 4 kB / 1.029 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007172/1.105, allocations: 478.5 kB / 1.029 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/1.105, allocations: 129.7 kB / 1.03 GB, free: 7.809 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.904e-05/1.105, allocations: 41.72 kB / 1.03 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/1.105, allocations: 11.98 kB / 1.03 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/1.105, allocations: 98.64 kB / 1.03 GB, free: 7.676 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/1.105, allocations: 0 / 1.03 GB, free: 7.676 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0003414/1.106, allocations: 173.2 kB / 1.03 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/1.106, allocations: 54.28 kB / 1.03 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004832/1.106, allocations: 441.5 kB / 1.03 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/1.106, allocations: 28.89 kB / 1.03 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/1.106, allocations: 169.3 kB / 1.031 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/1.106, allocations: 42.42 kB / 1.031 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/1.107, allocations: 0 / 1.031 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.107, allocations: 345.2 kB / 1.031 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/1.107, allocations: 108.3 kB / 1.031 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/1.107, allocations: 136.2 kB / 1.031 GB, free: 6.422 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/1.107, allocations: 112.7 kB / 1.031 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.107, allocations: 4 kB / 1.031 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004564/1.108, allocations: 337 kB / 1.032 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.108, allocations: 4 kB / 1.032 GB, free: 6.078 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/1.108, allocations: 4 kB / 1.032 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.108, allocations: 0 / 1.032 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/1.108, allocations: 51.91 kB / 1.032 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/1.108, allocations: 0 / 1.032 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/1.108, allocations: 27.94 kB / 1.032 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/1.108, allocations: 15.56 kB / 1.032 GB, free: 5.984 MB / 0.6511 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 () * 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.0001075/1.108, allocations: 126.2 kB / 1.032 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/1.108, allocations: 31.62 kB / 1.032 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003204/1.109, allocations: 179.9 kB / 1.032 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.109, allocations: 4 kB / 1.032 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.109, allocations: 0 / 1.032 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.109, allocations: 0 / 1.032 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/1.109, allocations: 279.6 kB / 1.032 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.109, allocations: 4 kB / 1.032 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.881e-05/1.109, allocations: 19.92 kB / 1.032 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.109, allocations: 0 / 1.032 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/1.109, allocations: 7.125 kB / 1.032 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.109, allocations: 0 / 1.032 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.109, allocations: 0 / 1.032 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/1.109, allocations: 203.2 kB / 1.033 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/1.11, allocations: 119.9 kB / 1.033 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/1.11, allocations: 4 kB / 1.033 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/1.11, allocations: 7.984 kB / 1.033 GB, free: 5.047 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/1.11, allocations: 19.78 kB / 1.033 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/1.11, allocations: 6.812 kB / 1.033 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002728/1.11, allocations: 289.1 kB / 1.033 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.11, allocations: 0 / 1.033 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002925/1.11, allocations: 59.92 kB / 1.033 GB, free: 4.75 MB / 0.6511 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) * 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.0008516/1.111, allocations: 367.3 kB / 1.033 GB, free: 4.473 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002714/1.111, allocations: 182.6 kB / 1.034 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.112, allocations: 0 / 1.034 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.253e-05/1.112, allocations: 63.34 kB / 1.034 GB, free: 4.297 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/1.112, allocations: 80.36 kB / 1.034 GB, free: 4.238 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006737/1.113, allocations: 422.5 kB / 1.034 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/1.113, allocations: 0.7893 MB / 1.035 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001432/1.113, allocations: 51.25 kB / 1.035 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/1.113, allocations: 38.36 kB / 1.035 GB, free: 2.965 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/1.113, allocations: 0 / 1.035 GB, free: 2.965 MB / 0.6511 GB Notification: Performance of Templates: time 0.007071/1.12, allocations: 3.495 MB / 1.038 GB, free: 15.51 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches