Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.001124/0.001124, allocations: 184.1 kB / 492.3 MB, free: 0.625 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.626/1.626, allocations: 221.3 MB / 0.7872 GB, free: 12.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.0009685/0.0009685, allocations: 101.2 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.437e-05/3.439e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2787, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8956/1.174, allocations: 149.6 MB / 1.358 GB, free: 19.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/1.175, allocations: 75.81 kB / 1.359 GB, free: 19.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01022/1.185, allocations: 3.368 MB / 1.362 GB, free: 34.72 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.984e-06/1.185, allocations: 0 / 1.362 GB, free: 34.72 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.468e-06/1.185, allocations: 0 / 1.362 GB, free: 34.72 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005386/1.185, allocations: 462 kB / 1.362 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.186, allocations: 19.53 kB / 1.362 GB, free: 34.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.403e-05/1.186, allocations: 17.53 kB / 1.362 GB, free: 34.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.725e-05/1.186, allocations: 176.6 kB / 1.362 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/1.186, allocations: 12.11 kB / 1.362 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/1.186, allocations: 20.39 kB / 1.363 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/1.186, allocations: 127.4 kB / 1.363 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.186, allocations: 11.72 kB / 1.363 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/1.186, allocations: 14.8 kB / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.186, allocations: 3.844 kB / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/1.186, allocations: 56 kB / 1.363 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008205/1.187, allocations: 0.5547 MB / 1.363 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/1.187, allocations: 155.6 kB / 1.363 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.741e-05/1.187, allocations: 70.53 kB / 1.363 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/1.187, allocations: 0 / 1.363 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/1.188, allocations: 208.4 kB / 1.364 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/1.188, allocations: 0 / 1.364 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.0003972/1.188, allocations: 244.9 kB / 1.364 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/1.188, allocations: 93.17 kB / 1.364 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/1.188, allocations: 119.7 kB / 1.364 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/1.188, allocations: 41.38 kB / 1.364 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/1.188, allocations: 101.5 kB / 1.364 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/1.188, allocations: 48.25 kB / 1.364 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/1.189, allocations: 10.75 kB / 1.364 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.189, allocations: 322.6 kB / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/1.189, allocations: 94.28 kB / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/1.189, allocations: 146.7 kB / 1.365 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/1.189, allocations: 151.4 kB / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.189, allocations: 3.938 kB / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004874/1.19, allocations: 356.7 kB / 1.365 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/1.19, allocations: 75.97 kB / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/1.19, allocations: 0 / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.19, allocations: 3.812 kB / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.869e-05/1.19, allocations: 17.86 kB / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/1.19, allocations: 3.875 kB / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003527/1.19, allocations: 95.59 kB / 1.366 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/1.19, allocations: 25.44 kB / 1.366 GB, free: 32.46 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001047/1.19, allocations: 135.2 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/1.19, allocations: 13.17 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/1.19, allocations: 17.33 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.19, allocations: 3.875 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.19, allocations: 0 / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/1.19, allocations: 5.109 kB / 1.366 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/1.191, allocations: 0.6229 MB / 1.366 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/1.191, allocations: 4 kB / 1.366 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/1.191, allocations: 14.61 kB / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.191, allocations: 0 / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/1.191, allocations: 9.922 kB / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/1.191, allocations: 0 / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.191, allocations: 0 / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/1.191, allocations: 430.3 kB / 1.367 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/1.191, allocations: 96.05 kB / 1.367 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/1.191, allocations: 10.38 kB / 1.367 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/1.192, allocations: 13.41 kB / 1.367 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/1.192, allocations: 33.72 kB / 1.367 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/1.192, allocations: 17.88 kB / 1.367 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.33e-05/1.192, allocations: 93.94 kB / 1.367 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.192, allocations: 96 / 1.367 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003241/1.192, allocations: 67.66 kB / 1.367 GB, free: 31.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000193/1.192, allocations: 128 kB / 1.367 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004108/1.193, allocations: 355.8 kB / 1.368 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.193, allocations: 0 / 1.368 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/1.193, allocations: 114.1 kB / 1.368 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/1.193, allocations: 19.67 kB / 1.368 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/1.194, allocations: 205.6 kB / 1.368 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/1.194, allocations: 0.7151 MB / 1.369 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.703e-05/1.194, allocations: 16.38 kB / 1.369 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/1.194, allocations: 16.59 kB / 1.369 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/1.194, allocations: 0 / 1.369 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of Templates: time 0.0047/1.199, allocations: 2.482 MB / 1.371 GB, free: 30.25 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches