Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [: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 9.1.1-maint.9.1.x/package.mo): time 1.774/1.774, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.0009738/0.0009738, allocations: 185.2 kB / 487 MB, free: 5.355 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.141/1.141, allocations: 221.3 MB / 0.7819 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008039/0.0008039, allocations: 87.48 kB / 0.9213 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 4.819e-06/4.839e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1773, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5117/0.6891, allocations: 149.2 MB / 1.351 GB, free: 16.23 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.6893, allocations: 76.14 kB / 1.351 GB, free: 16.23 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.003398/0.6927, allocations: 1.099 MB / 1.352 GB, free: 16.16 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.6927, allocations: 1.406 kB / 1.352 GB, free: 16.16 MB / 0.8073 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.000291/0.693, allocations: 347.5 kB / 1.352 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.6931, allocations: 8.438 kB / 1.352 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.6931, allocations: 8.172 kB / 1.352 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.695e-05/0.6932, allocations: 170.8 kB / 1.353 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.6932, allocations: 1.875 kB / 1.353 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.6933, allocations: 3.688 kB / 1.353 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.21e-05/0.6933, allocations: 21.86 kB / 1.353 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.399e-05/0.6934, allocations: 50.22 kB / 1.353 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.6934, allocations: 0 / 1.353 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.6934, allocations: 1.188 kB / 1.353 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.6934, allocations: 1 kB / 1.353 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.6938, allocations: 273.8 kB / 1.353 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.108e-05/0.6939, allocations: 51.06 kB / 1.353 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/0.6939, allocations: 29.3 kB / 1.353 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.6939, allocations: 0 / 1.353 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.731e-05/0.694, allocations: 64.23 kB / 1.353 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.694, allocations: 1.375 kB / 1.353 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001391/0.6942, allocations: 73.08 kB / 1.353 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.6942, allocations: 54.56 kB / 1.353 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.159e-05/0.6942, allocations: 99.08 kB / 1.353 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.6943, allocations: 31.08 kB / 1.353 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.933e-05/0.6943, allocations: 90.14 kB / 1.353 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.6943, allocations: 22.56 kB / 1.353 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.6943, allocations: 0 / 1.353 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.999e-05/0.6944, allocations: 317.2 kB / 1.354 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.652e-05/0.6944, allocations: 13.19 kB / 1.354 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.162e-05/0.6944, allocations: 43.83 kB / 1.354 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.471e-05/0.6945, allocations: 26.86 kB / 1.354 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6945, allocations: 0 / 1.354 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001088/0.6946, allocations: 78.77 kB / 1.354 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.6946, allocations: 5.75 kB / 1.354 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6946, allocations: 3.906 kB / 1.354 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.6946, allocations: 5.125 kB / 1.354 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.819e-05/0.6947, allocations: 10.94 kB / 1.354 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.6947, allocations: 2.031 kB / 1.354 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.561e-05/0.6948, allocations: 11.3 kB / 1.354 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.6948, allocations: 6.75 kB / 1.354 GB, free: 14.52 MB / 0.8073 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/0.6949, allocations: 111.4 kB / 1.354 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.6949, allocations: 6.156 kB / 1.354 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.6949, allocations: 10.61 kB / 1.354 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.6949, allocations: 1.031 kB / 1.354 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6949, allocations: 1 kB / 1.354 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6949, allocations: 0 / 1.354 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.6953, allocations: 330.5 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.6953, allocations: 1.688 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.6953, allocations: 6.875 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.6953, allocations: 0.75 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.6953, allocations: 10.56 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.6953, allocations: 2.031 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6953, allocations: 0 / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001004/0.6954, allocations: 167.7 kB / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.6955, allocations: 79.67 kB / 1.355 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.6955, allocations: 5.688 kB / 1.355 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.695e-05/0.6956, allocations: 11.14 kB / 1.355 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.6956, allocations: 10.2 kB / 1.355 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.6956, allocations: 7.953 kB / 1.355 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.024e-05/0.6957, allocations: 87.2 kB / 1.355 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002119/0.6959, allocations: 10.09 kB / 1.355 GB, free: 13.79 MB / 0.8073 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 () * 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 (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 7.98e-05/0.696, allocations: 108.4 kB / 1.355 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.6961, allocations: 47.53 kB / 1.355 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6961, allocations: 4.062 kB / 1.355 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.609e-05/0.6961, allocations: 23.16 kB / 1.355 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.6963, allocations: 6.453 kB / 1.355 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002024/0.6965, allocations: 86.89 kB / 1.355 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.6967, allocations: 0.7037 MB / 1.356 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of SimCode: time 2.41e-07/0.6967, allocations: 0 / 1.356 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of Templates: time 0.002713/0.6994, allocations: 0.7133 MB / 1.356 GB, free: 12.84 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","../files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches