Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.758/1.758, allocations: 387.2 MB / 394.5 MB, free: 4.527 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00097/0.00097, allocations: 181.3 kB / 487 MB, free: 11.05 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.118/1.118, allocations: 221.3 MB / 0.7819 GB, free: 3.98 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007964/0.0007964, allocations: 96.91 kB / 0.9213 GB, free: 5.082 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 5.52e-06/5.53e-06, allocations: 4 kB / 1.066 GB, free: 141.1 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1951, allocations: 142.3 MB / 1.205 GB, free: 14.78 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5241/0.7192, allocations: 148.3 MB / 1.35 GB, free: 3.938 MB / 0.8153 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001762/0.7194, allocations: 63.95 kB / 1.35 GB, free: 3.875 MB / 0.8153 GB Notification: Performance of FrontEnd: time 0.002527/0.722, allocations: 0.7868 MB / 1.351 GB, free: 3.094 MB / 0.8153 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.722, allocations: 0 / 1.351 GB, free: 3.094 MB / 0.8153 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.0002992/0.7223, allocations: 358.3 kB / 1.351 GB, free: 2.699 MB / 0.8153 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.7223, allocations: 8.031 kB / 1.351 GB, free: 2.691 MB / 0.8153 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.7224, allocations: 7.906 kB / 1.351 GB, free: 2.684 MB / 0.8153 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.7226, allocations: 171 kB / 1.351 GB, free: 2.477 MB / 0.8153 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.7226, allocations: 0.5625 kB / 1.351 GB, free: 2.477 MB / 0.8153 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.7226, allocations: 7.906 kB / 1.351 GB, free: 2.469 MB / 0.8153 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.671e-05/0.7227, allocations: 27.98 kB / 1.351 GB, free: 2.441 MB / 0.8153 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.004e-05/0.7227, allocations: 45.62 kB / 1.351 GB, free: 2.391 MB / 0.8153 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.7228, allocations: 0 / 1.351 GB, free: 2.391 MB / 0.8153 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.7228, allocations: 0 / 1.351 GB, free: 2.391 MB / 0.8153 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.7228, allocations: 7.938 kB / 1.351 GB, free: 2.383 MB / 0.8153 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.7231, allocations: 282.2 kB / 1.352 GB, free: 2.07 MB / 0.8153 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.7233, allocations: 34.58 kB / 1.352 GB, free: 2.027 MB / 0.8153 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.7233, allocations: 12.92 kB / 1.352 GB, free: 2.012 MB / 0.8153 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.7233, allocations: 3.938 kB / 1.352 GB, free: 2.008 MB / 0.8153 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.7234, allocations: 34.55 kB / 1.352 GB, free: 1.965 MB / 0.8153 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.7234, allocations: 4 kB / 1.352 GB, free: 1.961 MB / 0.8153 GB Notification: Performance of matching and sorting (n=3): time 0.0001393/0.7235, allocations: 53.69 kB / 1.352 GB, free: 1.902 MB / 0.8153 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.7235, allocations: 55.41 kB / 1.352 GB, free: 1.836 MB / 0.8153 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.992e-05/0.7236, allocations: 110.8 kB / 1.352 GB, free: 1.723 MB / 0.8153 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.7236, allocations: 25.7 kB / 1.352 GB, free: 1.691 MB / 0.8153 GB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.7237, allocations: 93.67 kB / 1.352 GB, free: 1.598 MB / 0.8153 GB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.7237, allocations: 7.906 kB / 1.352 GB, free: 1.59 MB / 0.8153 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.7237, allocations: 0 / 1.352 GB, free: 1.59 MB / 0.8153 GB Notification: Performance of setup shared object (initialization): time 8.462e-05/0.7238, allocations: 314.8 kB / 1.352 GB, free: 1.273 MB / 0.8153 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/0.7238, allocations: 16 kB / 1.352 GB, free: 1.258 MB / 0.8153 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.405e-05/0.7239, allocations: 25.7 kB / 1.352 GB, free: 1.227 MB / 0.8153 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.367e-05/0.7239, allocations: 11.94 kB / 1.352 GB, free: 1.215 MB / 0.8153 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.7239, allocations: 0 / 1.352 GB, free: 1.215 MB / 0.8153 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.794e-05/0.724, allocations: 53.59 kB / 1.353 GB, free: 1.156 MB / 0.8153 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.724, allocations: 4 kB / 1.353 GB, free: 1.152 MB / 0.8153 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.724, allocations: 0 / 1.353 GB, free: 1.152 MB / 0.8153 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/0.724, allocations: 0 / 1.353 GB, free: 1.152 MB / 0.8153 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-05/0.7241, allocations: 16.03 kB / 1.353 GB, free: 1.137 MB / 0.8153 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.7241, allocations: 2.75 kB / 1.353 GB, free: 1.137 MB / 0.8153 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.461e-05/0.7242, allocations: 17.12 kB / 1.353 GB, free: 1.121 MB / 0.8153 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.7242, allocations: 0 / 1.353 GB, free: 1.121 MB / 0.8153 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 6.252e-05/0.7243, allocations: 108.9 kB / 1.353 GB, free: 1.008 MB / 0.8153 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.7243, allocations: 7.906 kB / 1.353 GB, free: 1 MB / 0.8153 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.7243, allocations: 11.98 kB / 1.353 GB, free: 0.9844 MB / 0.8153 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.7243, allocations: 0 / 1.353 GB, free: 0.9844 MB / 0.8153 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.7243, allocations: 0 / 1.353 GB, free: 0.9844 MB / 0.8153 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.7244, allocations: 0 / 1.353 GB, free: 0.9844 MB / 0.8153 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.7245, allocations: 150.2 kB / 1.353 GB, free: 0.8008 MB / 0.8153 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7245, allocations: 4 kB / 1.353 GB, free: 0.7969 MB / 0.8153 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.026e-05/0.7246, allocations: 11.92 kB / 1.353 GB, free: 0.7852 MB / 0.8153 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.7246, allocations: 3.938 kB / 1.353 GB, free: 0.7812 MB / 0.8153 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.7246, allocations: 4 kB / 1.353 GB, free: 0.7773 MB / 0.8153 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.7246, allocations: 3.906 kB / 1.353 GB, free: 0.7734 MB / 0.8153 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7246, allocations: 0 / 1.353 GB, free: 0.7734 MB / 0.8153 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001149/0.7247, allocations: 147.5 kB / 1.353 GB, free: 0.6133 MB / 0.8153 GB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.7247, allocations: 77.11 kB / 1.353 GB, free: 0.5195 MB / 0.8153 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.7248, allocations: 11.92 kB / 1.353 GB, free: 0.5078 MB / 0.8153 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/0.7249, allocations: 11.91 kB / 1.353 GB, free: 0.4961 MB / 0.8153 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.7249, allocations: 7.984 kB / 1.353 GB, free: 500 kB / 0.8153 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.7249, allocations: 0 / 1.353 GB, free: 500 kB / 0.8153 GB Notification: Performance of sort global known variables: time 5.004e-05/0.725, allocations: 91.27 kB / 1.353 GB, free: 408 kB / 0.8153 GB Notification: Performance of remove unused functions: time 0.0001968/0.7252, allocations: 8 kB / 1.353 GB, free: 400 kB / 0.8153 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 9.068e-05/0.7253, allocations: 99.25 kB / 1.353 GB, free: 292 kB / 0.8153 GB Notification: Performance of simCode: created initialization part: time 9.619e-05/0.7254, allocations: 27.94 kB / 1.353 GB, free: 264 kB / 0.8153 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.7254, allocations: 4 kB / 1.353 GB, free: 260 kB / 0.8153 GB Notification: Performance of simCode: created simulation system equations: time 2.857e-05/0.7254, allocations: 15.98 kB / 1.353 GB, free: 244 kB / 0.8153 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.7256, allocations: 0 / 1.353 GB, free: 244 kB / 0.8153 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.7258, allocations: 80.25 kB / 1.353 GB, free: 136 kB / 0.8153 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/0.7261, allocations: 0.6993 MB / 1.354 GB, free: 15.41 MB / 0.8309 GB Notification: Performance of SimCode: time 2.5e-07/0.7261, allocations: 0 / 1.354 GB, free: 15.41 MB / 0.8309 GB Notification: Performance of Templates: time 0.002162/0.7283, allocations: 0.6285 MB / 1.355 GB, free: 14.79 MB / 0.8309 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches