Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") [: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.735/1.735, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.0008829/0.0008829, allocations: 177.2 kB / 490.8 MB, free: 1.973 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.069/1.069, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.0008191/0.0008192, allocations: 103.7 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.234e-06/7.254e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1692, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4579/0.6271, allocations: 148.9 MB / 1.357 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001658/0.6273, allocations: 73.14 kB / 1.357 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.002918/0.6303, allocations: 0.8171 MB / 1.358 GB, free: 17.44 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.6303, allocations: 6.25 kB / 1.358 GB, free: 17.43 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003526/0.6307, allocations: 365.1 kB / 1.358 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.6307, allocations: 8.969 kB / 1.358 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.6307, allocations: 11.98 kB / 1.358 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.6308, allocations: 184.4 kB / 1.358 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.6309, allocations: 2.219 kB / 1.358 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.6309, allocations: 3.406 kB / 1.358 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.301e-05/0.631, allocations: 38.78 kB / 1.358 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.574e-05/0.6311, allocations: 65.72 kB / 1.359 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.6311, allocations: 0 / 1.359 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.6311, allocations: 1.281 kB / 1.359 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.6311, allocations: 1.188 kB / 1.359 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.6316, allocations: 322.6 kB / 1.359 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.6317, allocations: 71.53 kB / 1.359 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.01e-05/0.6317, allocations: 28.11 kB / 1.359 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.6317, allocations: 0 / 1.359 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.676e-06/0.6318, allocations: 32.42 kB / 1.359 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 7.91e-07/0.6318, allocations: 1.125 kB / 1.359 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001681/0.6319, allocations: 77.02 kB / 1.359 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.192e-05/0.632, allocations: 52.11 kB / 1.359 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.632, allocations: 111.3 kB / 1.359 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.632, allocations: 25.7 kB / 1.359 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.6321, allocations: 88.7 kB / 1.359 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.6321, allocations: 27.23 kB / 1.359 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.6321, allocations: 1.031 kB / 1.359 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.6322, allocations: 317.2 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.239e-05/0.6323, allocations: 15.98 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.6323, allocations: 16.84 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.6323, allocations: 17.33 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.6323, allocations: 5.094 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001125/0.6325, allocations: 75.47 kB / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/0.6325, allocations: 4.312 kB / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.6325, allocations: 5.062 kB / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.6325, allocations: 0 / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.6326, allocations: 20.02 kB / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.6327, allocations: 4.766 kB / 1.36 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.545e-05/0.6327, allocations: 20.34 kB / 1.36 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.6328, allocations: 2.797 kB / 1.36 GB, free: 31.8 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 5.043e-05/0.6328, allocations: 102.8 kB / 1.36 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.6328, allocations: 7.344 kB / 1.36 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/0.6329, allocations: 9.734 kB / 1.36 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.6329, allocations: 1.891 kB / 1.36 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.6329, allocations: 0 / 1.36 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.6329, allocations: 4 kB / 1.36 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.633, allocations: 173.5 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.633, allocations: 0 / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.6331, allocations: 19.73 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6332, allocations: 1.594 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.6332, allocations: 0.75 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.6332, allocations: 1.125 kB / 1.36 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6332, allocations: 4.734 kB / 1.36 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001343/0.6333, allocations: 179 kB / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.6333, allocations: 80.72 kB / 1.36 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.6334, allocations: 0 / 1.36 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.6335, allocations: 15.11 kB / 1.36 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.6335, allocations: 11.91 kB / 1.36 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.6336, allocations: 6.922 kB / 1.36 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.933e-05/0.6336, allocations: 93.08 kB / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002008/0.6338, allocations: 14.19 kB / 1.361 GB, free: 31.2 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.6339, allocations: 104.3 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.634, allocations: 45.5 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.31e-07/0.634, allocations: 0 / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.03e-05/0.6341, allocations: 30.12 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.6343, allocations: 10.72 kB / 1.361 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.6345, allocations: 108.7 kB / 1.361 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/0.6348, allocations: 0.714 MB / 1.362 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/0.6348, allocations: 0 / 1.362 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of Templates: time 0.00258/0.6374, allocations: 1.064 MB / 1.363 GB, free: 30.24 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches