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.359/2.359, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001017/0.001017, allocations: 176.9 kB / 487.4 MB, free: 5.055 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.596/1.596, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009321/0.0009325, allocations: 91.47 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.796e-05/1.798e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.2997, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.101/1.4, allocations: 152.6 MB / 1.355 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/1.401, allocations: 85.94 kB / 1.355 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02719/1.428, allocations: 11.03 MB / 1.366 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.393e-06/1.428, allocations: 0 / 1.366 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.388e-05/1.428, allocations: 7.641 kB / 1.366 GB, free: 33.61 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.0009075/1.429, allocations: 0.527 MB / 1.366 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/1.429, allocations: 12.22 kB / 1.366 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/1.429, allocations: 31.12 kB / 1.366 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007299/1.43, allocations: 398.4 kB / 1.367 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/1.43, allocations: 7.156 kB / 1.367 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/1.43, allocations: 6.547 kB / 1.367 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001306/1.43, allocations: 60.14 kB / 1.367 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/1.43, allocations: 98.86 kB / 1.367 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/1.43, allocations: 0 / 1.367 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/1.43, allocations: 0 / 1.367 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/1.43, allocations: 0 / 1.367 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007614/1.431, allocations: 0.4897 MB / 1.367 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/1.431, allocations: 122.8 kB / 1.368 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/1.431, allocations: 41.44 kB / 1.368 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/1.431, allocations: 7.969 kB / 1.368 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/1.431, allocations: 110.2 kB / 1.368 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/1.431, allocations: 0 / 1.368 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002903/1.432, allocations: 172 kB / 1.368 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/1.432, allocations: 51.41 kB / 1.368 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005172/1.432, allocations: 459 kB / 1.368 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/1.432, allocations: 25.7 kB / 1.368 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/1.432, allocations: 176 kB / 1.369 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/1.432, allocations: 26.42 kB / 1.369 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/1.432, allocations: 0 / 1.369 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.433, allocations: 350.8 kB / 1.369 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/1.433, allocations: 106.5 kB / 1.369 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/1.433, allocations: 148.3 kB / 1.369 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/1.433, allocations: 133.5 kB / 1.369 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.433, allocations: 0 / 1.369 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005483/1.434, allocations: 355.1 kB / 1.37 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.434, allocations: 10.06 kB / 1.37 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/1.434, allocations: 0 / 1.37 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/1.434, allocations: 7.844 kB / 1.37 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/1.434, allocations: 51.86 kB / 1.37 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/1.434, allocations: 3.953 kB / 1.37 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/1.434, allocations: 22.45 kB / 1.37 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/1.434, allocations: 15.22 kB / 1.37 GB, free: 31.71 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.852e-05/1.434, allocations: 114 kB / 1.37 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/1.434, allocations: 30.88 kB / 1.37 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/1.435, allocations: 194.2 kB / 1.37 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/1.435, allocations: 0 / 1.37 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.435, allocations: 4 kB / 1.37 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.435, allocations: 3.953 kB / 1.37 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/1.435, allocations: 280.9 kB / 1.37 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.435, allocations: 0 / 1.37 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.528e-05/1.435, allocations: 15.08 kB / 1.37 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/1.435, allocations: 3.812 kB / 1.37 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/1.435, allocations: 0 / 1.37 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.435, allocations: 0 / 1.37 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.435, allocations: 0 / 1.37 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/1.435, allocations: 221.8 kB / 1.371 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.14e-05/1.435, allocations: 118.7 kB / 1.371 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/1.435, allocations: 7.781 kB / 1.371 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/1.436, allocations: 7.109 kB / 1.371 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/1.436, allocations: 20.64 kB / 1.371 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/1.436, allocations: 6.734 kB / 1.371 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002669/1.436, allocations: 295.4 kB / 1.371 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.436, allocations: 0 / 1.371 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003121/1.436, allocations: 73.17 kB / 1.371 GB, free: 31.07 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.0007333/1.437, allocations: 367.6 kB / 1.371 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002465/1.437, allocations: 183.8 kB / 1.372 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.437, allocations: 3.844 kB / 1.372 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.148e-05/1.437, allocations: 58.56 kB / 1.372 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/1.438, allocations: 86.05 kB / 1.372 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005927/1.438, allocations: 420.1 kB / 1.372 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/1.439, allocations: 0.805 MB / 1.373 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001529/1.439, allocations: 58.69 kB / 1.373 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/1.439, allocations: 33.14 kB / 1.373 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.439, allocations: 0 / 1.373 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of Templates: time 0.00661/1.446, allocations: 3.681 MB / 1.377 GB, free: 29.55 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