Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H") [: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 9.1.1-maint.9.1.x/package.mo): time 1.812/1.812, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009558/0.0009555, allocations: 177.2 kB / 487 MB, free: 5.344 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.137/1.137, allocations: 221.3 MB / 0.7819 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008655/0.0008655, allocations: 90.38 kB / 0.9213 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.071e-06/6.091e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1871, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4713/0.6584, allocations: 148.3 MB / 1.35 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001565/0.6586, allocations: 66.14 kB / 1.35 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002399/0.6611, allocations: 0.7816 MB / 1.351 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.6611, allocations: 1.625 kB / 1.351 GB, free: 15.85 MB / 0.8073 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.0002502/0.6613, allocations: 357.8 kB / 1.351 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.6614, allocations: 10.78 kB / 1.351 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.6614, allocations: 7.438 kB / 1.351 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.847e-05/0.6615, allocations: 169.3 kB / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.6615, allocations: 1.969 kB / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.6616, allocations: 5.719 kB / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.373e-05/0.6616, allocations: 23.03 kB / 1.351 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.51e-05/0.6617, allocations: 49.25 kB / 1.351 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.6617, allocations: 3.984 kB / 1.351 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.6617, allocations: 1.781 kB / 1.351 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.6617, allocations: 5.406 kB / 1.351 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.6621, allocations: 272 kB / 1.352 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.6622, allocations: 42.89 kB / 1.352 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.6622, allocations: 14.55 kB / 1.352 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.6622, allocations: 0 / 1.352 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.064e-05/0.6623, allocations: 37.25 kB / 1.352 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.6623, allocations: 0.75 kB / 1.352 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001351/0.6624, allocations: 49.45 kB / 1.352 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.218e-05/0.6624, allocations: 52.88 kB / 1.352 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.274e-05/0.6625, allocations: 110.2 kB / 1.352 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.6625, allocations: 27.34 kB / 1.352 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.196e-05/0.6625, allocations: 93.5 kB / 1.352 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.6626, allocations: 10.22 kB / 1.352 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.6626, allocations: 0 / 1.352 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.578e-05/0.6626, allocations: 321.3 kB / 1.352 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.6626, allocations: 12.47 kB / 1.352 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.033e-05/0.6627, allocations: 25.84 kB / 1.352 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.084e-05/0.6627, allocations: 13.66 kB / 1.352 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6627, allocations: 0 / 1.352 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.725e-05/0.6628, allocations: 56.14 kB / 1.353 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/0.6628, allocations: 5.5 kB / 1.353 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.6628, allocations: 0 / 1.353 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.467e-06/0.6628, allocations: 1.125 kB / 1.353 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.55e-05/0.6629, allocations: 6.906 kB / 1.353 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.6629, allocations: 1.375 kB / 1.353 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.581e-05/0.663, allocations: 20.64 kB / 1.353 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.663, allocations: 2.688 kB / 1.353 GB, free: 14.23 MB / 0.8073 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.shaH.hys.y,shaH.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 3.942e-05/0.663, allocations: 110.2 kB / 1.353 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.663, allocations: 6.656 kB / 1.353 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.6631, allocations: 10.28 kB / 1.353 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.6631, allocations: 1.375 kB / 1.353 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.6631, allocations: 3.375 kB / 1.353 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.6631, allocations: 4 kB / 1.353 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.959e-05/0.6632, allocations: 149.4 kB / 1.353 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.6632, allocations: 0 / 1.353 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/0.6633, allocations: 7.719 kB / 1.353 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.6633, allocations: 3.938 kB / 1.353 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.6633, allocations: 2.656 kB / 1.353 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6633, allocations: 3.906 kB / 1.353 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6633, allocations: 1.281 kB / 1.353 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.937e-05/0.6634, allocations: 149.2 kB / 1.353 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.6634, allocations: 85.86 kB / 1.353 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.6634, allocations: 3.062 kB / 1.353 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.459e-05/0.6635, allocations: 11.56 kB / 1.353 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.6635, allocations: 8.078 kB / 1.353 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.6636, allocations: 0.7188 kB / 1.353 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.867e-05/0.6636, allocations: 100.9 kB / 1.353 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002129/0.6638, allocations: 6.875 kB / 1.353 GB, free: 13.62 MB / 0.8073 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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 6.924e-05/0.6639, allocations: 96.8 kB / 1.353 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.877e-05/0.664, allocations: 22.89 kB / 1.353 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.664, allocations: 0 / 1.353 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.664e-05/0.664, allocations: 12.52 kB / 1.353 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.6642, allocations: 11.3 kB / 1.353 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002038/0.6644, allocations: 85.77 kB / 1.353 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.6645, allocations: 0.6973 MB / 1.354 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of SimCode: time 2.41e-07/0.6645, allocations: 0 / 1.354 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of Templates: time 0.002038/0.6666, allocations: 0.6114 MB / 1.355 GB, free: 12.7 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches