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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.009362/0.009362, allocations: 99.64 kB / 15.73 MB, free: 6.016 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.001706/0.001706, allocations: 193 kB / 16.67 MB, free: 5.934 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.566/2.566, allocations: 472.7 MB / 0.7453 GB, free: 500 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.89 kB / 1.069 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291/1.293, allocations: 159.9 MB / 1.226 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2796/1.572, allocations: 213.6 MB / 1.434 GB, free: 7.262 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03037/1.603, allocations: 10.2 MB / 1.444 GB, free: 13.04 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003137/1.606, allocations: 39.81 kB / 1.444 GB, free: 13 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.003136/1.609, allocations: 0.8313 MB / 1.445 GB, free: 12.17 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.009457/1.619, allocations: 2.89 MB / 1.448 GB, free: 9.266 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004648/1.623, allocations: 1.417 MB / 1.449 GB, free: 7.848 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005932/1.629, allocations: 3.164 MB / 1.452 GB, free: 4.672 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002079/1.631, allocations: 1.026 MB / 1.453 GB, free: 3.625 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002803/1.634, allocations: 1.133 MB / 1.454 GB, free: 2.488 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002694/1.637, allocations: 1.077 MB / 1.456 GB, free: 1.414 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002181/1.637, allocations: 124 kB / 1.456 GB, free: 1.293 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006827/1.644, allocations: 2.732 MB / 1.458 GB, free: 14.55 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007706/1.645, allocations: 0.4908 MB / 1.459 GB, free: 14.06 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001243/1.646, allocations: 0.7234 MB / 1.459 GB, free: 13.34 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006615/1.653, allocations: 2.827 MB / 1.462 GB, free: 10.5 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/1.653, allocations: 4 kB / 1.462 GB, free: 10.5 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.463e-06/1.653, allocations: 4 kB / 1.462 GB, free: 10.49 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.03e-05/1.653, allocations: 0 / 1.462 GB, free: 10.49 MB / 1.186 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.004372/1.657, allocations: 1.828 MB / 1.464 GB, free: 8.602 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/1.657, allocations: 12.03 kB / 1.464 GB, free: 8.59 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002791/1.66, allocations: 438.7 kB / 1.464 GB, free: 8.16 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/1.661, allocations: 0.8949 MB / 1.465 GB, free: 7.223 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.185e-05/1.661, allocations: 66 kB / 1.465 GB, free: 7.16 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/1.662, allocations: 99.98 kB / 1.466 GB, free: 7.062 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/1.664, allocations: 1.202 MB / 1.467 GB, free: 5.824 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/1.664, allocations: 7.953 kB / 1.467 GB, free: 5.816 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/1.664, allocations: 40 kB / 1.467 GB, free: 5.777 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.176e-05/1.664, allocations: 49.98 kB / 1.467 GB, free: 5.73 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/1.666, allocations: 1.077 MB / 1.468 GB, free: 4.652 MB / 1.186 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.005773/1.671, allocations: 4.755 MB / 1.472 GB, free: 15.5 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/1.673, allocations: 0.9924 MB / 1.473 GB, free: 14.47 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/1.674, allocations: 0.5948 MB / 1.474 GB, free: 13.88 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007714/1.675, allocations: 0.6694 MB / 1.475 GB, free: 13.06 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.916e-05/1.675, allocations: 51.16 kB / 1.475 GB, free: 13 MB / 1.201 GB Notification: Performance of pre-optimization done (n=82): time 5.55e-06/1.675, allocations: 0 / 1.475 GB, free: 13 MB / 1.201 GB Notification: Performance of matching and sorting (n=83): time 0.005314/1.68, allocations: 2.318 MB / 1.477 GB, free: 10.62 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/1.681, allocations: 68.33 kB / 1.477 GB, free: 10.55 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/1.682, allocations: 0.6373 MB / 1.478 GB, free: 9.898 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/1.682, allocations: 41.7 kB / 1.478 GB, free: 9.852 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/1.682, allocations: 460.9 kB / 1.478 GB, free: 9.395 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003036/1.682, allocations: 313.3 kB / 1.478 GB, free: 9.086 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/1.683, allocations: 130.7 kB / 1.479 GB, free: 8.949 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002126/1.683, allocations: 394.7 kB / 1.479 GB, free: 8.555 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004985/1.683, allocations: 317.8 kB / 1.479 GB, free: 8.246 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006113/1.684, allocations: 426.5 kB / 1.48 GB, free: 7.805 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/1.685, allocations: 0.7846 MB / 1.48 GB, free: 6.992 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.685, allocations: 3.938 kB / 1.48 GB, free: 6.988 MB / 1.201 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001493/1.687, allocations: 0.9586 MB / 1.481 GB, free: 6.02 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.687, allocations: 5.719 kB / 1.481 GB, free: 6.016 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.687, allocations: 7.938 kB / 1.481 GB, free: 6.008 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003253/1.687, allocations: 56.83 kB / 1.481 GB, free: 5.949 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006569/1.688, allocations: 155.8 kB / 1.482 GB, free: 5.797 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005054/1.688, allocations: 0.611 MB / 1.482 GB, free: 5.16 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/1.689, allocations: 27.88 kB / 1.482 GB, free: 5.133 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/1.689, allocations: 31.98 kB / 1.482 GB, free: 5.102 MB / 1.201 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.0005255/1.69, allocations: 303.3 kB / 1.483 GB, free: 4.797 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/1.69, allocations: 95.44 kB / 1.483 GB, free: 4.703 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/1.691, allocations: 0.9246 MB / 1.484 GB, free: 3.77 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/1.691, allocations: 8 kB / 1.484 GB, free: 3.762 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.691, allocations: 0 / 1.484 GB, free: 3.762 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001192/1.693, allocations: 0.9271 MB / 1.484 GB, free: 2.785 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002986/1.696, allocations: 2.118 MB / 1.487 GB, free: 0.6133 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.696, allocations: 0 / 1.487 GB, free: 0.6133 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008858/1.697, allocations: 195.8 kB / 1.487 GB, free: 432 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/1.697, allocations: 7.938 kB / 1.487 GB, free: 424 kB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.196e-05/1.697, allocations: 19.98 kB / 1.487 GB, free: 404 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/1.697, allocations: 4 kB / 1.487 GB, free: 400 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.697, allocations: 0 / 1.487 GB, free: 400 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/1.699, allocations: 1.396 MB / 1.488 GB, free: 14.98 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/1.699, allocations: 260.4 kB / 1.488 GB, free: 14.71 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/1.699, allocations: 16 kB / 1.488 GB, free: 14.69 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00061/1.7, allocations: 23.98 kB / 1.488 GB, free: 14.67 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/1.7, allocations: 48.92 kB / 1.488 GB, free: 14.62 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/1.7, allocations: 27.98 kB / 1.488 GB, free: 14.59 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005261/1.7, allocations: 459 kB / 1.489 GB, free: 14.14 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/1.7, allocations: 0 / 1.489 GB, free: 14.14 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008947/1.701, allocations: 315.9 kB / 1.489 GB, free: 13.84 MB / 1.217 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.0003704/1.702, allocations: 223 kB / 1.489 GB, free: 13.61 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0013/1.703, allocations: 0.8129 MB / 1.49 GB, free: 12.8 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.703, allocations: 3.938 kB / 1.49 GB, free: 12.79 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0005864/1.704, allocations: 437.6 kB / 1.491 GB, free: 12.37 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/1.706, allocations: 0.6017 MB / 1.491 GB, free: 11.78 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/1.71, allocations: 2.315 MB / 1.493 GB, free: 9.434 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006774/1.71, allocations: 1.12 MB / 1.495 GB, free: 8.281 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008997/1.711, allocations: 251.8 kB / 1.495 GB, free: 8.031 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/1.711, allocations: 83.44 kB / 1.495 GB, free: 7.949 MB / 1.217 GB Notification: Performance of SimCode: time 2.184e-06/1.711, allocations: 0 / 1.495 GB, free: 7.949 MB / 1.217 GB Notification: Performance of Templates: time 0.03547/1.747, allocations: 20.66 MB / 1.515 GB, free: 3.543 MB / 1.232 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