Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") [: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.712/1.712, 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.0008737/0.0008737, allocations: 185.2 kB / 490.8 MB, free: 1.938 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.67 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.0007869/0.0007869, allocations: 92.84 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.965e-06/8.055e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1752, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4682/0.6434, allocations: 148.8 MB / 1.357 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001644/0.6436, allocations: 69.17 kB / 1.357 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.002242/0.6459, allocations: 0.7367 MB / 1.358 GB, free: 17.19 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.6459, allocations: 1.156 kB / 1.358 GB, free: 17.19 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002761/0.6462, allocations: 344 kB / 1.358 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.6462, allocations: 8.719 kB / 1.358 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.6462, allocations: 1 kB / 1.358 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.221e-05/0.6463, allocations: 166.6 kB / 1.358 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.6463, allocations: 0 / 1.358 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.6463, allocations: 1.094 kB / 1.358 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.342e-05/0.6464, allocations: 14.72 kB / 1.358 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.44e-05/0.6465, allocations: 32.25 kB / 1.358 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.6465, allocations: 0 / 1.358 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.6465, allocations: 1 kB / 1.358 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.6465, allocations: 0.6094 kB / 1.358 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.6468, allocations: 251.5 kB / 1.358 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.857e-05/0.6468, allocations: 23.83 kB / 1.358 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.6469, allocations: 12.39 kB / 1.358 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.6469, allocations: 0 / 1.358 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.009e-05/0.6469, allocations: 36.8 kB / 1.359 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.6469, allocations: 0 / 1.359 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001178/0.647, allocations: 42.56 kB / 1.359 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.297e-05/0.647, allocations: 56.14 kB / 1.359 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.76e-05/0.6471, allocations: 94.45 kB / 1.359 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.553e-06/0.6471, allocations: 25.7 kB / 1.359 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/0.6472, allocations: 82.03 kB / 1.359 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.6472, allocations: 10.02 kB / 1.359 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.6472, allocations: 0 / 1.359 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6473, allocations: 316.8 kB / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/0.6473, allocations: 5.969 kB / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.132e-05/0.6473, allocations: 4.188 kB / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.486e-05/0.6474, allocations: 7.031 kB / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6474, allocations: 0 / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.503e-05/0.6474, allocations: 44.12 kB / 1.359 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.6474, allocations: 5.156 kB / 1.359 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.6474, allocations: 0.5156 kB / 1.359 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/0.6475, allocations: 5.438 kB / 1.359 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.411e-05/0.6476, allocations: 11.41 kB / 1.359 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.6476, allocations: 1.703 kB / 1.359 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.42e-05/0.6476, allocations: 16.2 kB / 1.359 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.6476, allocations: 3.281 kB / 1.359 GB, free: 31.61 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 (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 5.49e-05/0.6477, allocations: 106.7 kB / 1.359 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.6477, allocations: 5.094 kB / 1.359 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.6478, allocations: 8.969 kB / 1.359 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6478, allocations: 0.5625 kB / 1.359 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.6478, allocations: 0.9688 kB / 1.359 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.6478, allocations: 0.75 kB / 1.359 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.373e-05/0.6479, allocations: 138.9 kB / 1.359 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.6479, allocations: 4.609 kB / 1.359 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.664e-05/0.6479, allocations: 15.17 kB / 1.359 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.6479, allocations: 0.75 kB / 1.359 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.648, allocations: 1.156 kB / 1.359 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.648, allocations: 0 / 1.359 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.648, allocations: 1.766 kB / 1.359 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.147e-05/0.6481, allocations: 138.2 kB / 1.36 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.6481, allocations: 83.03 kB / 1.36 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.6481, allocations: 1.562 kB / 1.36 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.6482, allocations: 10.08 kB / 1.36 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.6482, allocations: 6.281 kB / 1.36 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.6482, allocations: 0.5625 kB / 1.36 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.791e-05/0.6483, allocations: 79.16 kB / 1.36 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001859/0.6485, allocations: 4.219 kB / 1.36 GB, free: 31.02 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 (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 8.856e-05/0.6485, allocations: 105.6 kB / 1.36 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.896e-05/0.6486, allocations: 9.078 kB / 1.36 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.11e-07/0.6486, allocations: 0 / 1.36 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/0.6486, allocations: 8.906 kB / 1.36 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.6488, allocations: 17.64 kB / 1.36 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001507/0.649, allocations: 60.22 kB / 1.36 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.6492, allocations: 0.6916 MB / 1.361 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/0.6492, allocations: 0 / 1.361 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of Templates: time 0.001736/0.6509, allocations: 390.4 kB / 1.361 GB, free: 30.1 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches