Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.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.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom") translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom") [: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.813/1.813, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0009648/0.0009648, allocations: 181.2 kB / 490.8 MB, free: 1.93 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.125/1.125, 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.0008643/0.0008643, allocations: 95.3 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.412e-06/6.422e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1921, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.855/3.047, allocations: 1.923 GB / 3.134 GB, free: 393 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/3.047, allocations: 91.86 kB / 3.135 GB, free: 392.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.02/5.067, allocations: 0.8147 GB / 3.949 GB, free: 217.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.81e-05/5.067, allocations: 32.75 kB / 3.949 GB, free: 217.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.003621/5.071, allocations: 1.598 MB / 3.951 GB, free: 217.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/5.071, allocations: 11.31 kB / 3.951 GB, free: 217.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/5.074, allocations: 462.3 kB / 3.951 GB, free: 217.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/5.075, allocations: 0.9115 MB / 3.952 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/5.075, allocations: 29.47 kB / 3.952 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/5.075, allocations: 68.81 kB / 3.952 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001307/5.076, allocations: 0.9441 MB / 3.953 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/5.078, allocations: 1.071 MB / 3.954 GB, free: 216.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/5.078, allocations: 3.188 kB / 3.954 GB, free: 216.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-05/5.078, allocations: 2.375 kB / 3.954 GB, free: 216.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-05/5.078, allocations: 48.52 kB / 3.954 GB, free: 216.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004246/5.082, allocations: 5.34 MB / 3.96 GB, free: 213.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/5.083, allocations: 0.5058 MB / 3.96 GB, free: 213.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007527/5.083, allocations: 0.5965 MB / 3.961 GB, free: 213.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003855/5.084, allocations: 0.6832 MB / 3.961 GB, free: 212.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/5.084, allocations: 44.88 kB / 3.961 GB, free: 212.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 1.813e-06/5.084, allocations: 0 / 3.961 GB, free: 212.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=83): time 0.004256/5.088, allocations: 2.239 MB / 3.963 GB, free: 212.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.729e-05/5.088, allocations: 66.41 kB / 3.964 GB, free: 212.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/5.089, allocations: 486 kB / 3.964 GB, free: 212.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/5.089, allocations: 25.7 kB / 3.964 GB, free: 212.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/5.089, allocations: 357.4 kB / 3.964 GB, free: 212 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/5.089, allocations: 287.6 kB / 3.965 GB, free: 211.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/5.089, allocations: 0 / 3.965 GB, free: 211.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.011e-05/5.089, allocations: 389 kB / 3.965 GB, free: 211.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/5.09, allocations: 355.7 kB / 3.965 GB, free: 211.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004387/5.09, allocations: 474.6 kB / 3.966 GB, free: 211.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006945/5.091, allocations: 454.5 kB / 3.966 GB, free: 211.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/5.091, allocations: 1.969 kB / 3.966 GB, free: 211.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001421/5.092, allocations: 1.027 MB / 3.967 GB, free: 211.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/5.092, allocations: 7.281 kB / 3.967 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/5.092, allocations: 2.812 kB / 3.967 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/5.092, allocations: 54.09 kB / 3.967 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007361/5.093, allocations: 165.1 kB / 3.967 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003389/5.093, allocations: 0.6257 MB / 3.968 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009098/5.094, allocations: 91.28 kB / 3.968 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/5.094, allocations: 28.25 kB / 3.968 GB, free: 210.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001257/5.095, allocations: 118.5 kB / 3.968 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/5.095, allocations: 85.47 kB / 3.968 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/5.096, allocations: 0.9989 MB / 3.969 GB, free: 210.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/5.096, allocations: 7.375 kB / 3.969 GB, free: 210.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/5.096, allocations: 5.688 kB / 3.969 GB, free: 210.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001055/5.097, allocations: 0.983 MB / 3.97 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/5.1, allocations: 2.114 MB / 3.972 GB, free: 210 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/5.1, allocations: 0 / 3.972 GB, free: 210 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000974/5.101, allocations: 205.5 kB / 3.973 GB, free: 210 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/5.101, allocations: 3.625 kB / 3.973 GB, free: 210 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.486e-05/5.101, allocations: 16.48 kB / 3.973 GB, free: 210 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/5.101, allocations: 3.75 kB / 3.973 GB, free: 210 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/5.101, allocations: 0 / 3.973 GB, free: 210 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001544/5.102, allocations: 1.41 MB / 3.974 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/5.103, allocations: 256.4 kB / 3.974 GB, free: 209.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/5.103, allocations: 3.375 kB / 3.974 GB, free: 209.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008104/5.104, allocations: 77.66 kB / 3.974 GB, free: 209.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/5.104, allocations: 45.48 kB / 3.974 GB, free: 209.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.883e-05/5.104, allocations: 28.17 kB / 3.974 GB, free: 209.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003329/5.104, allocations: 385.8 kB / 3.975 GB, free: 209.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009765/5.105, allocations: 446.8 kB / 3.975 GB, free: 209.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 83 * 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.001917/5.107, allocations: 2.261 MB / 3.977 GB, free: 208.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001044/5.108, allocations: 0.8669 MB / 3.978 GB, free: 208.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/5.108, allocations: 0 / 3.978 GB, free: 208.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004639/5.109, allocations: 460.7 kB / 3.979 GB, free: 208.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/5.111, allocations: 493 kB / 3.979 GB, free: 208.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/5.113, allocations: 1.923 MB / 3.981 GB, free: 208.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007405/5.114, allocations: 1.255 MB / 3.982 GB, free: 207.8 MB / 1.151 GB Notification: Performance of SimCode: time 7.11e-07/5.114, allocations: 0 / 3.982 GB, free: 207.8 MB / 1.151 GB Notification: Performance of Templates: time 0.03592/5.15, allocations: 30.75 MB / 4.012 GB, free: 207.2 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneRoom.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches