Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") [: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 7.0.3-maint.7.0.x/package.mo): time 1.343/1.343, allocations: 249.4 MB / 256.7 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 184.6 kB / 316 MB, free: 3.574 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 91.06 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.108e-05/1.111e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2343, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7326/0.967, allocations: 132 MB / 1.013 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.9673, allocations: 71.7 kB / 1.014 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005446/0.9727, allocations: 1.32 MB / 1.015 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.895e-05/0.9728, allocations: 4 kB / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007983/0.9736, allocations: 424.5 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.9737, allocations: 8.031 kB / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.583e-05/0.9738, allocations: 15.81 kB / 1.015 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.9741, allocations: 209.4 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.9741, allocations: 4.875 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.9742, allocations: 11.91 kB / 1.015 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002776/0.9745, allocations: 96.11 kB / 1.016 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.9748, allocations: 110.2 kB / 1.016 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.9748, allocations: 4 kB / 1.016 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.9748, allocations: 6.609 kB / 1.016 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.9748, allocations: 4 kB / 1.016 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.976, allocations: 485.8 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.9762, allocations: 66.75 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.254e-05/0.9763, allocations: 34.48 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/0.9763, allocations: 7.984 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.9764, allocations: 38.47 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.873e-06/0.9764, allocations: 0 / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003337/0.9767, allocations: 91.66 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.9768, allocations: 51.41 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.9769, allocations: 124.9 kB / 1.017 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.977, allocations: 25.7 kB / 1.017 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.172e-05/0.9771, allocations: 126 kB / 1.017 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.9771, allocations: 31.05 kB / 1.017 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/0.9771, allocations: 0 / 1.017 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.9773, allocations: 314.7 kB / 1.017 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.568e-05/0.9774, allocations: 26.78 kB / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.289e-05/0.9775, allocations: 30.69 kB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.444e-05/0.9776, allocations: 35.23 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9776, allocations: 0 / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002369/0.9778, allocations: 105.5 kB / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.9779, allocations: 12.66 kB / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.9779, allocations: 0 / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.9779, allocations: 0 / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.9781, allocations: 31.92 kB / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.9782, allocations: 0 / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.9783, allocations: 23.83 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.9783, allocations: 11.31 kB / 1.017 GB, free: 3.34 MB / 0.6355 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 (13): * Single equations (assignments): 13 * 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 9.13e-05/0.9784, allocations: 101 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.9785, allocations: 7.906 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.9788, allocations: 103.5 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.9788, allocations: 7.906 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.9788, allocations: 0 / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.9788, allocations: 0 / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/0.9794, allocations: 384.8 kB / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.9794, allocations: 0 / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.9796, allocations: 27.92 kB / 1.018 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.9796, allocations: 0 / 1.018 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.9796, allocations: 4 kB / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.9796, allocations: 4.094 kB / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9797, allocations: 0 / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002982/0.98, allocations: 251.2 kB / 1.018 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.98, allocations: 92.86 kB / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.9801, allocations: 7.984 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.9803, allocations: 15.98 kB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.9804, allocations: 8 kB / 1.018 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.9804, allocations: 11.23 kB / 1.018 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.436e-05/0.9805, allocations: 103 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003864/0.9809, allocations: 23.91 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 0.0001822/0.9811, allocations: 107.1 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.9813, allocations: 69.11 kB / 1.019 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.9813, allocations: 0 / 1.019 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.517e-05/0.9814, allocations: 38.58 kB / 1.019 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.9817, allocations: 4.156 kB / 1.019 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/0.9823, allocations: 182.3 kB / 1.019 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004932/0.9828, allocations: 0.7306 MB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of SimCode: time 3.41e-07/0.9828, allocations: 0 / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of Templates: time 0.004183/0.987, allocations: 1.03 MB / 1.02 GB, free: 24 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches