Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009901/0.0009901, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9609/0.9609, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.752/1.752, allocations: 359 MB / 0.6055 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.787 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.416e-05, allocations: 3.094 kB / 0.787 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002639/0.002663, allocations: 1.531 MB / 0.7885 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008595/0.003522, allocations: 465 kB / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.003576, allocations: 0 / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.003612, allocations: 7.922 kB / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.003713, allocations: 5 kB / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.003905, allocations: 19.92 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.004024, allocations: 59.77 kB / 0.7891 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.004151, allocations: 17.48 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.004253, allocations: 23.98 kB / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.284e-05/0.004336, allocations: 23.89 kB / 0.7891 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.004366, allocations: 8 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.004379, allocations: 5.562 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.533e-05/0.004404, allocations: 4 kB / 0.7892 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.004458, allocations: 19.92 kB / 0.7892 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.00458, allocations: 27.95 kB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004583, allocations: 0 / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004583, allocations: 1.062 kB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.004589, allocations: 0 / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005677/0.005157, allocations: 389.1 kB / 0.7896 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.005212, allocations: 9.188 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/0.005269, allocations: 12.89 kB / 0.7896 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.005399, allocations: 116.5 kB / 0.7897 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.005415, allocations: 10.56 kB / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.005429, allocations: 12.3 kB / 0.7897 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.005534, allocations: 46.25 kB / 0.7898 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.005543, allocations: 192 / 0.7898 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.005556, allocations: 4.375 kB / 0.7898 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.005567, allocations: 3.938 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.71e-05/0.005624, allocations: 25.89 kB / 0.7898 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.006102, allocations: 291.6 kB / 0.7901 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.006217, allocations: 55.08 kB / 0.7901 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.006266, allocations: 27.7 kB / 0.7902 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.006274, allocations: 0.7188 kB / 0.7902 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.00641, allocations: 69.58 kB / 0.7902 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 2.154e-06/0.006413, allocations: 1.656 kB / 0.7902 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002481/0.006661, allocations: 89.61 kB / 0.7903 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.006712, allocations: 55.41 kB / 0.7904 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.006821, allocations: 173.8 kB / 0.7905 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.006837, allocations: 25.7 kB / 0.7906 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.006906, allocations: 139.5 kB / 0.7907 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.006935, allocations: 20.89 kB / 0.7907 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.006988, allocations: 35.36 kB / 0.7907 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.007156, allocations: 492.1 kB / 0.7912 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.608e-05/0.007192, allocations: 17.14 kB / 0.7912 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/0.007252, allocations: 50.67 kB / 0.7913 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.284e-05/0.007344, allocations: 68.06 kB / 0.7913 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.007347, allocations: 0 / 0.7913 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001618/0.007509, allocations: 93.78 kB / 0.7914 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.007528, allocations: 8 kB / 0.7914 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.007534, allocations: 1.75 kB / 0.7914 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.007549, allocations: 0 / 0.7914 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.767e-05/0.007626, allocations: 23.86 kB / 0.7915 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.007634, allocations: 4 kB / 0.7915 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.007673, allocations: 12.98 kB / 0.7915 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.007678, allocations: 4 kB / 0.7915 GB, free: 8.113 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.971e-05/0.007768, allocations: 170.3 kB / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.007787, allocations: 11.95 kB / 0.7917 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.007821, allocations: 16.11 kB / 0.7917 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.007823, allocations: 0 / 0.7917 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.007829, allocations: 1.312 kB / 0.7917 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.007834, allocations: 0 / 0.7917 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.00822, allocations: 349.3 kB / 0.792 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.008223, allocations: 3.031 kB / 0.792 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.008245, allocations: 0 / 0.792 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.008248, allocations: 4 kB / 0.792 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.008259, allocations: 4 kB / 0.792 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.008261, allocations: 0 / 0.792 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.008263, allocations: 0 / 0.792 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.008442, allocations: 235.8 kB / 0.7922 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.008457, allocations: 7.953 kB / 0.7922 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.008473, allocations: 4.484 kB / 0.7923 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.008543, allocations: 5.938 kB / 0.7923 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.008594, allocations: 7.984 kB / 0.7923 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.008602, allocations: 4 kB / 0.7923 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.917e-05/0.008651, allocations: 123.2 kB / 0.7924 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.008651, allocations: 0 / 0.7924 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00029/0.008941, allocations: 15.98 kB / 0.7924 GB, free: 7.113 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.939e-05/0.009041, allocations: 101.8 kB / 0.7925 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.009177, allocations: 55.53 kB / 0.7926 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.009179, allocations: 0 / 0.7926 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.221e-05/0.009231, allocations: 27.69 kB / 0.7926 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.009522, allocations: 12.77 kB / 0.7926 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.009886, allocations: 159.6 kB / 0.7927 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.526e-05/0.009932, allocations: 63.34 kB / 0.7928 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.26e-05/0.009954, allocations: 9.266 kB / 0.7928 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.009985, allocations: 12.5 kB / 0.7928 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of SimCode: time 8.81e-07/0.009986, allocations: 0 / 0.7928 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of Templates: time 0.002276/0.01226, allocations: 0.8257 MB / 0.7936 GB, free: 5.828 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.168891676934436]