Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T") [: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.341/1.341, allocations: 249.4 MB / 256.7 MB, free: 7.059 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.001055/0.001055, allocations: 177.3 kB / 316 MB, free: 3.547 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.543/1.543, 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.000943/0.000943, allocations: 90.06 kB / 0.671 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.452e-06/6.462e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2272, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6255/0.8528, allocations: 132 MB / 1.013 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.8531, allocations: 66.62 kB / 1.014 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.00297/0.8561, allocations: 0.806 MB / 1.014 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.8561, allocations: 0 / 1.014 GB, free: 5.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003979/0.8565, allocations: 362.9 kB / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.8565, allocations: 8.031 kB / 1.015 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.8566, allocations: 7.906 kB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.8568, allocations: 170.9 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.8568, allocations: 4 kB / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.8568, allocations: 0 / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.694e-05/0.8569, allocations: 21.69 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.303e-05/0.857, allocations: 44.94 kB / 1.015 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.857, allocations: 3.938 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.857, allocations: 3.984 kB / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.857, allocations: 0 / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.8575, allocations: 282.2 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.8576, allocations: 45.44 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.8577, allocations: 12.17 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.8577, allocations: 2.625 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.8577, allocations: 34.56 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.8577, allocations: 3.938 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001584/0.8579, allocations: 49.44 kB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.8579, allocations: 51.41 kB / 1.015 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.292e-05/0.858, allocations: 113.1 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.8581, allocations: 29.7 kB / 1.016 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.8581, allocations: 84.22 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.8581, allocations: 11.39 kB / 1.016 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.8581, allocations: 0 / 1.016 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.8583, allocations: 325.7 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.352e-05/0.8583, allocations: 7.875 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.8583, allocations: 24.78 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.114e-05/0.8584, allocations: 7.984 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.8584, allocations: 4.031 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.085e-05/0.8585, allocations: 52.95 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.8585, allocations: 14.23 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.8585, allocations: 0 / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.8585, allocations: 4 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.249e-05/0.8586, allocations: 5.312 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.8586, allocations: 3.938 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.924e-05/0.8587, allocations: 19.92 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.8587, allocations: 4 kB / 1.016 GB, free: 4.09 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: 2 ($PRE.shaT.hys.y,shaT.hys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.016e-05/0.8588, allocations: 104.9 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.8588, allocations: 7.906 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.8589, allocations: 4 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.8589, allocations: 0 / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.8589, allocations: 0 / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.8589, allocations: 4.172 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.859, allocations: 160.6 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.8591, allocations: 3.984 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.738e-05/0.8591, allocations: 5.562 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.8591, allocations: 3.984 kB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.8591, allocations: 0 / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.8591, allocations: 4 kB / 1.016 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8591, allocations: 3.938 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001317/0.8593, allocations: 151.1 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.8593, allocations: 85.02 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.8594, allocations: 0 / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.829e-05/0.8595, allocations: 7.984 kB / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.8595, allocations: 7.984 kB / 1.017 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.8595, allocations: 0 / 1.017 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.842e-05/0.8596, allocations: 93.84 kB / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002119/0.8598, allocations: 15.98 kB / 1.017 GB, free: 3.387 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: 1 (shaT.hys.y) * Number of discrete states: 1 (shaT.hys.y) * 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.0001137/0.8599, allocations: 93.69 kB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.86, allocations: 29.75 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8601, allocations: 0 / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.057e-05/0.8601, allocations: 10.75 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.8603, allocations: 15.08 kB / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.8606, allocations: 78.7 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/0.8609, allocations: 0.7032 MB / 1.018 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.8609, allocations: 0 / 1.018 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of Templates: time 0.002438/0.8634, allocations: 0.6232 MB / 1.018 GB, free: 1.816 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches