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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001303, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.667/2.667, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 8 kB / 0.8707 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7787/0.779, allocations: 153.7 MB / 1.021 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.217/0.9961, allocations: 176.1 MB / 1.193 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01415/1.01, allocations: 9.763 MB / 1.202 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/1.012, allocations: 27.81 kB / 1.202 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002282/1.014, allocations: 0.7428 MB / 1.203 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006995/1.021, allocations: 2.301 MB / 1.205 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003188/1.024, allocations: 1.095 MB / 1.206 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003399/1.028, allocations: 1.819 MB / 1.208 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/1.029, allocations: 0.7609 MB / 1.209 GB, free: 164 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/1.03, allocations: 0.8879 MB / 1.21 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000869/1.031, allocations: 0.6577 MB / 1.21 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.00011/1.031, allocations: 56 kB / 1.21 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/1.034, allocations: 1.1 MB / 1.212 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003871/1.035, allocations: 390.9 kB / 1.212 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000302/1.035, allocations: 281.1 kB / 1.212 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001936/1.037, allocations: 1.644 MB / 1.214 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/1.037, allocations: 3.938 kB / 1.214 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/1.037, allocations: 0 / 1.214 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.747e-05/1.037, allocations: 4 kB / 1.214 GB, free: 11.13 MB / 0.9669 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.003508/1.041, allocations: 1.507 MB / 1.215 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.041, allocations: 15.98 kB / 1.215 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002837/1.043, allocations: 434.1 kB / 1.216 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/1.045, allocations: 0.8283 MB / 1.217 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/1.045, allocations: 73.98 kB / 1.217 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/1.045, allocations: 96 kB / 1.217 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/1.047, allocations: 1.19 MB / 1.218 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/1.047, allocations: 0 / 1.218 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/1.047, allocations: 40 kB / 1.218 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.836e-05/1.047, allocations: 49.98 kB / 1.218 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/1.049, allocations: 1.066 MB / 1.219 GB, free: 5.719 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006602/1.056, allocations: 4.739 MB / 1.224 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/1.057, allocations: 0.9724 MB / 1.225 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006791/1.058, allocations: 0.6772 MB / 1.225 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/1.058, allocations: 51.14 kB / 1.225 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 3.907e-06/1.058, allocations: 0 / 1.225 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.004625/1.063, allocations: 2.281 MB / 1.227 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/1.063, allocations: 64.41 kB / 1.228 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008592/1.064, allocations: 0.6295 MB / 1.228 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.039e-05/1.064, allocations: 41.7 kB / 1.228 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/1.064, allocations: 456 kB / 1.229 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002993/1.065, allocations: 299.6 kB / 1.229 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/1.065, allocations: 16 kB / 1.229 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002073/1.065, allocations: 394.7 kB / 1.229 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000497/1.065, allocations: 313.8 kB / 1.23 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005802/1.066, allocations: 418.5 kB / 1.23 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005734/1.066, allocations: 386.8 kB / 1.23 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.066, allocations: 0 / 1.23 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001517/1.068, allocations: 0.9502 MB / 1.231 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/1.068, allocations: 4 kB / 1.231 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.068, allocations: 8 kB / 1.231 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003035/1.068, allocations: 80.69 kB / 1.231 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000656/1.069, allocations: 143.8 kB / 1.232 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005588/1.07, allocations: 0.6461 MB / 1.232 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/1.071, allocations: 99.83 kB / 1.232 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/1.071, allocations: 27.98 kB / 1.232 GB, free: 7.324 MB / 0.9825 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005301/1.071, allocations: 301.6 kB / 1.233 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/1.071, allocations: 94.88 kB / 1.233 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/1.073, allocations: 0.9168 MB / 1.234 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/1.073, allocations: 12 kB / 1.234 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/1.073, allocations: 3.953 kB / 1.234 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001242/1.074, allocations: 0.9231 MB / 1.234 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/1.078, allocations: 2.09 MB / 1.237 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/1.078, allocations: 3.938 kB / 1.237 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009164/1.078, allocations: 187.8 kB / 1.237 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/1.079, allocations: 7.953 kB / 1.237 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/1.079, allocations: 16 kB / 1.237 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/1.079, allocations: 7.984 kB / 1.237 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.079, allocations: 3.938 kB / 1.237 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/1.081, allocations: 1.368 MB / 1.238 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005259/1.081, allocations: 248 kB / 1.238 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/1.081, allocations: 23.95 kB / 1.238 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000801/1.082, allocations: 87.77 kB / 1.238 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/1.082, allocations: 52.92 kB / 1.238 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.277e-05/1.082, allocations: 20 kB / 1.238 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005517/1.083, allocations: 455 kB / 1.239 GB, free: 384 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/1.083, allocations: 96 / 1.239 GB, free: 384 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008946/1.084, allocations: 323.9 kB / 1.239 GB, free: 60 kB / 0.9825 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 () * Number of clocked 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.0004339/1.084, allocations: 212.9 kB / 1.239 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001437/1.086, allocations: 0.809 MB / 1.24 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.086, allocations: 0 / 1.24 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006229/1.086, allocations: 433.6 kB / 1.241 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/1.089, allocations: 0.563 MB / 1.241 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004211/1.093, allocations: 2.818 MB / 1.244 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009547/1.094, allocations: 1.155 MB / 1.245 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001147/1.095, allocations: 243.8 kB / 1.245 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/1.095, allocations: 75.42 kB / 1.245 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/1.095, allocations: 4 kB / 1.245 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of Templates: time 0.5751/1.671, allocations: 18.8 MB / 1.264 GB, free: 230.1 MB / 0.9981 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