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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001149/0.001156, allocations: 92.16 kB / 16.02 MB, free: 80 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.001619/0.001619, allocations: 172.4 kB / 16.92 MB, free: 6.652 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.518/1.518, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.703/2.703, allocations: 437.8 MB / 0.7128 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0004003, allocations: 8 kB / 0.8735 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8949/0.8953, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 1.079/1.975, allocations: 292.9 MB / 1.31 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02181/1.997, allocations: 15.35 MB / 1.325 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003992/2.001, allocations: 58.34 kB / 1.325 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004745/2.005, allocations: 1.508 MB / 1.326 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01629/2.022, allocations: 5.581 MB / 1.332 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007652/2.029, allocations: 2.561 MB / 1.334 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01317/2.042, allocations: 10.28 MB / 1.344 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004079/2.047, allocations: 2.239 MB / 1.346 GB, free: 484 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005541/2.052, allocations: 2.222 MB / 1.349 GB, free: 476 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006139/2.058, allocations: 2.628 MB / 1.351 GB, free: 464 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007948/2.059, allocations: 167 kB / 1.351 GB, free: 464 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01361/2.073, allocations: 6.641 MB / 1.358 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002429/2.075, allocations: 1.339 MB / 1.359 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003447/2.079, allocations: 1.73 MB / 1.361 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008413/2.087, allocations: 4.98 MB / 1.366 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/2.087, allocations: 0 / 1.366 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.244e-06/2.087, allocations: 0 / 1.366 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.733e-05/2.087, allocations: 0 / 1.366 GB, free: 11.48 MB / 0.9981 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.01048/2.098, allocations: 3.563 MB / 1.369 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/2.098, allocations: 9.719 kB / 1.369 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005739/2.104, allocations: 0.848 MB / 1.37 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003516/2.107, allocations: 1.8 MB / 1.372 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/2.107, allocations: 213.7 kB / 1.372 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004717/2.108, allocations: 284.8 kB / 1.372 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006215/2.114, allocations: 3.626 MB / 1.376 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.371e-05/2.114, allocations: 2.906 kB / 1.376 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002788/2.114, allocations: 121.1 kB / 1.376 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/2.114, allocations: 145.8 kB / 1.376 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006302/2.121, allocations: 3.727 MB / 1.38 GB, free: 3.312 MB / 0.9981 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.0195/2.14, allocations: 13.23 MB / 1.393 GB, free: 6.879 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005244/2.146, allocations: 3.231 MB / 1.396 GB, free: 3.641 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002801/2.148, allocations: 1.771 MB / 1.397 GB, free: 1.867 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001907/2.15, allocations: 1.598 MB / 1.399 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.898e-05/2.15, allocations: 60.81 kB / 1.399 GB, free: 15.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=285): time 4.519e-06/2.15, allocations: 4 kB / 1.399 GB, free: 15.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=285): time 0.007472/2.158, allocations: 4.046 MB / 1.403 GB, free: 11.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/2.158, allocations: 85.66 kB / 1.403 GB, free: 11.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/2.161, allocations: 1.432 MB / 1.404 GB, free: 10.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002429/2.161, allocations: 73.7 kB / 1.405 GB, free: 10.17 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009902/2.162, allocations: 1 MB / 1.406 GB, free: 9.156 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.00112/2.163, allocations: 0.9686 MB / 1.406 GB, free: 8.195 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003406/2.163, allocations: 202.6 kB / 1.407 GB, free: 7.992 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001257/2.163, allocations: 301.1 kB / 1.407 GB, free: 7.695 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002137/2.166, allocations: 1.137 MB / 1.408 GB, free: 6.555 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/2.168, allocations: 1.389 MB / 1.409 GB, free: 5.117 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004435/2.172, allocations: 2.721 MB / 1.412 GB, free: 2.332 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/2.172, allocations: 0 / 1.412 GB, free: 2.332 MB / 1.029 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.00561/2.178, allocations: 3.059 MB / 1.415 GB, free: 15.25 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/2.178, allocations: 4 kB / 1.415 GB, free: 15.24 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/2.178, allocations: 4 kB / 1.415 GB, free: 15.24 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.309e-05/2.178, allocations: 15.94 kB / 1.415 GB, free: 15.22 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/2.18, allocations: 0.512 MB / 1.416 GB, free: 14.74 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.303e-05/2.18, allocations: 12 kB / 1.416 GB, free: 14.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003226/2.184, allocations: 377.7 kB / 1.416 GB, free: 14.36 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/2.184, allocations: 91.98 kB / 1.416 GB, free: 14.27 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.001763/2.186, allocations: 0.6846 MB / 1.417 GB, free: 13.61 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007953/2.186, allocations: 229.3 kB / 1.417 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006279/2.193, allocations: 3.217 MB / 1.42 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/2.193, allocations: 28 kB / 1.42 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/2.193, allocations: 0 / 1.42 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004528/2.197, allocations: 2.652 MB / 1.423 GB, free: 7.379 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/2.212, allocations: 6.649 MB / 1.429 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/2.212, allocations: 4 kB / 1.429 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/2.214, allocations: 0.5436 MB / 1.43 GB, free: 128 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.698e-05/2.214, allocations: 12 kB / 1.43 GB, free: 116 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002241/2.215, allocations: 67.98 kB / 1.43 GB, free: 48 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-05/2.215, allocations: 12 kB / 1.43 GB, free: 36 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/2.215, allocations: 7.938 kB / 1.43 GB, free: 28 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00818/2.223, allocations: 4.822 MB / 1.435 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/2.225, allocations: 0.6266 MB / 1.435 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006484/2.225, allocations: 48 kB / 1.435 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002536/2.228, allocations: 219.6 kB / 1.435 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003488/2.228, allocations: 177.9 kB / 1.436 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000258/2.228, allocations: 90.78 kB / 1.436 GB, free: 9.914 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001832/2.23, allocations: 0.9852 MB / 1.437 GB, free: 8.934 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/2.23, allocations: 0 / 1.437 GB, free: 8.934 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003456/2.234, allocations: 1.002 MB / 1.438 GB, free: 7.93 MB / 1.061 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.001155/2.235, allocations: 416.3 kB / 1.438 GB, free: 7.566 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005788/2.241, allocations: 2.846 MB / 1.441 GB, free: 4.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/2.241, allocations: 0 / 1.441 GB, free: 4.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002784/2.244, allocations: 1.554 MB / 1.442 GB, free: 3.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008277/2.252, allocations: 1.272 MB / 1.444 GB, free: 1.969 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/2.268, allocations: 8.045 MB / 1.451 GB, free: 9.848 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002971/2.271, allocations: 1.993 MB / 1.453 GB, free: 7.824 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/2.272, allocations: 235.4 kB / 1.454 GB, free: 7.594 MB / 1.076 GB Notification: Performance of SimCode: time 1.974e-06/2.272, allocations: 0 / 1.454 GB, free: 7.594 MB / 1.076 GB Notification: Performance of Templates: time 0.07654/2.349, allocations: 44.01 MB / 1.497 GB, free: 11.87 MB / 1.123 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches