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.212/2.212, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.0009819/0.0009819, allocations: 176.9 kB / 492.3 MB, free: 0.6211 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.542/1.542, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.000996/0.0009962, allocations: 99.66 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.14e-05/6.152e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3164, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.358, allocations: 153.3 MB / 1.362 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/1.359, allocations: 81.11 kB / 1.362 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02693/1.385, allocations: 11.12 MB / 1.373 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.242e-06/1.386, allocations: 0 / 1.373 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.441e-05/1.386, allocations: 11.55 kB / 1.373 GB, free: 34.25 MB / 0.8386 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.0006911/1.386, allocations: 0.5242 MB / 1.374 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.386, allocations: 10.67 kB / 1.374 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.284e-05/1.386, allocations: 31 kB / 1.374 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000641/1.387, allocations: 401.1 kB / 1.374 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/1.387, allocations: 3.812 kB / 1.374 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/1.387, allocations: 9.062 kB / 1.374 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/1.387, allocations: 111.1 kB / 1.374 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.387, allocations: 0 / 1.374 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/1.387, allocations: 4 kB / 1.374 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/1.387, allocations: 0 / 1.374 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/1.387, allocations: 60.91 kB / 1.374 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008058/1.388, allocations: 0.5164 MB / 1.375 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/1.389, allocations: 138.4 kB / 1.375 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.057e-05/1.389, allocations: 49.62 kB / 1.375 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/1.389, allocations: 0 / 1.375 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/1.389, allocations: 109 kB / 1.375 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/1.389, allocations: 4 kB / 1.375 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0003387/1.389, allocations: 180.4 kB / 1.375 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/1.389, allocations: 59.22 kB / 1.375 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005224/1.39, allocations: 469.1 kB / 1.376 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/1.39, allocations: 33.39 kB / 1.376 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/1.39, allocations: 166.7 kB / 1.376 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/1.39, allocations: 35.98 kB / 1.376 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/1.39, allocations: 3.25 kB / 1.376 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.39, allocations: 354.1 kB / 1.376 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/1.39, allocations: 117.8 kB / 1.376 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/1.39, allocations: 143.2 kB / 1.376 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/1.391, allocations: 122.2 kB / 1.377 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.391, allocations: 3.812 kB / 1.377 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000515/1.391, allocations: 356.9 kB / 1.377 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.391, allocations: 3.938 kB / 1.377 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.391, allocations: 4 kB / 1.377 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/1.391, allocations: 7.797 kB / 1.377 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/1.392, allocations: 55.27 kB / 1.377 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/1.392, allocations: 0 / 1.377 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/1.392, allocations: 24.34 kB / 1.377 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/1.392, allocations: 16.97 kB / 1.377 GB, free: 32.34 MB / 0.8386 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 9.358e-05/1.392, allocations: 123.6 kB / 1.377 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/1.392, allocations: 31.12 kB / 1.377 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/1.392, allocations: 206.9 kB / 1.377 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.392, allocations: 3.953 kB / 1.377 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.392, allocations: 0 / 1.377 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.392, allocations: 0 / 1.377 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/1.393, allocations: 305.7 kB / 1.378 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.393, allocations: 3.875 kB / 1.378 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.616e-05/1.393, allocations: 14.28 kB / 1.378 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.393, allocations: 0 / 1.378 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/1.393, allocations: 6.5 kB / 1.378 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/1.393, allocations: 7.812 kB / 1.378 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.393, allocations: 3.953 kB / 1.378 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/1.393, allocations: 210.7 kB / 1.378 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/1.393, allocations: 121.6 kB / 1.378 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/1.393, allocations: 9.859 kB / 1.378 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.747e-05/1.393, allocations: 3.844 kB / 1.378 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/1.393, allocations: 19.92 kB / 1.378 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/1.393, allocations: 15.36 kB / 1.378 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003069/1.394, allocations: 316.8 kB / 1.378 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.394, allocations: 0 / 1.378 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003031/1.394, allocations: 73.16 kB / 1.378 GB, free: 31.64 MB / 0.8386 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.0009681/1.395, allocations: 397.4 kB / 1.379 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003283/1.395, allocations: 195.4 kB / 1.379 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.395, allocations: 4.125 kB / 1.379 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/1.395, allocations: 66.61 kB / 1.379 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/1.396, allocations: 76.66 kB / 1.379 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007829/1.397, allocations: 430.1 kB / 1.38 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/1.397, allocations: 0.7969 MB / 1.38 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001589/1.397, allocations: 59.84 kB / 1.38 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/1.397, allocations: 32.23 kB / 1.38 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/1.397, allocations: 4 kB / 1.38 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of Templates: time 0.007176/1.405, allocations: 3.964 MB / 1.384 GB, free: 28.88 MB / 0.8386 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