Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [: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.744/1.744, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009311/0.0009312, allocations: 183.8 kB / 487 MB, free: 5.402 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.088/1.088, allocations: 221.3 MB / 0.7819 GB, free: 1.461 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.0008329/0.0008327, allocations: 105.6 kB / 0.9213 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.33e-06/5.34e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1654, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4534/0.6189, allocations: 149.2 MB / 1.351 GB, free: 16.19 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.6191, allocations: 87.27 kB / 1.351 GB, free: 16.18 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.004464/0.6236, allocations: 1.497 MB / 1.352 GB, free: 16.09 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.6236, allocations: 1.375 kB / 1.352 GB, free: 16.09 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004924/0.6241, allocations: 428.3 kB / 1.353 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.6242, allocations: 14.16 kB / 1.353 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.6242, allocations: 14.08 kB / 1.353 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.564e-05/0.6243, allocations: 178.6 kB / 1.353 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.6243, allocations: 2.156 kB / 1.353 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.6244, allocations: 4.594 kB / 1.353 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001032/0.6245, allocations: 49.97 kB / 1.353 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.6246, allocations: 71.44 kB / 1.353 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.6246, allocations: 0.75 kB / 1.353 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.6246, allocations: 0 / 1.353 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.6246, allocations: 6.938 kB / 1.353 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.6252, allocations: 386 kB / 1.354 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.198e-05/0.6253, allocations: 51.48 kB / 1.354 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.168e-05/0.6254, allocations: 25.59 kB / 1.354 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.6254, allocations: 4.375 kB / 1.354 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.23e-05/0.6254, allocations: 32.72 kB / 1.354 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.6254, allocations: 3.938 kB / 1.354 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0001619/0.6256, allocations: 65.92 kB / 1.354 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.297e-05/0.6256, allocations: 53.27 kB / 1.354 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.819e-05/0.6257, allocations: 124.7 kB / 1.354 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.6257, allocations: 30.66 kB / 1.354 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/0.6257, allocations: 103.3 kB / 1.354 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.6257, allocations: 10.64 kB / 1.354 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.6257, allocations: 0 / 1.354 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.599e-05/0.6258, allocations: 323.2 kB / 1.354 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.848e-05/0.6258, allocations: 21.41 kB / 1.354 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.433e-05/0.6259, allocations: 28.64 kB / 1.354 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.855e-05/0.6259, allocations: 10.73 kB / 1.354 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.6259, allocations: 0 / 1.354 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001127/0.626, allocations: 74.44 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.626, allocations: 4.656 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.626, allocations: 1.531 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.816e-06/0.6261, allocations: 0 / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.535e-05/0.6262, allocations: 12.33 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.6262, allocations: 4.75 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.6264, allocations: 37.31 kB / 1.355 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.6264, allocations: 2.422 kB / 1.355 GB, free: 14.43 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.206e-05/0.6264, allocations: 111.2 kB / 1.355 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.6265, allocations: 7.938 kB / 1.355 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.6265, allocations: 12.72 kB / 1.355 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.6265, allocations: 0.8438 kB / 1.355 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.6265, allocations: 1.031 kB / 1.355 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.6265, allocations: 0.7969 kB / 1.355 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.6266, allocations: 176.2 kB / 1.355 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.6266, allocations: 0 / 1.355 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.6267, allocations: 10.8 kB / 1.355 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.6267, allocations: 4.906 kB / 1.355 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.6267, allocations: 1.812 kB / 1.355 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.6267, allocations: 0 / 1.355 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6267, allocations: 0.9375 kB / 1.355 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001097/0.6269, allocations: 164.6 kB / 1.355 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.902e-05/0.6269, allocations: 84.25 kB / 1.355 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.6269, allocations: 1.688 kB / 1.355 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.6271, allocations: 38.17 kB / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.6272, allocations: 24.05 kB / 1.355 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.6272, allocations: 2.375 kB / 1.355 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.018e-05/0.6272, allocations: 101.8 kB / 1.355 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002074/0.6275, allocations: 16.81 kB / 1.355 GB, free: 13.82 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 8.001e-05/0.6275, allocations: 110.5 kB / 1.355 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.6277, allocations: 42.03 kB / 1.355 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.6277, allocations: 0 / 1.355 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.627e-05/0.6277, allocations: 29.36 kB / 1.355 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.6279, allocations: 4.438 kB / 1.355 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.6282, allocations: 118 kB / 1.356 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.6283, allocations: 0.7161 MB / 1.356 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of SimCode: time 2.4e-07/0.6283, allocations: 0 / 1.356 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of Templates: time 0.002752/0.6311, allocations: 1.047 MB / 1.357 GB, free: 12.86 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches