Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") [: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.71/1.71, allocations: 390.4 MB / 397.7 MB, free: 1.898 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009026/0.0009025, allocations: 189.2 kB / 490.8 MB, free: 7.512 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.067/1.067, allocations: 221.3 MB / 0.7863 GB, free: 268 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000827/0.0008271, allocations: 96.61 kB / 0.9264 GB, free: 0.6523 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 5.962e-06/5.982e-06, allocations: 4 kB / 1.072 GB, free: 137.5 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1743, allocations: 143 MB / 1.212 GB, free: 10.58 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.466/0.6404, allocations: 148.8 MB / 1.357 GB, free: 13.36 MB / 0.8311 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001406/0.6406, allocations: 63.95 kB / 1.357 GB, free: 13.3 MB / 0.8311 GB Notification: Performance of FrontEnd: time 0.001213/0.6418, allocations: 346.6 kB / 1.357 GB, free: 12.96 MB / 0.8311 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.6418, allocations: 0 / 1.357 GB, free: 12.96 MB / 0.8311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000247/0.6421, allocations: 334.5 kB / 1.358 GB, free: 12.59 MB / 0.8311 GB Notification: Performance of prepare preOptimizeDAE: time 2.272e-05/0.6421, allocations: 8.031 kB / 1.358 GB, free: 12.58 MB / 0.8311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.052e-05/0.6421, allocations: 15.83 kB / 1.358 GB, free: 12.57 MB / 0.8311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.775e-05/0.6422, allocations: 171 kB / 1.358 GB, free: 12.36 MB / 0.8311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.562e-06/0.6422, allocations: 0 / 1.358 GB, free: 12.36 MB / 0.8311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.6422, allocations: 4 kB / 1.358 GB, free: 12.36 MB / 0.8311 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.033e-05/0.6423, allocations: 8 kB / 1.358 GB, free: 12.35 MB / 0.8311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.972e-05/0.6423, allocations: 37.69 kB / 1.358 GB, free: 12.3 MB / 0.8311 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-06/0.6424, allocations: 0.8125 kB / 1.358 GB, free: 12.3 MB / 0.8311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-06/0.6424, allocations: 0 / 1.358 GB, free: 12.3 MB / 0.8311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.6424, allocations: 3.906 kB / 1.358 GB, free: 12.3 MB / 0.8311 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.6426, allocations: 249.5 kB / 1.358 GB, free: 12.02 MB / 0.8311 GB Notification: Performance of preOpt comSubExp (simulation): time 3.444e-05/0.6427, allocations: 26.52 kB / 1.358 GB, free: 11.98 MB / 0.8311 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.6427, allocations: 16.08 kB / 1.358 GB, free: 11.97 MB / 0.8311 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.6427, allocations: 0 / 1.358 GB, free: 11.97 MB / 0.8311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.188e-05/0.6428, allocations: 30.56 kB / 1.358 GB, free: 11.93 MB / 0.8311 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.6428, allocations: 0 / 1.358 GB, free: 11.93 MB / 0.8311 GB Notification: Performance of matching and sorting (n=2): time 0.0001073/0.6429, allocations: 49.59 kB / 1.358 GB, free: 11.88 MB / 0.8311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.6429, allocations: 55.41 kB / 1.358 GB, free: 11.81 MB / 0.8311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.721e-05/0.6429, allocations: 91.19 kB / 1.358 GB, free: 11.71 MB / 0.8311 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.643, allocations: 25.7 kB / 1.358 GB, free: 11.68 MB / 0.8311 GB Notification: Performance of collectInitialEqns (initialization): time 2.287e-05/0.643, allocations: 80.14 kB / 1.358 GB, free: 11.6 MB / 0.8311 GB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.643, allocations: 11.89 kB / 1.358 GB, free: 11.59 MB / 0.8311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.643, allocations: 0 / 1.358 GB, free: 11.59 MB / 0.8311 GB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.6431, allocations: 310.8 kB / 1.359 GB, free: 11.28 MB / 0.8311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.6431, allocations: 11.97 kB / 1.359 GB, free: 11.27 MB / 0.8311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.183e-05/0.6431, allocations: 8 kB / 1.359 GB, free: 11.26 MB / 0.8311 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.261e-05/0.6431, allocations: 4 kB / 1.359 GB, free: 11.25 MB / 0.8311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.6431, allocations: 0 / 1.359 GB, free: 11.25 MB / 0.8311 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.9e-05/0.6432, allocations: 41.61 kB / 1.359 GB, free: 11.21 MB / 0.8311 GB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/0.6432, allocations: 7.125 kB / 1.359 GB, free: 11.2 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.6432, allocations: 3.984 kB / 1.359 GB, free: 11.2 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-06/0.6432, allocations: 3.375 kB / 1.359 GB, free: 11.2 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.154e-05/0.6433, allocations: 16.09 kB / 1.359 GB, free: 11.18 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.6433, allocations: 3.984 kB / 1.359 GB, free: 11.18 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.389e-05/0.6434, allocations: 11.98 kB / 1.359 GB, free: 11.17 MB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.6434, allocations: 0 / 1.359 GB, free: 11.17 MB / 0.8311 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 (2): * Single equations (assignments): 2 * 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.228e-05/0.6434, allocations: 105 kB / 1.359 GB, free: 11.06 MB / 0.8311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.6435, allocations: 3.906 kB / 1.359 GB, free: 11.05 MB / 0.8311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.554e-05/0.6436, allocations: 49.59 kB / 1.359 GB, free: 11 MB / 0.8311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.6436, allocations: 4 kB / 1.359 GB, free: 11 MB / 0.8311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.6436, allocations: 0 / 1.359 GB, free: 11 MB / 0.8311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-06/0.6436, allocations: 0 / 1.359 GB, free: 11 MB / 0.8311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.6437, allocations: 142.1 kB / 1.359 GB, free: 10.82 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.6437, allocations: 3.938 kB / 1.359 GB, free: 10.82 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.568e-05/0.6438, allocations: 15.97 kB / 1.359 GB, free: 10.8 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.6438, allocations: 0 / 1.359 GB, free: 10.8 MB / 0.8311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-06/0.6438, allocations: 0 / 1.359 GB, free: 10.8 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.6438, allocations: 0 / 1.359 GB, free: 10.8 MB / 0.8311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.6438, allocations: 7.984 kB / 1.359 GB, free: 10.8 MB / 0.8311 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.918e-05/0.6439, allocations: 135.5 kB / 1.359 GB, free: 10.65 MB / 0.8311 GB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.6439, allocations: 77.11 kB / 1.359 GB, free: 10.55 MB / 0.8311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.6439, allocations: 11.97 kB / 1.359 GB, free: 10.54 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.644, allocations: 7.984 kB / 1.359 GB, free: 10.54 MB / 0.8311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.644, allocations: 4 kB / 1.359 GB, free: 10.53 MB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.6441, allocations: 192 / 1.359 GB, free: 10.53 MB / 0.8311 GB Notification: Performance of sort global known variables: time 2.76e-05/0.6441, allocations: 83.25 kB / 1.359 GB, free: 10.45 MB / 0.8311 GB Notification: Performance of remove unused functions: time 0.0001819/0.6443, allocations: 4 kB / 1.36 GB, free: 10.45 MB / 0.8311 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 (2): * Single equations (assignments): 2 * 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.099e-05/0.6444, allocations: 110.8 kB / 1.36 GB, free: 10.33 MB / 0.8311 GB Notification: Performance of simCode: created initialization part: time 4.515e-05/0.6444, allocations: 12 kB / 1.36 GB, free: 10.32 MB / 0.8311 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-06/0.6444, allocations: 0 / 1.36 GB, free: 10.32 MB / 0.8311 GB Notification: Performance of simCode: created simulation system equations: time 1.677e-05/0.6444, allocations: 8 kB / 1.36 GB, free: 10.31 MB / 0.8311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.6446, allocations: 4 kB / 1.36 GB, free: 10.31 MB / 0.8311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001301/0.6447, allocations: 59.86 kB / 1.36 GB, free: 10.23 MB / 0.8311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.6449, allocations: 0.6881 MB / 1.36 GB, free: 9.512 MB / 0.8311 GB Notification: Performance of SimCode: time 2.4e-07/0.6449, allocations: 4 kB / 1.36 GB, free: 9.508 MB / 0.8311 GB Notification: Performance of Templates: time 0.001523/0.6464, allocations: 405.7 kB / 1.361 GB, free: 9.117 MB / 0.8311 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches