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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00915/0.00915, allocations: 99.92 kB / 15.73 MB, free: 6.047 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.001868/0.001869, allocations: 183.3 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.732/2.732, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.89 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3531, allocations: 157.4 MB / 1.208 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.9889/1.342, allocations: 213.6 MB / 1.416 GB, free: 12.5 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01749/1.36, allocations: 10.21 MB / 1.426 GB, free: 4.207 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/1.362, allocations: 37.5 kB / 1.426 GB, free: 4.195 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003525/1.366, allocations: 0.8448 MB / 1.427 GB, free: 3.504 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01114/1.377, allocations: 2.886 MB / 1.43 GB, free: 1.293 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005611/1.383, allocations: 1.418 MB / 1.431 GB, free: 208 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00587/1.389, allocations: 3.173 MB / 1.434 GB, free: 14.4 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002337/1.391, allocations: 1.029 MB / 1.435 GB, free: 13.57 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003016/1.394, allocations: 1.137 MB / 1.437 GB, free: 12.43 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003212/1.397, allocations: 1.077 MB / 1.438 GB, free: 11.36 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005178/1.398, allocations: 120 kB / 1.438 GB, free: 11.24 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008623/1.406, allocations: 2.732 MB / 1.44 GB, free: 8.5 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001095/1.408, allocations: 0.4909 MB / 1.441 GB, free: 8.008 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002354/1.41, allocations: 0.7234 MB / 1.442 GB, free: 7.281 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006743/1.417, allocations: 2.813 MB / 1.444 GB, free: 4.461 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/1.417, allocations: 0 / 1.444 GB, free: 4.461 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.663e-06/1.417, allocations: 0 / 1.444 GB, free: 4.461 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.005e-05/1.417, allocations: 3.938 kB / 1.444 GB, free: 4.457 MB / 1.123 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.005243/1.422, allocations: 1.792 MB / 1.446 GB, free: 2.613 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/1.422, allocations: 8.625 kB / 1.446 GB, free: 2.605 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003121/1.425, allocations: 430 kB / 1.447 GB, free: 2.184 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/1.427, allocations: 0.8941 MB / 1.447 GB, free: 1.246 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.207e-05/1.427, allocations: 73.98 kB / 1.447 GB, free: 1.172 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/1.428, allocations: 99.91 kB / 1.448 GB, free: 1.074 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/1.43, allocations: 1.198 MB / 1.449 GB, free: 15.84 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/1.43, allocations: 4 kB / 1.449 GB, free: 15.84 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/1.43, allocations: 40 kB / 1.449 GB, free: 15.8 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.819e-05/1.43, allocations: 50.55 kB / 1.449 GB, free: 15.75 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/1.432, allocations: 1.073 MB / 1.45 GB, free: 14.68 MB / 1.139 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.006392/1.438, allocations: 4.754 MB / 1.455 GB, free: 9.523 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/1.44, allocations: 0.9846 MB / 1.455 GB, free: 8.5 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/1.441, allocations: 0.5948 MB / 1.456 GB, free: 7.902 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000699/1.442, allocations: 0.6772 MB / 1.457 GB, free: 7.078 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/1.442, allocations: 47.16 kB / 1.457 GB, free: 7.023 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 3.165e-06/1.442, allocations: 0 / 1.457 GB, free: 7.023 MB / 1.139 GB Notification: Performance of matching and sorting (n=83): time 0.004259/1.446, allocations: 2.3 MB / 1.459 GB, free: 4.672 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/1.446, allocations: 60.41 kB / 1.459 GB, free: 4.602 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008545/1.447, allocations: 0.6411 MB / 1.46 GB, free: 3.953 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/1.447, allocations: 41.7 kB / 1.46 GB, free: 3.906 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/1.447, allocations: 460 kB / 1.46 GB, free: 3.449 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/1.448, allocations: 299.6 kB / 1.46 GB, free: 3.152 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/1.448, allocations: 130.7 kB / 1.461 GB, free: 3.016 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.448, allocations: 390.7 kB / 1.461 GB, free: 2.625 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/1.449, allocations: 322.5 kB / 1.461 GB, free: 2.312 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005747/1.449, allocations: 426.5 kB / 1.462 GB, free: 1.871 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/1.45, allocations: 0.7768 MB / 1.462 GB, free: 1.066 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.45, allocations: 11.94 kB / 1.462 GB, free: 1.055 MB / 1.139 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001583/1.452, allocations: 0.9463 MB / 1.463 GB, free: 100 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/1.452, allocations: 8 kB / 1.463 GB, free: 92 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/1.452, allocations: 7.625 kB / 1.463 GB, free: 88 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002692/1.452, allocations: 61.02 kB / 1.463 GB, free: 24 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/1.453, allocations: 159.7 kB / 1.464 GB, free: 15.87 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004975/1.454, allocations: 0.6031 MB / 1.464 GB, free: 15.24 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008044/1.454, allocations: 27.89 kB / 1.464 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/1.454, allocations: 28 kB / 1.464 GB, free: 15.18 MB / 1.154 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000449/1.455, allocations: 305.6 kB / 1.465 GB, free: 14.88 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/1.455, allocations: 86.97 kB / 1.465 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/1.457, allocations: 0.9307 MB / 1.466 GB, free: 13.85 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/1.457, allocations: 8 kB / 1.466 GB, free: 13.84 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.457, allocations: 4 kB / 1.466 GB, free: 13.84 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001307/1.458, allocations: 0.9271 MB / 1.466 GB, free: 12.86 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003315/1.461, allocations: 2.11 MB / 1.468 GB, free: 10.69 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/1.461, allocations: 0 / 1.468 GB, free: 10.69 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009143/1.462, allocations: 191.8 kB / 1.469 GB, free: 10.5 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/1.462, allocations: 7.922 kB / 1.469 GB, free: 10.5 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.527e-05/1.462, allocations: 27.94 kB / 1.469 GB, free: 10.47 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.476e-05/1.462, allocations: 4 kB / 1.469 GB, free: 10.46 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.462, allocations: 0 / 1.469 GB, free: 10.46 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/1.464, allocations: 1.388 MB / 1.47 GB, free: 9.062 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00049/1.465, allocations: 248 kB / 1.47 GB, free: 8.801 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/1.465, allocations: 19.94 kB / 1.47 GB, free: 8.781 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006853/1.466, allocations: 26.05 kB / 1.47 GB, free: 8.758 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/1.466, allocations: 48.92 kB / 1.47 GB, free: 8.707 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.27e-05/1.466, allocations: 36.73 kB / 1.47 GB, free: 8.672 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005507/1.467, allocations: 455 kB / 1.471 GB, free: 8.234 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.31e-07/1.467, allocations: 0 / 1.471 GB, free: 8.234 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008975/1.468, allocations: 323.9 kB / 1.471 GB, free: 7.918 MB / 1.154 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003774/1.468, allocations: 203.7 kB / 1.471 GB, free: 7.711 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001432/1.469, allocations: 0.8211 MB / 1.472 GB, free: 6.891 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.469, allocations: 3.984 kB / 1.472 GB, free: 6.887 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006387/1.47, allocations: 441.6 kB / 1.473 GB, free: 6.457 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/1.473, allocations: 0.5945 MB / 1.473 GB, free: 5.883 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003745/1.476, allocations: 2.287 MB / 1.475 GB, free: 3.566 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007669/1.477, allocations: 1.124 MB / 1.477 GB, free: 2.41 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008878/1.478, allocations: 247.8 kB / 1.477 GB, free: 2.164 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/1.478, allocations: 83.42 kB / 1.477 GB, free: 2.086 MB / 1.154 GB Notification: Performance of SimCode: time 8.62e-07/1.478, allocations: 0 / 1.477 GB, free: 2.086 MB / 1.154 GB Notification: Performance of Templates: time 0.03633/1.515, allocations: 20.98 MB / 1.497 GB, free: 13.36 MB / 1.186 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches