Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.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.OBC.CDL.Continuous.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime") [: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.767/1.767, allocations: 387.2 MB / 394.5 MB, free: 4.52 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 189 kB / 487 MB, free: 11.06 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.128/1.128, allocations: 221.3 MB / 0.7819 GB, free: 3.934 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000855/0.000855, allocations: 100.6 kB / 0.9213 GB, free: 5.031 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 7.574e-06/7.664e-06, allocations: 4 kB / 1.066 GB, free: 141 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1861, allocations: 142.3 MB / 1.205 GB, free: 14.7 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4994/0.6855, allocations: 147.6 MB / 1.349 GB, free: 4.582 MB / 0.8153 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001431/0.6857, allocations: 71.95 kB / 1.349 GB, free: 4.512 MB / 0.8153 GB Notification: Performance of FrontEnd: time 0.0002209/0.6859, allocations: 43.88 kB / 1.349 GB, free: 4.473 MB / 0.8153 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.6859, allocations: 0 / 1.349 GB, free: 4.473 MB / 0.8153 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001568/0.6861, allocations: 303.4 kB / 1.35 GB, free: 4.133 MB / 0.8153 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.6861, allocations: 8.031 kB / 1.35 GB, free: 4.125 MB / 0.8153 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.181e-05/0.6862, allocations: 0 / 1.35 GB, free: 4.125 MB / 0.8153 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.616e-05/0.6862, allocations: 171 kB / 1.35 GB, free: 3.918 MB / 0.8153 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.6863, allocations: 0 / 1.35 GB, free: 3.918 MB / 0.8153 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.6863, allocations: 3.906 kB / 1.35 GB, free: 3.914 MB / 0.8153 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.403e-05/0.6863, allocations: 8 kB / 1.35 GB, free: 3.906 MB / 0.8153 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.734e-05/0.6863, allocations: 25.7 kB / 1.35 GB, free: 3.875 MB / 0.8153 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.6864, allocations: 0 / 1.35 GB, free: 3.875 MB / 0.8153 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.6864, allocations: 3.938 kB / 1.35 GB, free: 3.871 MB / 0.8153 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.6864, allocations: 0 / 1.35 GB, free: 3.871 MB / 0.8153 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.543e-05/0.6865, allocations: 126.2 kB / 1.35 GB, free: 3.711 MB / 0.8153 GB Notification: Performance of preOpt comSubExp (simulation): time 2.692e-05/0.6865, allocations: 18.61 kB / 1.35 GB, free: 3.684 MB / 0.8153 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.6865, allocations: 12.8 kB / 1.35 GB, free: 3.668 MB / 0.8153 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.6865, allocations: 0 / 1.35 GB, free: 3.668 MB / 0.8153 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.6866, allocations: 34.62 kB / 1.35 GB, free: 3.625 MB / 0.8153 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.6866, allocations: 0 / 1.35 GB, free: 3.625 MB / 0.8153 GB Notification: Performance of matching and sorting (n=1): time 8.598e-05/0.6867, allocations: 37.59 kB / 1.35 GB, free: 3.582 MB / 0.8153 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.6867, allocations: 51.41 kB / 1.35 GB, free: 3.52 MB / 0.8153 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.41e-05/0.6867, allocations: 88.16 kB / 1.35 GB, free: 3.43 MB / 0.8153 GB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.6867, allocations: 25.7 kB / 1.35 GB, free: 3.398 MB / 0.8153 GB Notification: Performance of collectInitialEqns (initialization): time 2.017e-05/0.6868, allocations: 84.17 kB / 1.35 GB, free: 3.312 MB / 0.8153 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.6868, allocations: 4 kB / 1.35 GB, free: 3.309 MB / 0.8153 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-06/0.6868, allocations: 0 / 1.35 GB, free: 3.309 MB / 0.8153 GB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.6869, allocations: 310.8 kB / 1.351 GB, free: 2.996 MB / 0.8153 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.963e-06/0.6869, allocations: 4 kB / 1.351 GB, free: 2.992 MB / 0.8153 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-06/0.6869, allocations: 0 / 1.351 GB, free: 2.992 MB / 0.8153 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.225e-05/0.6869, allocations: 0 / 1.351 GB, free: 2.992 MB / 0.8153 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.6869, allocations: 5.578 kB / 1.351 GB, free: 2.988 MB / 0.8153 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.304e-05/0.6869, allocations: 37.67 kB / 1.351 GB, free: 2.945 MB / 0.8153 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.687, allocations: 11.98 kB / 1.351 GB, free: 2.934 MB / 0.8153 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.687, allocations: 0 / 1.351 GB, free: 2.934 MB / 0.8153 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.687, allocations: 0 / 1.351 GB, free: 2.934 MB / 0.8153 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.682e-05/0.687, allocations: 0 / 1.351 GB, free: 2.934 MB / 0.8153 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.687, allocations: 0 / 1.351 GB, free: 2.934 MB / 0.8153 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.877e-06/0.687, allocations: 0.875 kB / 1.351 GB, free: 2.934 MB / 0.8153 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.6871, allocations: 4 kB / 1.351 GB, free: 2.93 MB / 0.8153 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.631e-05/0.6871, allocations: 101 kB / 1.351 GB, free: 2.824 MB / 0.8153 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-06/0.6871, allocations: 3.938 kB / 1.351 GB, free: 2.82 MB / 0.8153 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.6872, allocations: 7 kB / 1.351 GB, free: 2.816 MB / 0.8153 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.6872, allocations: 0 / 1.351 GB, free: 2.816 MB / 0.8153 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6872, allocations: 0 / 1.351 GB, free: 2.816 MB / 0.8153 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.6872, allocations: 0 / 1.351 GB, free: 2.816 MB / 0.8153 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.801e-05/0.6872, allocations: 140 kB / 1.351 GB, free: 2.648 MB / 0.8153 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.6872, allocations: 0 / 1.351 GB, free: 2.648 MB / 0.8153 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.908e-06/0.6873, allocations: 0 / 1.351 GB, free: 2.648 MB / 0.8153 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.6873, allocations: 0 / 1.351 GB, free: 2.648 MB / 0.8153 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.6873, allocations: 3.906 kB / 1.351 GB, free: 2.645 MB / 0.8153 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.6873, allocations: 0 / 1.351 GB, free: 2.645 MB / 0.8153 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6873, allocations: 8 kB / 1.351 GB, free: 2.637 MB / 0.8153 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.946e-05/0.6873, allocations: 53.08 kB / 1.351 GB, free: 2.566 MB / 0.8153 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.6874, allocations: 85.03 kB / 1.351 GB, free: 2.465 MB / 0.8153 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-06/0.6874, allocations: 0 / 1.351 GB, free: 2.465 MB / 0.8153 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.6874, allocations: 3.906 kB / 1.351 GB, free: 2.461 MB / 0.8153 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-06/0.6874, allocations: 3.938 kB / 1.351 GB, free: 2.457 MB / 0.8153 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.6874, allocations: 4 kB / 1.351 GB, free: 2.453 MB / 0.8153 GB Notification: Performance of sort global known variables: time 2.195e-05/0.6874, allocations: 79.31 kB / 1.351 GB, free: 2.375 MB / 0.8153 GB Notification: Performance of remove unused functions: time 0.00016/0.6876, allocations: 0 / 1.351 GB, free: 2.375 MB / 0.8153 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.78e-05/0.6877, allocations: 99.25 kB / 1.351 GB, free: 2.27 MB / 0.8153 GB Notification: Performance of simCode: created initialization part: time 4.021e-05/0.6877, allocations: 4 kB / 1.351 GB, free: 2.266 MB / 0.8153 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.6878, allocations: 0 / 1.351 GB, free: 2.266 MB / 0.8153 GB Notification: Performance of simCode: created simulation system equations: time 6.242e-06/0.6878, allocations: 7.938 kB / 1.351 GB, free: 2.258 MB / 0.8153 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.563e-05/0.6878, allocations: 1.312 kB / 1.351 GB, free: 2.258 MB / 0.8153 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001113/0.688, allocations: 48.19 kB / 1.351 GB, free: 2.188 MB / 0.8153 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.6881, allocations: 0.6802 MB / 1.352 GB, free: 1.48 MB / 0.8153 GB Notification: Performance of SimCode: time 2.4e-07/0.6881, allocations: 0 / 1.352 GB, free: 1.48 MB / 0.8153 GB Notification: Performance of Templates: time 0.001273/0.6894, allocations: 178.1 kB / 1.352 GB, free: 1.309 MB / 0.8153 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches