Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.73/1.73, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009204/0.0009204, allocations: 174.3 kB / 490.8 MB, free: 1.902 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.063/1.063, allocations: 221.4 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008056/0.0008056, allocations: 86.92 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.651e-06/5.691e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1656, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4447/0.6103, allocations: 149.1 MB / 1.357 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001617/0.6105, allocations: 64.41 kB / 1.357 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.002471/0.613, allocations: 0.782 MB / 1.358 GB, free: 17.14 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.613, allocations: 5 kB / 1.358 GB, free: 17.14 MB / 0.823 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.0002818/0.6133, allocations: 354 kB / 1.358 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.6134, allocations: 9.688 kB / 1.358 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.6134, allocations: 7.766 kB / 1.358 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.279e-05/0.6135, allocations: 180 kB / 1.359 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.6135, allocations: 1 kB / 1.359 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.6135, allocations: 4.047 kB / 1.359 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.079e-05/0.6136, allocations: 18.98 kB / 1.359 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.281e-05/0.6137, allocations: 51.66 kB / 1.359 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.6137, allocations: 0 / 1.359 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.6137, allocations: 1.359 kB / 1.359 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-06/0.6137, allocations: 1.125 kB / 1.359 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.614, allocations: 281.2 kB / 1.359 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.6141, allocations: 34.55 kB / 1.359 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.6142, allocations: 16.2 kB / 1.359 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.6142, allocations: 8.406 kB / 1.359 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.156e-06/0.6142, allocations: 30.56 kB / 1.359 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.6142, allocations: 0 / 1.359 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001381/0.6144, allocations: 53.39 kB / 1.359 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.299e-05/0.6144, allocations: 55.95 kB / 1.359 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.34e-05/0.6145, allocations: 110.2 kB / 1.359 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.6145, allocations: 27.59 kB / 1.359 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.6145, allocations: 91.89 kB / 1.359 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.6145, allocations: 10.28 kB / 1.359 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.6145, allocations: 0 / 1.359 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.484e-05/0.6146, allocations: 317.5 kB / 1.36 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.6146, allocations: 9.797 kB / 1.36 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.942e-05/0.6147, allocations: 22.3 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.2e-05/0.6147, allocations: 8.953 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6147, allocations: 1.547 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.788e-05/0.6148, allocations: 57.58 kB / 1.36 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.198e-06/0.6148, allocations: 8.469 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.6148, allocations: 2.641 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.6148, allocations: 2.938 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.617e-05/0.6149, allocations: 10.61 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.6149, allocations: 1.438 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.424e-05/0.615, allocations: 15.09 kB / 1.36 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.615, allocations: 13.83 kB / 1.36 GB, free: 31.51 MB / 0.8386 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 4.851e-05/0.615, allocations: 107.2 kB / 1.36 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.6151, allocations: 2.25 kB / 1.36 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.6151, allocations: 10.22 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6151, allocations: 3.906 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.6151, allocations: 1.125 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6151, allocations: 0.5156 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.6152, allocations: 154.2 kB / 1.36 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6152, allocations: 1.125 kB / 1.36 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.6153, allocations: 10.64 kB / 1.36 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6153, allocations: 0.7031 kB / 1.36 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.6153, allocations: 1.828 kB / 1.36 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.6153, allocations: 0 / 1.36 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6153, allocations: 0 / 1.36 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.219e-05/0.6154, allocations: 153.3 kB / 1.36 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.6154, allocations: 79.34 kB / 1.36 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.6155, allocations: 5.859 kB / 1.36 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-05/0.6156, allocations: 8.578 kB / 1.36 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.6156, allocations: 14.75 kB / 1.36 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.6156, allocations: 4.594 kB / 1.36 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.362e-05/0.6157, allocations: 91.78 kB / 1.36 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002019/0.6159, allocations: 8.125 kB / 1.36 GB, free: 30.91 MB / 0.8386 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 7.103e-05/0.6159, allocations: 98.42 kB / 1.36 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.382e-05/0.616, allocations: 23.89 kB / 1.36 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.616, allocations: 3.75 kB / 1.36 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-05/0.6161, allocations: 17.23 kB / 1.36 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.6162, allocations: 2.484 kB / 1.36 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001973/0.6164, allocations: 77.16 kB / 1.361 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.6166, allocations: 0.7013 MB / 1.361 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.6166, allocations: 3.938 kB / 1.361 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of Templates: time 0.002136/0.6188, allocations: 0.6284 MB / 1.362 GB, free: 29.98 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches