Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.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.Airflow.Multizone.BaseClasses.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate") [: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.754/1.754, allocations: 390.4 MB / 397.7 MB, free: 1.754 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009793/0.0009795, allocations: 181.2 kB / 490.8 MB, free: 7.305 MB / 402.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.097/1.097, allocations: 221.3 MB / 0.7863 GB, free: 68 kB / 0.5496 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008403/0.0008403, allocations: 96.67 kB / 0.9264 GB, free: 444 kB / 0.6902 GB Notification: Performance of FrontEnd - loaded program: time 5.279e-06/5.299e-06, allocations: 0 / 1.072 GB, free: 137.4 MB / 0.7214 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1767, allocations: 143 MB / 1.212 GB, free: 10.41 MB / 0.7371 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4833/0.66, allocations: 150.8 MB / 1.359 GB, free: 10.97 MB / 0.8308 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.6602, allocations: 87.92 kB / 1.359 GB, free: 10.89 MB / 0.8308 GB Notification: Performance of FrontEnd: time 0.01113/0.6714, allocations: 3.973 MB / 1.363 GB, free: 6.922 MB / 0.8308 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.6714, allocations: 0 / 1.363 GB, free: 6.922 MB / 0.8308 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.0004231/0.6718, allocations: 477.8 kB / 1.363 GB, free: 6.41 MB / 0.8308 GB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.6719, allocations: 8.031 kB / 1.363 GB, free: 6.402 MB / 0.8308 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.6719, allocations: 19.72 kB / 1.363 GB, free: 6.383 MB / 0.8308 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.6721, allocations: 243.3 kB / 1.364 GB, free: 6.102 MB / 0.8308 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.6722, allocations: 0 / 1.364 GB, free: 6.102 MB / 0.8308 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.6722, allocations: 7.906 kB / 1.364 GB, free: 6.094 MB / 0.8308 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001026/0.6723, allocations: 59.94 kB / 1.364 GB, free: 6.035 MB / 0.8308 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.219e-05/0.6724, allocations: 73.56 kB / 1.364 GB, free: 5.957 MB / 0.8308 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.6724, allocations: 4 kB / 1.364 GB, free: 5.953 MB / 0.8308 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.6724, allocations: 0 / 1.364 GB, free: 5.953 MB / 0.8308 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.6724, allocations: 0 / 1.364 GB, free: 5.953 MB / 0.8308 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.6729, allocations: 361.3 kB / 1.364 GB, free: 5.562 MB / 0.8308 GB Notification: Performance of preOpt comSubExp (simulation): time 9.299e-05/0.673, allocations: 78.52 kB / 1.364 GB, free: 5.477 MB / 0.8308 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.6731, allocations: 28.91 kB / 1.364 GB, free: 5.445 MB / 0.8308 GB Notification: Performance of preOpt evalFunc (simulation): time 4.084e-05/0.6731, allocations: 11.98 kB / 1.364 GB, free: 5.434 MB / 0.8308 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.6731, allocations: 46.48 kB / 1.364 GB, free: 5.379 MB / 0.8308 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.6732, allocations: 0 / 1.364 GB, free: 5.379 MB / 0.8308 GB Notification: Performance of matching and sorting (n=2): time 0.0002314/0.6734, allocations: 109.4 kB / 1.364 GB, free: 5.266 MB / 0.8308 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.6734, allocations: 51.41 kB / 1.364 GB, free: 5.203 MB / 0.8308 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.6737, allocations: 299.4 kB / 1.365 GB, free: 4.91 MB / 0.8308 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.6737, allocations: 25.7 kB / 1.365 GB, free: 4.879 MB / 0.8308 GB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.6737, allocations: 116 kB / 1.365 GB, free: 4.762 MB / 0.8308 GB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/0.6737, allocations: 3.938 kB / 1.365 GB, free: 4.758 MB / 0.8308 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.6738, allocations: 0 / 1.365 GB, free: 4.758 MB / 0.8308 GB Notification: Performance of setup shared object (initialization): time 8.265e-05/0.6738, allocations: 338.7 kB / 1.365 GB, free: 4.418 MB / 0.8308 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.197e-05/0.6739, allocations: 75.98 kB / 1.365 GB, free: 4.344 MB / 0.8308 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.674, allocations: 67.95 kB / 1.365 GB, free: 4.277 MB / 0.8308 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.6741, allocations: 71.95 kB / 1.365 GB, free: 4.207 MB / 0.8308 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6741, allocations: 0 / 1.365 GB, free: 4.207 MB / 0.8308 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002538/0.6744, allocations: 225.2 kB / 1.365 GB, free: 3.98 MB / 0.8308 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.6744, allocations: 7.281 kB / 1.366 GB, free: 3.977 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.6744, allocations: 4 kB / 1.366 GB, free: 3.973 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.6744, allocations: 0 / 1.366 GB, free: 3.973 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.805e-05/0.6745, allocations: 19.98 kB / 1.366 GB, free: 3.953 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-06/0.6745, allocations: 0 / 1.366 GB, free: 3.953 MB / 0.8308 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.666e-05/0.6746, allocations: 15.84 kB / 1.366 GB, free: 3.938 MB / 0.8308 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.6747, allocations: 11.98 kB / 1.366 GB, free: 3.926 MB / 0.8308 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.401e-05/0.6747, allocations: 108.9 kB / 1.366 GB, free: 3.812 MB / 0.8308 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.6748, allocations: 19.72 kB / 1.366 GB, free: 3.793 MB / 0.8308 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.675, allocations: 158.6 kB / 1.366 GB, free: 3.629 MB / 0.8308 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.675, allocations: 0 / 1.366 GB, free: 3.629 MB / 0.8308 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.6751, allocations: 8 kB / 1.366 GB, free: 3.621 MB / 0.8308 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.6751, allocations: 0 / 1.366 GB, free: 3.621 MB / 0.8308 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.6752, allocations: 210.1 kB / 1.366 GB, free: 3.379 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.6752, allocations: 0 / 1.366 GB, free: 3.379 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.461e-05/0.6753, allocations: 15.98 kB / 1.366 GB, free: 3.363 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.6753, allocations: 7.938 kB / 1.366 GB, free: 3.355 MB / 0.8308 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.6754, allocations: 0 / 1.366 GB, free: 3.355 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6754, allocations: 0 / 1.366 GB, free: 3.355 MB / 0.8308 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6754, allocations: 4 kB / 1.366 GB, free: 3.352 MB / 0.8308 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001689/0.6755, allocations: 203.2 kB / 1.366 GB, free: 3.137 MB / 0.8308 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.6756, allocations: 100.8 kB / 1.366 GB, free: 3.02 MB / 0.8308 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.6756, allocations: 0 / 1.366 GB, free: 3.02 MB / 0.8308 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.6757, allocations: 16.02 kB / 1.366 GB, free: 3.004 MB / 0.8308 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.6758, allocations: 4 kB / 1.366 GB, free: 3 MB / 0.8308 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.6758, allocations: 4 kB / 1.366 GB, free: 2.996 MB / 0.8308 GB Notification: Performance of sort global known variables: time 0.0001708/0.676, allocations: 235.1 kB / 1.367 GB, free: 2.766 MB / 0.8308 GB Notification: Performance of remove unused functions: time 0.000311/0.6763, allocations: 87.86 kB / 1.367 GB, free: 2.68 MB / 0.8308 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 0.0002732/0.6766, allocations: 166.9 kB / 1.367 GB, free: 2.508 MB / 0.8308 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.6767, allocations: 120 kB / 1.367 GB, free: 2.391 MB / 0.8308 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6768, allocations: 0 / 1.367 GB, free: 2.391 MB / 0.8308 GB Notification: Performance of simCode: created simulation system equations: time 3.631e-05/0.6768, allocations: 27.98 kB / 1.367 GB, free: 2.363 MB / 0.8308 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.677, allocations: 12.44 kB / 1.367 GB, free: 2.352 MB / 0.8308 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.6774, allocations: 267.9 kB / 1.367 GB, free: 2.07 MB / 0.8308 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.6777, allocations: 0.7673 MB / 1.368 GB, free: 1.277 MB / 0.8308 GB Notification: Performance of SimCode: time 2.3e-07/0.6777, allocations: 0 / 1.368 GB, free: 1.277 MB / 0.8308 GB Notification: Performance of Templates: time 0.004296/0.682, allocations: 1.945 MB / 1.37 GB, free: 15.34 MB / 0.8464 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches