Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") [: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.725/1.725, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.0008607/0.0008607, allocations: 180.1 kB / 490.8 MB, free: 1.934 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.075/1.075, allocations: 221.4 MB / 0.7863 GB, free: 13.65 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.0008228/0.0008228, allocations: 101.6 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.135e-06/8.246e-06, allocations: 8 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1723, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4556/0.628, allocations: 148.5 MB / 1.357 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001603/0.6282, allocations: 63.72 kB / 1.357 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.001378/0.6296, allocations: 470.1 kB / 1.357 GB, free: 17.28 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.6296, allocations: 5.125 kB / 1.357 GB, free: 17.28 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.0002112/0.6298, allocations: 331.7 kB / 1.357 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.767e-05/0.6298, allocations: 8.938 kB / 1.357 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.6299, allocations: 11.03 kB / 1.357 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.63, allocations: 182.5 kB / 1.358 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.63, allocations: 1.094 kB / 1.358 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.63, allocations: 3.125 kB / 1.358 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.55e-05/0.6301, allocations: 41.67 kB / 1.358 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.77e-05/0.6302, allocations: 73.58 kB / 1.358 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.6302, allocations: 4 kB / 1.358 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.6303, allocations: 3.906 kB / 1.358 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.6303, allocations: 1.312 kB / 1.358 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.6306, allocations: 448.5 kB / 1.358 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.341e-05/0.6307, allocations: 173.6 kB / 1.358 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/0.6307, allocations: 80.89 kB / 1.358 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.6308, allocations: 75.39 kB / 1.358 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.6308, allocations: 112 kB / 1.359 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.6308, allocations: 0 / 1.359 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.106e-05/0.6309, allocations: 36.72 kB / 1.359 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.152e-05/0.6309, allocations: 59.16 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.805e-05/0.631, allocations: 116.2 kB / 1.359 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.419e-06/0.631, allocations: 26.86 kB / 1.359 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.382e-05/0.631, allocations: 92.88 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-06/0.631, allocations: 0 / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.631, allocations: 0 / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.6311, allocations: 318.2 kB / 1.359 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.6312, allocations: 6.531 kB / 1.359 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.133e-05/0.6312, allocations: 14.73 kB / 1.359 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.021e-05/0.6312, allocations: 7.375 kB / 1.359 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6312, allocations: 0 / 1.359 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.946e-05/0.6313, allocations: 49.42 kB / 1.359 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.715e-06/0.6313, allocations: 3.844 kB / 1.359 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.6313, allocations: 1.859 kB / 1.359 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.6313, allocations: 0 / 1.359 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.971e-05/0.6314, allocations: 4.172 kB / 1.359 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.6314, allocations: 3.938 kB / 1.359 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.059e-05/0.6314, allocations: 7.797 kB / 1.359 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.6314, allocations: 5 kB / 1.359 GB, free: 31.15 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 (1): * Single equations (assignments): 1 * 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.216e-05/0.6315, allocations: 178 kB / 1.359 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.6316, allocations: 104 kB / 1.36 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.6316, allocations: 115.5 kB / 1.36 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-05/0.6317, allocations: 185.8 kB / 1.36 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.214e-05/0.6317, allocations: 181.7 kB / 1.36 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.55e-05/0.6318, allocations: 177.9 kB / 1.36 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.6319, allocations: 399.9 kB / 1.361 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.293e-05/0.6319, allocations: 109.2 kB / 1.361 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.632, allocations: 105.8 kB / 1.361 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.584e-05/0.632, allocations: 182.3 kB / 1.361 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.6321, allocations: 182.3 kB / 1.361 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.815e-05/0.6321, allocations: 178.6 kB / 1.361 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.637e-05/0.6322, allocations: 180.8 kB / 1.361 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.624e-05/0.6322, allocations: 314.9 kB / 1.362 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.6323, allocations: 194.8 kB / 1.362 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.6323, allocations: 178.5 kB / 1.362 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.423e-05/0.6324, allocations: 103 kB / 1.362 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.6325, allocations: 182.8 kB / 1.362 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.6325, allocations: 101 kB / 1.362 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.607e-05/0.6325, allocations: 101 kB / 1.363 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001877/0.6327, allocations: 9.219 kB / 1.363 GB, free: 27.66 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 (0): * Single equations (assignments): 0 * 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.739e-05/0.6328, allocations: 177.3 kB / 1.363 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.328e-05/0.6329, allocations: 11.88 kB / 1.363 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.6329, allocations: 0 / 1.363 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.6329, allocations: 3.938 kB / 1.363 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.6332, allocations: 0.5317 MB / 1.363 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001645/0.6334, allocations: 154.8 kB / 1.363 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.6336, allocations: 0.705 MB / 1.364 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/0.6336, allocations: 0 / 1.364 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of Templates: time 0.001535/0.6351, allocations: 307.6 kB / 1.364 GB, free: 26.06 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches