Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.001202/0.001202, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001548/0.001548, allocations: 181 kB / 24.09 MB, free: 420 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.9284/0.9284, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.727/1.727, allocations: 359 MB / 0.6055 GB, free: 10.9 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.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.328e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001251/0.001274, allocations: 0.6709 MB / 0.7882 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.002516, allocations: 1.204 MB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.002568, allocations: 0 / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.002597, allocations: 7.938 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.147e-05/0.002678, allocations: 16.92 kB / 0.7894 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.003079, allocations: 145.1 kB / 0.7896 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.003239, allocations: 143.7 kB / 0.7897 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.479e-05/0.003324, allocations: 4 kB / 0.7897 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.00345, allocations: 89.14 kB / 0.7898 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.003564, allocations: 39.92 kB / 0.7898 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.00359, allocations: 12.91 kB / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.579e-05/0.003656, allocations: 23.98 kB / 0.7899 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.003683, allocations: 19.91 kB / 0.7899 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.774e-05/0.003731, allocations: 36.78 kB / 0.7899 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.003873, allocations: 107.7 kB / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003875, allocations: 2.469 kB / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.003875, allocations: 0 / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.003879, allocations: 0 / 0.79 GB, free: 9.668 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004306/0.00431, allocations: 442.1 kB / 0.7904 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.004345, allocations: 8.031 kB / 0.7905 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.004387, allocations: 20.89 kB / 0.7905 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.004507, allocations: 130.3 kB / 0.7906 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.004521, allocations: 12.38 kB / 0.7906 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.00454, allocations: 12.31 kB / 0.7906 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.412e-05/0.004634, allocations: 82.89 kB / 0.7907 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.004639, allocations: 4.781 kB / 0.7907 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.004648, allocations: 4.359 kB / 0.7907 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.004652, allocations: 1.094 kB / 0.7907 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.004687, allocations: 27.91 kB / 0.7907 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.005005, allocations: 326.3 kB / 0.7911 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.005106, allocations: 63.03 kB / 0.7911 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.005133, allocations: 27.67 kB / 0.7911 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.005141, allocations: 4.594 kB / 0.7911 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.005273, allocations: 127 kB / 0.7913 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.005275, allocations: 0 / 0.7913 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0002437/0.005518, allocations: 169.6 kB / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.00555, allocations: 56.78 kB / 0.7915 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.005633, allocations: 177.8 kB / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.005655, allocations: 37.69 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.005708, allocations: 134.9 kB / 0.7918 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.005731, allocations: 29.53 kB / 0.7918 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.005788, allocations: 51.33 kB / 0.7919 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.005909, allocations: 0.4923 MB / 0.7924 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.005971, allocations: 69.61 kB / 0.7924 GB, free: 7 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.286e-05/0.006043, allocations: 104.1 kB / 0.7925 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.882e-05/0.006142, allocations: 131 kB / 0.7927 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006144, allocations: 0 / 0.7927 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001957/0.00634, allocations: 229 kB / 0.7929 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.006365, allocations: 33.7 kB / 0.7929 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.006372, allocations: 7.938 kB / 0.7929 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.158e-06/0.006382, allocations: 0 / 0.7929 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.901e-05/0.006431, allocations: 19.98 kB / 0.7929 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.006435, allocations: 3.938 kB / 0.7929 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.584e-05/0.00653, allocations: 32.36 kB / 0.793 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.006544, allocations: 12.53 kB / 0.793 GB, free: 6.367 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.057e-05/0.006625, allocations: 179 kB / 0.7932 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.00664, allocations: 11.95 kB / 0.7932 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/0.006665, allocations: 20.38 kB / 0.7932 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.006667, allocations: 0 / 0.7932 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.006669, allocations: 2.594 kB / 0.7932 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.006673, allocations: 3.984 kB / 0.7932 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.006906, allocations: 374 kB / 0.7935 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.006907, allocations: 0 / 0.7935 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.506e-05/0.006922, allocations: 8 kB / 0.7936 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.006925, allocations: 4 kB / 0.7936 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.006933, allocations: 11.86 kB / 0.7936 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.006934, allocations: 0.5312 kB / 0.7936 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.006934, allocations: 0.875 kB / 0.7936 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.007096, allocations: 306.4 kB / 0.7939 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-06/0.007104, allocations: 12.7 kB / 0.7939 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.007121, allocations: 11.92 kB / 0.7939 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.433e-05/0.007166, allocations: 9.266 kB / 0.7939 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.007198, allocations: 11.98 kB / 0.7939 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.007207, allocations: 7.984 kB / 0.7939 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.241e-05/0.007249, allocations: 131.2 kB / 0.794 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007249, allocations: 0.8438 kB / 0.794 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001768/0.007426, allocations: 28 kB / 0.7941 GB, free: 5.207 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 0.0001039/0.00753, allocations: 116.4 kB / 0.7942 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001723/0.007702, allocations: 195.5 kB / 0.7944 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.007704, allocations: 0 / 0.7944 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.893e-05/0.007753, allocations: 48.66 kB / 0.7944 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.007924, allocations: 23.97 kB / 0.7944 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.008158, allocations: 183.5 kB / 0.7946 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.883e-05/0.008197, allocations: 67.28 kB / 0.7947 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.706e-05/0.008224, allocations: 14.95 kB / 0.7947 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/0.008305, allocations: 94.19 kB / 0.7948 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/0.008306, allocations: 0 / 0.7948 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of Templates: time 0.003289/0.01159, allocations: 1.911 MB / 0.7966 GB, free: 2.539 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.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: 4.8558435081504285]