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.Round.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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") [: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.303/1.303, allocations: 249.4 MB / 256.7 MB, free: 7.055 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.0009964/0.0009963, allocations: 177.2 kB / 316 MB, free: 3.52 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.407/1.407, allocations: 205.2 MB / 0.5667 GB, free: 15.59 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.001208/0.001208, allocations: 86.14 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.949e-06/9.989e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2363, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6795/0.9159, allocations: 131.8 MB / 1.013 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.9162, allocations: 71.08 kB / 1.013 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003765/0.92, allocations: 0.8456 MB / 1.014 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.92, allocations: 8 kB / 1.014 GB, free: 6.094 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005049/0.9205, allocations: 361.7 kB / 1.015 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.9206, allocations: 8.031 kB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.9207, allocations: 11.91 kB / 1.015 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.9209, allocations: 178.7 kB / 1.015 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.9209, allocations: 0 / 1.015 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.9209, allocations: 4.75 kB / 1.015 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000116/0.921, allocations: 37.48 kB / 1.015 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.9212, allocations: 68.89 kB / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.9212, allocations: 0 / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.9212, allocations: 0 / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.9212, allocations: 0 / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.9218, allocations: 318.9 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.922, allocations: 71.81 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/0.922, allocations: 31.81 kB / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.9221, allocations: 0 / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.9221, allocations: 38.62 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.9221, allocations: 2.734 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002343/0.9224, allocations: 68.53 kB / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.9224, allocations: 54.72 kB / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.16e-05/0.9225, allocations: 110.4 kB / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.9225, allocations: 29.7 kB / 1.016 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.9226, allocations: 86.8 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.9226, allocations: 27.02 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/0.9226, allocations: 0 / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.9228, allocations: 314.8 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.213e-05/0.9228, allocations: 22.5 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.362e-05/0.9229, allocations: 19.67 kB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.948e-05/0.9229, allocations: 15.5 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9229, allocations: 4 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001438/0.9231, allocations: 80.2 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.9231, allocations: 4 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.9231, allocations: 0 / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.9231, allocations: 0 / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.9233, allocations: 19.98 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.9233, allocations: 0 / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.9234, allocations: 19.89 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.9234, allocations: 3.5 kB / 1.016 GB, free: 4.078 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 (6): * Single equations (assignments): 6 * 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 8.285e-05/0.9235, allocations: 104.9 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.9235, allocations: 8.016 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.72e-05/0.9236, allocations: 8.312 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.9236, allocations: 4 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.9236, allocations: 0 / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.9236, allocations: 7.984 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.9238, allocations: 172.9 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9238, allocations: 0 / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.924, allocations: 19.97 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.924, allocations: 0 / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.924, allocations: 7.984 kB / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.924, allocations: 0 / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.924, allocations: 0 / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001853/0.9242, allocations: 174.9 kB / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.9243, allocations: 81.02 kB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.9243, allocations: 0 / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.9244, allocations: 11.98 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.226e-05/0.9245, allocations: 14.67 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.9245, allocations: 20 kB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.792e-05/0.9246, allocations: 90.64 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002227/0.9248, allocations: 19.84 kB / 1.017 GB, free: 3.305 MB / 0.6355 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 (6): * Single equations (assignments): 6 * 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.0001614/0.925, allocations: 95.25 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001414/0.9251, allocations: 47.3 kB / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9251, allocations: 0 / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.804e-05/0.9252, allocations: 29.88 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.9254, allocations: 8 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.9258, allocations: 108.8 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/0.9262, allocations: 0.7075 MB / 1.018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/0.9262, allocations: 0 / 1.018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of Templates: time 0.00328/0.9295, allocations: 1.066 MB / 1.019 GB, free: 1.242 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches