Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,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",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,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",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.709/1.709, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.0009355/0.0009356, allocations: 177.3 kB / 490.8 MB, free: 1.961 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.055/1.055, allocations: 221.4 MB / 0.7863 GB, free: 13.75 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.0007994/0.0007994, allocations: 89.61 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.913e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1662, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4523/0.6185, allocations: 149.6 MB / 1.358 GB, free: 17.31 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001617/0.6187, allocations: 69.59 kB / 1.358 GB, free: 17.31 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.005098/0.6238, allocations: 1.773 MB / 1.359 GB, free: 17.21 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.6238, allocations: 5.219 kB / 1.359 GB, free: 17.21 MB / 0.823 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.0004004/0.6242, allocations: 406.1 kB / 1.36 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.6243, allocations: 9.062 kB / 1.36 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.6243, allocations: 9.062 kB / 1.36 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.745e-05/0.6244, allocations: 166.2 kB / 1.36 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.6244, allocations: 3.438 kB / 1.36 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.6245, allocations: 10.38 kB / 1.36 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.32e-05/0.6246, allocations: 36.36 kB / 1.36 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.6247, allocations: 80.66 kB / 1.36 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.6247, allocations: 5.219 kB / 1.36 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.6247, allocations: 2.562 kB / 1.36 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.6247, allocations: 0 / 1.36 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.6252, allocations: 348.8 kB / 1.36 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.6253, allocations: 79.78 kB / 1.361 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.913e-05/0.6254, allocations: 42.42 kB / 1.361 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.6254, allocations: 5.062 kB / 1.361 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/0.6255, allocations: 100.1 kB / 1.361 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.6255, allocations: 0 / 1.361 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002081/0.6257, allocations: 116.4 kB / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.817e-05/0.6258, allocations: 59.56 kB / 1.361 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.685e-05/0.6258, allocations: 105.3 kB / 1.361 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.6258, allocations: 32.75 kB / 1.361 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.6259, allocations: 87.45 kB / 1.361 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.6259, allocations: 28.62 kB / 1.361 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.6259, allocations: 5.875 kB / 1.361 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.521e-05/0.626, allocations: 322.5 kB / 1.361 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.6261, allocations: 45.11 kB / 1.361 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-05/0.6262, allocations: 84.41 kB / 1.362 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.6264, allocations: 63.05 kB / 1.362 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6264, allocations: 0 / 1.362 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003323/0.6267, allocations: 166.3 kB / 1.362 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.086e-06/0.6267, allocations: 6.094 kB / 1.362 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.6268, allocations: 0 / 1.362 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.6268, allocations: 7.672 kB / 1.362 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-05/0.6268, allocations: 17.2 kB / 1.362 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.6269, allocations: 2.797 kB / 1.362 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.6271, allocations: 53.19 kB / 1.362 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.6271, allocations: 8.109 kB / 1.362 GB, free: 31.49 MB / 0.8386 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 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.56e-05/0.6272, allocations: 117 kB / 1.362 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.6272, allocations: 9.594 kB / 1.362 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.6272, allocations: 10.23 kB / 1.362 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.6272, allocations: 5.312 kB / 1.362 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.6272, allocations: 1.953 kB / 1.362 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6272, allocations: 0.7969 kB / 1.362 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.6275, allocations: 360.9 kB / 1.362 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.6275, allocations: 2.156 kB / 1.362 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.6275, allocations: 12.75 kB / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.6275, allocations: 0.875 kB / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.6276, allocations: 7.953 kB / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.6276, allocations: 5 kB / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6276, allocations: 0 / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001749/0.6277, allocations: 219.7 kB / 1.363 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.731e-05/0.6278, allocations: 88.03 kB / 1.363 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.6278, allocations: 4.422 kB / 1.363 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.996e-05/0.6279, allocations: 11.8 kB / 1.363 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.6279, allocations: 16.58 kB / 1.363 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.628, allocations: 11.3 kB / 1.363 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.921e-05/0.628, allocations: 80.67 kB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002447/0.6282, allocations: 33.45 kB / 1.363 GB, free: 30.77 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: 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) * 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 (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.0001213/0.6284, allocations: 120.8 kB / 1.363 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.6286, allocations: 141.8 kB / 1.363 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.6286, allocations: 0 / 1.363 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.901e-05/0.6287, allocations: 70.28 kB / 1.363 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.6289, allocations: 12.64 kB / 1.363 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002387/0.6291, allocations: 126.5 kB / 1.363 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.6293, allocations: 0.7064 MB / 1.364 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.6293, allocations: 0 / 1.364 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of Templates: time 0.003199/0.6325, allocations: 1.565 MB / 1.365 GB, free: 29.71 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches