Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.006494/0.006494, allocations: 100.1 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.0015/0.0015, allocations: 187.6 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001423, allocations: 71.83 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3499, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 1.013/1.363, allocations: 299.1 MB / 1.5 GB, free: 11.47 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02424/1.387, allocations: 15.3 MB / 1.515 GB, free: 12.12 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004308/1.392, allocations: 71.62 kB / 1.515 GB, free: 12.05 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.006473/1.398, allocations: 1.74 MB / 1.517 GB, free: 10.3 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01831/1.416, allocations: 5.918 MB / 1.522 GB, free: 4.363 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.008984/1.425, allocations: 2.823 MB / 1.525 GB, free: 1.543 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01051/1.436, allocations: 7.132 MB / 1.532 GB, free: 10.39 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00448/1.441, allocations: 2.705 MB / 1.535 GB, free: 7.645 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005519/1.446, allocations: 2.651 MB / 1.537 GB, free: 4.984 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005211/1.451, allocations: 2.605 MB / 1.54 GB, free: 2.379 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0008583/1.452, allocations: 348 kB / 1.54 GB, free: 2.039 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01244/1.465, allocations: 5.74 MB / 1.546 GB, free: 12.29 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.002789/1.467, allocations: 1.512 MB / 1.547 GB, free: 10.77 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.004157/1.472, allocations: 1.921 MB / 1.549 GB, free: 8.84 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.0172/1.489, allocations: 6.856 MB / 1.556 GB, free: 1.965 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/1.489, allocations: 0 / 1.556 GB, free: 1.965 MB / 1.232 GB Notification: Performance of FrontEnd: time 3.346e-06/1.489, allocations: 0 / 1.556 GB, free: 1.965 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001513/1.489, allocations: 0 / 1.556 GB, free: 1.965 MB / 1.232 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.0123/1.501, allocations: 4.152 MB / 1.56 GB, free: 13.75 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/1.501, allocations: 12.62 kB / 1.56 GB, free: 13.73 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005617/1.507, allocations: 0.843 MB / 1.561 GB, free: 12.89 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004097/1.511, allocations: 1.865 MB / 1.563 GB, free: 10.96 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/1.511, allocations: 217.5 kB / 1.563 GB, free: 10.75 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005018/1.512, allocations: 295.8 kB / 1.563 GB, free: 10.46 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006256/1.518, allocations: 3.621 MB / 1.567 GB, free: 6.746 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.541e-05/1.518, allocations: 7.938 kB / 1.567 GB, free: 6.738 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002702/1.519, allocations: 112 kB / 1.567 GB, free: 6.629 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001561/1.519, allocations: 149.5 kB / 1.567 GB, free: 6.48 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006331/1.525, allocations: 3.73 MB / 1.57 GB, free: 2.738 MB / 1.248 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.01849/1.544, allocations: 13.26 MB / 1.583 GB, free: 4.41 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004714/1.548, allocations: 3.234 MB / 1.587 GB, free: 1.164 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002626/1.551, allocations: 1.791 MB / 1.588 GB, free: 15.36 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001657/1.553, allocations: 1.584 MB / 1.59 GB, free: 13.45 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.505e-05/1.553, allocations: 68.8 kB / 1.59 GB, free: 13.37 MB / 1.279 GB Notification: Performance of pre-optimization done (n=285): time 4.228e-06/1.553, allocations: 0 / 1.59 GB, free: 13.37 MB / 1.279 GB Notification: Performance of matching and sorting (n=285): time 0.007347/1.56, allocations: 4.047 MB / 1.594 GB, free: 9.273 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/1.56, allocations: 81.66 kB / 1.594 GB, free: 9.18 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/1.562, allocations: 1.426 MB / 1.595 GB, free: 7.746 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002793/1.563, allocations: 77.7 kB / 1.595 GB, free: 7.664 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007069/1.563, allocations: 1 MB / 1.596 GB, free: 6.652 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.565, allocations: 0.9663 MB / 1.597 GB, free: 5.672 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006814/1.565, allocations: 416.9 kB / 1.598 GB, free: 5.258 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.565, allocations: 313 kB / 1.598 GB, free: 4.949 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/1.567, allocations: 1.137 MB / 1.599 GB, free: 3.809 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/1.569, allocations: 1.386 MB / 1.6 GB, free: 2.371 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004222/1.574, allocations: 2.713 MB / 1.603 GB, free: 15.58 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/1.574, allocations: 0 / 1.603 GB, free: 15.58 MB / 1.295 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.005408/1.579, allocations: 3.057 MB / 1.606 GB, free: 12.48 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/1.579, allocations: 10.19 kB / 1.606 GB, free: 12.47 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/1.579, allocations: 4 kB / 1.606 GB, free: 12.47 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.27e-05/1.579, allocations: 12 kB / 1.606 GB, free: 12.46 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/1.582, allocations: 0.5114 MB / 1.607 GB, free: 11.95 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.284e-05/1.582, allocations: 20.8 kB / 1.607 GB, free: 11.93 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/1.584, allocations: 197.8 kB / 1.607 GB, free: 11.73 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/1.584, allocations: 83.92 kB / 1.607 GB, free: 11.65 MB / 1.295 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.001361/1.585, allocations: 0.6847 MB / 1.608 GB, free: 10.95 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006999/1.586, allocations: 233.3 kB / 1.608 GB, free: 10.72 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006011/1.592, allocations: 3.215 MB / 1.611 GB, free: 7.457 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/1.592, allocations: 24 kB / 1.611 GB, free: 7.434 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/1.592, allocations: 8 kB / 1.611 GB, free: 7.426 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004321/1.596, allocations: 2.649 MB / 1.614 GB, free: 4.727 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/1.609, allocations: 6.639 MB / 1.62 GB, free: 13.91 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/1.609, allocations: 7.938 kB / 1.62 GB, free: 13.9 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002646/1.612, allocations: 0.5423 MB / 1.621 GB, free: 13.36 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.737e-05/1.612, allocations: 12 kB / 1.621 GB, free: 13.35 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003399/1.612, allocations: 68.17 kB / 1.621 GB, free: 13.28 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.398e-05/1.612, allocations: 15.94 kB / 1.621 GB, free: 13.27 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.612, allocations: 4 kB / 1.621 GB, free: 13.26 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008329/1.621, allocations: 4.827 MB / 1.625 GB, free: 8.305 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/1.623, allocations: 0.6227 MB / 1.626 GB, free: 7.66 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005549/1.623, allocations: 52 kB / 1.626 GB, free: 7.609 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001912/1.625, allocations: 67.88 kB / 1.626 GB, free: 7.543 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003695/1.625, allocations: 177.9 kB / 1.626 GB, free: 7.367 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002052/1.626, allocations: 83.98 kB / 1.626 GB, free: 7.285 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001783/1.627, allocations: 0.989 MB / 1.627 GB, free: 6.301 MB / 1.311 GB Notification: Performance of sort global known variables: time 3.51e-07/1.627, allocations: 0 / 1.627 GB, free: 6.301 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.003024/1.63, allocations: 0.994 MB / 1.628 GB, free: 5.305 MB / 1.311 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.001015/1.632, allocations: 413.6 kB / 1.629 GB, free: 4.906 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.005135/1.637, allocations: 2.854 MB / 1.631 GB, free: 2.023 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.637, allocations: 0 / 1.631 GB, free: 2.023 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.002331/1.639, allocations: 1.562 MB / 1.633 GB, free: 468 kB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006697/1.646, allocations: 1.326 MB / 1.634 GB, free: 15.15 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/1.657, allocations: 6.3 MB / 1.64 GB, free: 8.773 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002169/1.66, allocations: 1.998 MB / 1.642 GB, free: 6.742 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.003935/1.664, allocations: 0.8907 MB / 1.643 GB, free: 5.848 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/1.665, allocations: 211.4 kB / 1.643 GB, free: 5.641 MB / 1.326 GB Notification: Performance of SimCode: time 1.253e-06/1.665, allocations: 0 / 1.643 GB, free: 5.641 MB / 1.326 GB Notification: Performance of Templates: time 0.08999/1.755, allocations: 51.85 MB / 1.694 GB, free: 2.355 MB / 1.373 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches