Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Validation.ThreeRoomsContamDiscretizedDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor") translateModel(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.91 kB / 0.8692 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6025/0.6038, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 0.8227/1.427, allocations: 299.1 MB / 1.309 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01981/1.446, allocations: 15.3 MB / 1.324 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004063/1.451, allocations: 70.09 kB / 1.324 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005041/1.456, allocations: 1.746 MB / 1.326 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01503/1.471, allocations: 5.915 MB / 1.332 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007263/1.478, allocations: 2.809 MB / 1.335 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008906/1.487, allocations: 7.113 MB / 1.342 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003752/1.491, allocations: 2.71 MB / 1.344 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005774/1.497, allocations: 2.61 MB / 1.347 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00592/1.502, allocations: 2.623 MB / 1.349 GB, free: 472 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001492/1.504, allocations: 341 kB / 1.35 GB, free: 472 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01605/1.52, allocations: 5.744 MB / 1.355 GB, free: 412 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002703/1.523, allocations: 1.503 MB / 1.357 GB, free: 272 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003737/1.527, allocations: 1.932 MB / 1.359 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0156/1.542, allocations: 6.795 MB / 1.365 GB, free: 14.95 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.016e-06/1.542, allocations: 0 / 1.365 GB, free: 14.95 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.224e-06/1.542, allocations: 0 / 1.365 GB, free: 14.95 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000145/1.542, allocations: 0 / 1.365 GB, free: 14.95 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 726 * Number of variables: 726 Notification: Performance of Generate backend data structure: time 0.01326/1.556, allocations: 4.164 MB / 1.369 GB, free: 12.74 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/1.556, allocations: 14.91 kB / 1.369 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006042/1.562, allocations: 0.8473 MB / 1.37 GB, free: 12.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005707/1.568, allocations: 1.793 MB / 1.372 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/1.568, allocations: 209.2 kB / 1.372 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006451/1.568, allocations: 279 kB / 1.372 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006773/1.575, allocations: 3.63 MB / 1.376 GB, free: 9.113 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.861e-05/1.575, allocations: 16.64 kB / 1.376 GB, free: 9.102 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002833/1.576, allocations: 119.3 kB / 1.376 GB, free: 9.012 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/1.576, allocations: 146.2 kB / 1.376 GB, free: 8.984 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006553/1.582, allocations: 3.733 MB / 1.38 GB, free: 7.184 MB / 1.014 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.01789/1.6, allocations: 13.33 MB / 1.393 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004521/1.605, allocations: 3.235 MB / 1.396 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002634/1.607, allocations: 1.786 MB / 1.398 GB, free: 8.371 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001647/1.609, allocations: 1.586 MB / 1.399 GB, free: 6.461 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/1.609, allocations: 64.81 kB / 1.399 GB, free: 6.387 MB / 1.029 GB Notification: Performance of pre-optimization done (n=285): time 4.488e-06/1.609, allocations: 0 / 1.399 GB, free: 6.387 MB / 1.029 GB Notification: Performance of matching and sorting (n=285): time 0.007169/1.616, allocations: 4.046 MB / 1.403 GB, free: 2.297 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/1.616, allocations: 81.66 kB / 1.403 GB, free: 2.203 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/1.618, allocations: 1.426 MB / 1.405 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002095/1.619, allocations: 77.7 kB / 1.405 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007477/1.619, allocations: 1.006 MB / 1.406 GB, free: 15.67 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009242/1.62, allocations: 0.9609 MB / 1.407 GB, free: 14.72 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006567/1.621, allocations: 420.8 kB / 1.407 GB, free: 14.3 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001028/1.621, allocations: 301.1 kB / 1.407 GB, free: 14 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/1.623, allocations: 1.141 MB / 1.409 GB, free: 12.86 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/1.625, allocations: 1.385 MB / 1.41 GB, free: 11.43 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004131/1.629, allocations: 2.726 MB / 1.413 GB, free: 8.637 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.629, allocations: 0 / 1.413 GB, free: 8.637 MB / 1.045 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.005218/1.634, allocations: 3.063 MB / 1.416 GB, free: 5.547 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/1.634, allocations: 4 kB / 1.416 GB, free: 5.543 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/1.634, allocations: 4 kB / 1.416 GB, free: 5.539 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/1.634, allocations: 12 kB / 1.416 GB, free: 5.527 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/1.637, allocations: 0.509 MB / 1.416 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.77e-05/1.637, allocations: 14.38 kB / 1.416 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/1.639, allocations: 205.8 kB / 1.416 GB, free: 4.832 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/1.639, allocations: 80 kB / 1.416 GB, free: 4.754 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (312): * Single equations (assignments): 312 * 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 prepare postOptimizeDAE: time 0.001337/1.641, allocations: 0.6834 MB / 1.417 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004964/1.641, allocations: 237.2 kB / 1.417 GB, free: 3.855 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005391/1.647, allocations: 3.211 MB / 1.42 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/1.647, allocations: 28 kB / 1.42 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.647, allocations: 4 kB / 1.42 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004045/1.651, allocations: 2.653 MB / 1.423 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/1.661, allocations: 6.635 MB / 1.429 GB, free: 7.137 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/1.661, allocations: 0 / 1.429 GB, free: 7.137 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002548/1.664, allocations: 0.5452 MB / 1.43 GB, free: 6.617 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.97e-05/1.664, allocations: 15.94 kB / 1.43 GB, free: 6.602 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/1.664, allocations: 67.98 kB / 1.43 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.564e-05/1.664, allocations: 18.61 kB / 1.43 GB, free: 6.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.664, allocations: 0 / 1.43 GB, free: 6.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007206/1.671, allocations: 4.826 MB / 1.435 GB, free: 1.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/1.673, allocations: 0.6252 MB / 1.435 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003599/1.673, allocations: 55.98 kB / 1.435 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/1.674, allocations: 67.89 kB / 1.436 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003468/1.675, allocations: 169.9 kB / 1.436 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/1.675, allocations: 83.97 kB / 1.436 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001408/1.676, allocations: 0.9933 MB / 1.437 GB, free: 15.57 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.676, allocations: 0 / 1.437 GB, free: 15.57 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002208/1.679, allocations: 0.9978 MB / 1.438 GB, free: 14.57 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * 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 (285): * Single equations (assignments): 285 * 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.0008006/1.679, allocations: 412.2 kB / 1.438 GB, free: 14.21 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01208/1.692, allocations: 5.891 MB / 1.444 GB, free: 8.352 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.692, allocations: 0 / 1.444 GB, free: 8.352 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002198/1.694, allocations: 1.556 MB / 1.445 GB, free: 6.852 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006017/1.7, allocations: 1.325 MB / 1.447 GB, free: 5.555 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009922/1.71, allocations: 6.375 MB / 1.453 GB, free: 15.12 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001673/1.711, allocations: 1.986 MB / 1.455 GB, free: 13.11 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.003274/1.715, allocations: 0.8985 MB / 1.456 GB, free: 12.2 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007248/1.715, allocations: 211.4 kB / 1.456 GB, free: 12 MB / 1.092 GB Notification: Performance of SimCode: time 9.32e-07/1.715, allocations: 7.094 kB / 1.456 GB, free: 11.99 MB / 1.092 GB Notification: Performance of Templates: time 0.08586/1.801, allocations: 50.57 MB / 1.505 GB, free: 10.22 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.sim & ./Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches