Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001028/0.001028, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001122/0.001122, allocations: 161 kB / 24.16 MB, free: 332 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.9622/0.9622, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.935/1.935, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.113e-05, allocations: 2.312 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001706/0.001737, allocations: 0.6815 MB / 0.7607 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.003063, allocations: 1.206 MB / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.003117, allocations: 0 / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.003147, allocations: 3.938 kB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.624e-05/0.003234, allocations: 24.89 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.003626, allocations: 140.1 kB / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.003786, allocations: 144.7 kB / 0.7622 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.138e-05/0.003857, allocations: 4 kB / 0.7622 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.003967, allocations: 87.97 kB / 0.7623 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.004074, allocations: 44.52 kB / 0.7623 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.004096, allocations: 9.469 kB / 0.7623 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.785e-05/0.004154, allocations: 27.98 kB / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.393e-05/0.004178, allocations: 15.97 kB / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.634e-05/0.004224, allocations: 35.91 kB / 0.7624 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.004356, allocations: 105 kB / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.004358, allocations: 0 / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004359, allocations: 0 / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.004363, allocations: 5.188 kB / 0.7625 GB, free: 4.125 MB / 0.7136 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.0004087/0.004771, allocations: 314.4 kB / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.004806, allocations: 8.031 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.004847, allocations: 21.42 kB / 0.7628 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.004985, allocations: 134.2 kB / 0.7629 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.005001, allocations: 4.906 kB / 0.7629 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.005023, allocations: 16.36 kB / 0.763 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.966e-05/0.005123, allocations: 84.39 kB / 0.763 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.00513, allocations: 192 / 0.763 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.00514, allocations: 8.359 kB / 0.7631 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.005147, allocations: 384 / 0.7631 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.572e-05/0.005182, allocations: 28.95 kB / 0.7631 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.005464, allocations: 200.9 kB / 0.7633 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.496e-05/0.005559, allocations: 55.31 kB / 0.7633 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.005584, allocations: 24.84 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.00559, allocations: 0.75 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.005725, allocations: 128.6 kB / 0.7635 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.005727, allocations: 0 / 0.7635 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0001627/0.005889, allocations: 121.6 kB / 0.7636 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.005922, allocations: 63.39 kB / 0.7636 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.258e-05/0.005985, allocations: 120.4 kB / 0.7638 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.006006, allocations: 33.7 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.006041, allocations: 91.95 kB / 0.7639 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.006062, allocations: 27.83 kB / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.006115, allocations: 45.67 kB / 0.764 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.476e-05/0.006189, allocations: 326 kB / 0.7643 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.116e-05/0.006241, allocations: 53.69 kB / 0.7643 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.507e-05/0.006306, allocations: 103.5 kB / 0.7644 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.424e-05/0.00639, allocations: 109.9 kB / 0.7645 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006392, allocations: 4 kB / 0.7645 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001477/0.00654, allocations: 195 kB / 0.7647 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.006568, allocations: 41.69 kB / 0.7647 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.006573, allocations: 0 / 0.7647 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.006586, allocations: 3.938 kB / 0.7647 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.104e-05/0.006637, allocations: 19.94 kB / 0.7648 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.006641, allocations: 3.984 kB / 0.7648 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.7e-05/0.006738, allocations: 33.27 kB / 0.7648 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.006751, allocations: 7.984 kB / 0.7648 GB, free: 1.531 MB / 0.7136 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 6.803e-05/0.006819, allocations: 119.4 kB / 0.7649 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.006835, allocations: 15.98 kB / 0.7649 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.006866, allocations: 13.72 kB / 0.765 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.00687, allocations: 3.938 kB / 0.765 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.006872, allocations: 0 / 0.765 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.006876, allocations: 3.984 kB / 0.765 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.007069, allocations: 255.2 kB / 0.7652 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.007071, allocations: 0.7812 kB / 0.7652 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.173e-05/0.007092, allocations: 4 kB / 0.7652 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.007094, allocations: 0.6562 kB / 0.7652 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.007102, allocations: 7.922 kB / 0.7652 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.007106, allocations: 4.625 kB / 0.7652 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.007107, allocations: 2.938 kB / 0.7652 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.007219, allocations: 195.4 kB / 0.7654 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.007229, allocations: 7.938 kB / 0.7654 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.007246, allocations: 7.922 kB / 0.7654 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.24e-05/0.007299, allocations: 7.984 kB / 0.7654 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.007333, allocations: 11.98 kB / 0.7654 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.007339, allocations: 7.984 kB / 0.7655 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.54e-05/0.007355, allocations: 21.16 kB / 0.7655 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.007355, allocations: 3.125 kB / 0.7655 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001601/0.007515, allocations: 39.94 kB / 0.7655 GB, free: 0.7656 MB / 0.7136 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.0001203/0.007635, allocations: 88.34 kB / 0.7656 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001648/0.0078, allocations: 181.8 kB / 0.7658 GB, free: 484 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.007803, allocations: 0 / 0.7658 GB, free: 484 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.701e-05/0.00785, allocations: 46.2 kB / 0.7658 GB, free: 436 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.007986, allocations: 12.31 kB / 0.7658 GB, free: 424 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002796/0.008266, allocations: 186.5 kB / 0.766 GB, free: 212 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.55e-05/0.008301, allocations: 63.34 kB / 0.7661 GB, free: 128 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.899e-05/0.00833, allocations: 9.797 kB / 0.7661 GB, free: 120 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.008406, allocations: 72.39 kB / 0.7661 GB, free: 48 kB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/0.008406, allocations: 0 / 0.7661 GB, free: 48 kB / 0.7136 GB Notification: Performance of Templates: time 0.003676/0.01208, allocations: 1.867 MB / 0.768 GB, free: 14.29 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.19986861012876]