Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [: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 7.0.3-maint.7.0.x/package.mo): time 1.165/1.165, allocations: 249.4 MB / 256.7 MB, free: 7.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009582/0.0009582, allocations: 185.2 kB / 316 MB, free: 3.516 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.005/1.005, allocations: 205.2 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008223/0.0008222, allocations: 89.31 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.57e-06/5.59e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1396, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.388/0.5276, allocations: 132.7 MB / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.5278, allocations: 86.38 kB / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001884/0.5297, allocations: 0.5322 MB / 1.015 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.5297, allocations: 0 / 1.015 GB, free: 5.469 MB / 0.6355 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.0002475/0.53, allocations: 326.4 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.53, allocations: 12.02 kB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.5301, allocations: 6.938 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.5302, allocations: 166.9 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.5302, allocations: 6.875 kB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.5302, allocations: 0 / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.663e-05/0.5303, allocations: 11.75 kB / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.485e-05/0.5303, allocations: 33.69 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.5303, allocations: 3.938 kB / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.5304, allocations: 0 / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.5304, allocations: 8 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.5307, allocations: 235.6 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.26e-05/0.5307, allocations: 22.61 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.5308, allocations: 19.61 kB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.5308, allocations: 4 kB / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.5308, allocations: 33.81 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.5308, allocations: 0 / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001331/0.5309, allocations: 41.23 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.531, allocations: 51.41 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.563e-05/0.531, allocations: 103.6 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.5311, allocations: 25.7 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.5311, allocations: 84.17 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.5311, allocations: 7.906 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.5311, allocations: 0 / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.5312, allocations: 313.9 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.5312, allocations: 0 / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.075e-05/0.5313, allocations: 11.8 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.618e-05/0.5313, allocations: 4 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5313, allocations: 0 / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.148e-05/0.5313, allocations: 44.2 kB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.5314, allocations: 12 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.5314, allocations: 0 / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.5314, allocations: 0 / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.425e-05/0.5315, allocations: 7.984 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.5315, allocations: 0 / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.412e-05/0.5315, allocations: 4 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.5315, allocations: 0 / 1.016 GB, free: 3.746 MB / 0.6355 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.47e-05/0.5316, allocations: 105 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.5316, allocations: 7.906 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.5317, allocations: 15.31 kB / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.5317, allocations: 0 / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.5317, allocations: 0 / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5317, allocations: 3.625 kB / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.5318, allocations: 140.6 kB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5318, allocations: 3.938 kB / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.311e-05/0.5318, allocations: 4 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.5319, allocations: 3.984 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.5319, allocations: 4 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5319, allocations: 0 / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5319, allocations: 3.938 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.078e-05/0.532, allocations: 142.7 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.907e-05/0.532, allocations: 81.09 kB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.532, allocations: 4 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-05/0.5321, allocations: 4.031 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.5321, allocations: 7.906 kB / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.5321, allocations: 0 / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.226e-05/0.5322, allocations: 83.27 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001896/0.5324, allocations: 4 kB / 1.017 GB, free: 3.082 MB / 0.6355 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.399e-05/0.5325, allocations: 98.62 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.272e-05/0.5325, allocations: 11.75 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5325, allocations: 64 / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.551e-05/0.5326, allocations: 11.94 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.5327, allocations: 0 / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001794/0.5329, allocations: 62.97 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.5331, allocations: 0.688 MB / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of SimCode: time 2.81e-07/0.5331, allocations: 0 / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of Templates: time 0.001596/0.5347, allocations: 330.7 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches