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.Min.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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") [: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.342/1.342, allocations: 249.4 MB / 256.7 MB, free: 15.83 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 196.3 kB / 316 MB, free: 7.219 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.76/1.76, allocations: 205.1 MB / 0.5667 GB, free: 23.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.0009421/0.0009421, allocations: 82.84 kB / 0.671 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.098e-05/1.114e-05, allocations: 4 kB / 0.7807 GB, free: 464 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3917, allocations: 106.3 MB / 0.8846 GB, free: 76.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1425/0.5343, allocations: 130.6 MB / 1.012 GB, free: 9.527 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.5345, allocations: 75.94 kB / 1.012 GB, free: 9.453 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.002153/0.5367, allocations: 0.5412 MB / 1.013 GB, free: 8.914 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.5367, allocations: 0 / 1.013 GB, free: 8.914 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000416/0.5371, allocations: 366.3 kB / 1.013 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.5372, allocations: 11.97 kB / 1.013 GB, free: 8.5 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.5372, allocations: 15.84 kB / 1.013 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.5374, allocations: 163.1 kB / 1.013 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.5374, allocations: 0 / 1.013 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.5374, allocations: 0 / 1.013 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.65e-05/0.5375, allocations: 23.91 kB / 1.013 GB, free: 8.262 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.905e-05/0.5376, allocations: 41.69 kB / 1.013 GB, free: 8.215 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.5376, allocations: 3.938 kB / 1.013 GB, free: 8.211 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.5376, allocations: 0 / 1.013 GB, free: 8.211 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.5376, allocations: 0 / 1.013 GB, free: 8.211 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.5381, allocations: 301.3 kB / 1.014 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 6.735e-05/0.5382, allocations: 30.56 kB / 1.014 GB, free: 7.84 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.294e-05/0.5382, allocations: 16.86 kB / 1.014 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.5382, allocations: 4.078 kB / 1.014 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.5382, allocations: 30.56 kB / 1.014 GB, free: 7.777 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.5383, allocations: 4 kB / 1.014 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0001572/0.5384, allocations: 49.61 kB / 1.014 GB, free: 7.719 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.5385, allocations: 55.34 kB / 1.014 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.904e-05/0.5385, allocations: 101 kB / 1.014 GB, free: 7.547 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.5386, allocations: 29.7 kB / 1.014 GB, free: 7.512 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.5386, allocations: 80.14 kB / 1.014 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.5386, allocations: 7.906 kB / 1.014 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.5386, allocations: 0 / 1.014 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5387, allocations: 322.8 kB / 1.014 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.5388, allocations: 8 kB / 1.014 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/0.5388, allocations: 8 kB / 1.014 GB, free: 7.082 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.165e-05/0.5388, allocations: 7.906 kB / 1.014 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.5388, allocations: 0 / 1.014 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.374e-05/0.5389, allocations: 53.69 kB / 1.014 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.5389, allocations: 4 kB / 1.014 GB, free: 7.012 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.5389, allocations: 0 / 1.014 GB, free: 7.012 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.5389, allocations: 0 / 1.014 GB, free: 7.012 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.5391, allocations: 23.98 kB / 1.014 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.5391, allocations: 0 / 1.014 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.5392, allocations: 31.88 kB / 1.014 GB, free: 6.957 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.5392, allocations: 3.938 kB / 1.014 GB, free: 6.953 MB / 0.6667 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 (3): * Single equations (assignments): 3 * 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.425e-05/0.5393, allocations: 103.1 kB / 1.015 GB, free: 6.848 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.5394, allocations: 7.906 kB / 1.015 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.5395, allocations: 53.69 kB / 1.015 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.5395, allocations: 0 / 1.015 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5395, allocations: 0 / 1.015 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5395, allocations: 0 / 1.015 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.5396, allocations: 158.2 kB / 1.015 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5397, allocations: 7.875 kB / 1.015 GB, free: 6.578 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.5398, allocations: 19.98 kB / 1.015 GB, free: 6.559 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.5398, allocations: 3.906 kB / 1.015 GB, free: 6.555 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.5398, allocations: 4 kB / 1.015 GB, free: 6.551 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5398, allocations: 4 kB / 1.015 GB, free: 6.547 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5398, allocations: 0 / 1.015 GB, free: 6.547 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001239/0.5399, allocations: 151.4 kB / 1.015 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.54, allocations: 77.11 kB / 1.015 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.54, allocations: 0 / 1.015 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.5401, allocations: 23.97 kB / 1.015 GB, free: 6.266 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.5402, allocations: 7.906 kB / 1.015 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.5402, allocations: 4.281 kB / 1.015 GB, free: 6.254 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.436e-05/0.5402, allocations: 83.27 kB / 1.015 GB, free: 6.172 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002053/0.5404, allocations: 11.94 kB / 1.015 GB, free: 6.16 MB / 0.6667 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 (3): * Single equations (assignments): 3 * 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.0001226/0.5406, allocations: 95.25 kB / 1.015 GB, free: 6.059 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 8.36e-05/0.5407, allocations: 28 kB / 1.015 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.5407, allocations: 0 / 1.015 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.433e-05/0.5407, allocations: 16.03 kB / 1.015 GB, free: 6.016 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.5409, allocations: 8 kB / 1.015 GB, free: 6.008 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002178/0.5411, allocations: 71.72 kB / 1.015 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.5414, allocations: 0.6993 MB / 1.016 GB, free: 5.191 MB / 0.6667 GB Notification: Performance of SimCode: time 2.51e-07/0.5414, allocations: 4 kB / 1.016 GB, free: 5.188 MB / 0.6667 GB Notification: Performance of Templates: time 0.002166/0.5436, allocations: 0.6175 MB / 1.017 GB, free: 4.582 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches