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.Limiter.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.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") [: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.338/1.338, allocations: 249.4 MB / 256.7 MB, free: 7.051 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.001057/0.001057, allocations: 181.2 kB / 316 MB, free: 3.59 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.483/1.483, allocations: 205.2 MB / 0.5667 GB, free: 15.71 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.001015/0.001015, allocations: 79.34 kB / 0.671 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.698e-06/9.728e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2309, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6235/0.8545, allocations: 131.7 MB / 1.013 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.8548, allocations: 68.16 kB / 1.013 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002196/0.857, allocations: 0.4963 MB / 1.014 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.719e-06/0.857, allocations: 4 kB / 1.014 GB, free: 6.594 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004683/0.8575, allocations: 357.9 kB / 1.014 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.8576, allocations: 8.031 kB / 1.014 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.8576, allocations: 4 kB / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.8578, allocations: 174.8 kB / 1.014 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.8578, allocations: 0 / 1.014 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.8578, allocations: 4 kB / 1.014 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.502e-05/0.8579, allocations: 14.62 kB / 1.014 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.729e-05/0.858, allocations: 37.06 kB / 1.014 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.858, allocations: 0 / 1.014 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.8581, allocations: 8 kB / 1.014 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.8581, allocations: 0 / 1.014 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.8586, allocations: 256.2 kB / 1.015 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.684e-05/0.8587, allocations: 37.33 kB / 1.015 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.57e-05/0.8587, allocations: 12.48 kB / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.8587, allocations: 0 / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.8588, allocations: 34.56 kB / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.8588, allocations: 2.734 kB / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001849/0.859, allocations: 45.09 kB / 1.015 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.859, allocations: 59.44 kB / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.484e-05/0.8591, allocations: 93.12 kB / 1.015 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.8591, allocations: 25.7 kB / 1.015 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.8592, allocations: 82.7 kB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.8592, allocations: 7.906 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.8592, allocations: 0 / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.8594, allocations: 318.3 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.123e-05/0.8594, allocations: 11.62 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.681e-05/0.8594, allocations: 20.78 kB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.125e-05/0.8595, allocations: 4 kB / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.8595, allocations: 0 / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.302e-05/0.8596, allocations: 52.28 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.964e-05/0.8596, allocations: 93 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.8597, allocations: 0 / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.8597, allocations: 128 / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.8598, allocations: 24.23 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.8599, allocations: 0 / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.86, allocations: 31.91 kB / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.86, allocations: 7.625 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.689e-06/0.86, allocations: 0 / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 3.529e-05/0.86, allocations: 11.94 kB / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.61e-07/0.86, allocations: 0 / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/0.8601, allocations: 3.906 kB / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.581e-05/0.8601, allocations: 23.95 kB / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-06/0.8601, allocations: 0 / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.543e-05/0.8602, allocations: 11.98 kB / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-06/0.8602, allocations: 3.75 kB / 1.016 GB, free: 4.609 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 (2): * Single equations (assignments): 2 * 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 6.871e-05/0.8603, allocations: 108.9 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.8603, allocations: 7.906 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.138e-05/0.8604, allocations: 7.578 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.8604, allocations: 4 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.8604, allocations: 0 / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8604, allocations: 0 / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.8605, allocations: 137.8 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.8605, allocations: 0 / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.404e-05/0.8606, allocations: 23.98 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.8607, allocations: 3.906 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.8607, allocations: 0 / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.8607, allocations: 0 / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.8607, allocations: 0 / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001143/0.8608, allocations: 146.3 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.8609, allocations: 85.09 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.8609, allocations: 4.031 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.861, allocations: 15.98 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.861, allocations: 7.797 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.861, allocations: 0 / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.317e-05/0.8611, allocations: 83.28 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002601/0.8614, allocations: 15.91 kB / 1.016 GB, free: 3.906 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 (2): * Single equations (assignments): 2 * 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.0001777/0.8615, allocations: 99.25 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.8617, allocations: 33.98 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.8617, allocations: 0 / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.773e-05/0.8617, allocations: 11.44 kB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.8619, allocations: 0 / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.8622, allocations: 81.52 kB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.8625, allocations: 0.6919 MB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of SimCode: time 1.663e-06/0.8625, allocations: 4 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of Templates: time 0.002442/0.865, allocations: 0.629 MB / 1.018 GB, free: 2.336 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches