Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 79.03 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 157.2 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.888/2.888, allocations: 394.2 MB / 0.6386 GB, free: 11.89 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 71.88 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8258/0.828, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3074/1.135, allocations: 263 MB / 1.443 GB, free: 14.43 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.02406/1.159, allocations: 16.04 MB / 1.459 GB, free: 14.35 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002705/1.162, allocations: 107.2 kB / 1.459 GB, free: 14.25 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.004481/1.167, allocations: 1.787 MB / 1.461 GB, free: 12.45 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.01728/1.184, allocations: 6.81 MB / 1.468 GB, free: 5.613 MB / 1.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.008554/1.192, allocations: 2.994 MB / 1.471 GB, free: 2.617 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.0117/1.204, allocations: 7.857 MB / 1.478 GB, free: 10.74 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003701/1.208, allocations: 1.947 MB / 1.48 GB, free: 8.73 MB / 1.326 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006789/1.215, allocations: 3.185 MB / 1.483 GB, free: 5.535 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006539/1.221, allocations: 2.73 MB / 1.486 GB, free: 2.809 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.001361/1.223, allocations: 332 kB / 1.486 GB, free: 2.484 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01355/1.236, allocations: 5.087 MB / 1.491 GB, free: 13.38 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.002806/1.239, allocations: 1.367 MB / 1.493 GB, free: 12.01 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.004424/1.243, allocations: 1.595 MB / 1.494 GB, free: 10.41 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.01639/1.26, allocations: 6.775 MB / 1.501 GB, free: 3.613 MB / 1.342 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/1.26, allocations: 0 / 1.501 GB, free: 3.613 MB / 1.342 GB Notification: Performance of FrontEnd: time 4.508e-06/1.26, allocations: 4 kB / 1.501 GB, free: 3.609 MB / 1.342 GB Notification: Performance of Transformations before backend: time 0.0002084/1.26, allocations: 0 / 1.501 GB, free: 3.609 MB / 1.342 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.01369/1.274, allocations: 4.135 MB / 1.505 GB, free: 15.42 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/1.274, allocations: 12.03 kB / 1.505 GB, free: 15.41 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01325/1.287, allocations: 1.597 MB / 1.506 GB, free: 13.8 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005492/1.292, allocations: 1.868 MB / 1.508 GB, free: 11.89 MB / 1.357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002709/1.293, allocations: 197.1 kB / 1.508 GB, free: 11.7 MB / 1.357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/1.294, allocations: 264 kB / 1.509 GB, free: 11.44 MB / 1.357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00977/1.304, allocations: 4.249 MB / 1.513 GB, free: 6.988 MB / 1.357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/1.304, allocations: 19.91 kB / 1.513 GB, free: 6.969 MB / 1.357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005893/1.304, allocations: 108 kB / 1.513 GB, free: 6.863 MB / 1.357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000205/1.304, allocations: 157.2 kB / 1.513 GB, free: 6.707 MB / 1.357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/1.315, allocations: 4.256 MB / 1.517 GB, free: 2.438 MB / 1.357 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.0206/1.335, allocations: 8.719 MB / 1.526 GB, free: 9.582 MB / 1.373 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007956/1.343, allocations: 3.558 MB / 1.529 GB, free: 6.039 MB / 1.373 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004574/1.348, allocations: 1.998 MB / 1.531 GB, free: 4.027 MB / 1.373 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/1.348, allocations: 42.17 kB / 1.531 GB, free: 3.984 MB / 1.373 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.463e-05/1.348, allocations: 64.75 kB / 1.531 GB, free: 3.91 MB / 1.373 GB Notification: Performance of pre-optimization done (n=278): time 5.941e-06/1.348, allocations: 4 kB / 1.531 GB, free: 3.906 MB / 1.373 GB Notification: Performance of matching and sorting (n=278): time 0.01158/1.36, allocations: 4.78 MB / 1.536 GB, free: 15.07 MB / 1.389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/1.36, allocations: 89.47 kB / 1.536 GB, free: 14.97 MB / 1.389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/1.362, allocations: 1.325 MB / 1.537 GB, free: 13.64 MB / 1.389 GB Notification: Performance of collectPreVariables (initialization): time 0.000358/1.363, allocations: 73.7 kB / 1.537 GB, free: 13.56 MB / 1.389 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009274/1.363, allocations: 1.059 MB / 1.538 GB, free: 12.49 MB / 1.389 GB Notification: Performance of collectInitialBindings (initialization): time 0.001244/1.365, allocations: 0.9991 MB / 1.539 GB, free: 11.48 MB / 1.389 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001061/1.366, allocations: 449.4 kB / 1.54 GB, free: 11.04 MB / 1.389 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.366, allocations: 305.1 kB / 1.54 GB, free: 10.74 MB / 1.389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003329/1.369, allocations: 1.481 MB / 1.541 GB, free: 9.254 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003658/1.373, allocations: 1.755 MB / 1.543 GB, free: 7.434 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00705/1.38, allocations: 3.32 MB / 1.546 GB, free: 4.023 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/1.38, allocations: 3.938 kB / 1.546 GB, free: 4.02 MB / 1.389 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.008654/1.389, allocations: 3.76 MB / 1.55 GB, free: 224 kB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/1.389, allocations: 11.94 kB / 1.55 GB, free: 212 kB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/1.389, allocations: 4 kB / 1.55 GB, free: 208 kB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.416e-05/1.389, allocations: 12 kB / 1.55 GB, free: 196 kB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003796/1.392, allocations: 0.6202 MB / 1.551 GB, free: 15.57 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.124e-05/1.393, allocations: 23.92 kB / 1.551 GB, free: 15.55 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003377/1.396, allocations: 262.4 kB / 1.551 GB, free: 15.29 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003706/1.396, allocations: 95.97 kB / 1.551 GB, free: 15.2 MB / 1.404 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (332): * Single equations (assignments): 332 * 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.001653/1.398, allocations: 0.6417 MB / 1.552 GB, free: 14.54 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008527/1.399, allocations: 234.5 kB / 1.552 GB, free: 14.31 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008588/1.4, allocations: 334.2 kB / 1.552 GB, free: 13.98 MB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/1.4, allocations: 31.94 kB / 1.552 GB, free: 13.95 MB / 1.404 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/1.4, allocations: 0 / 1.552 GB, free: 13.95 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007145/1.407, allocations: 3.243 MB / 1.555 GB, free: 10.63 MB / 1.404 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/1.423, allocations: 6.359 MB / 1.562 GB, free: 4.176 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.423, allocations: 3.938 kB / 1.562 GB, free: 4.172 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004015/1.427, allocations: 0.6086 MB / 1.562 GB, free: 3.562 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.959e-05/1.427, allocations: 12 kB / 1.562 GB, free: 3.551 MB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003275/1.427, allocations: 71.95 kB / 1.562 GB, free: 3.48 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.576e-05/1.427, allocations: 8 kB / 1.562 GB, free: 3.473 MB / 1.404 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.427, allocations: 3.938 kB / 1.562 GB, free: 3.469 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/1.439, allocations: 5.605 MB / 1.568 GB, free: 13.77 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001976/1.441, allocations: 0.5952 MB / 1.568 GB, free: 13.17 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005934/1.442, allocations: 52 kB / 1.568 GB, free: 13.12 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003003/1.445, allocations: 130.5 kB / 1.569 GB, free: 12.99 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004505/1.445, allocations: 169.8 kB / 1.569 GB, free: 12.82 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002821/1.445, allocations: 87.95 kB / 1.569 GB, free: 12.74 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.001666/1.447, allocations: 0.8856 MB / 1.57 GB, free: 11.86 MB / 1.42 GB Notification: Performance of sort global known variables: time 8.1e-08/1.447, allocations: 0 / 1.57 GB, free: 11.86 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.002911/1.45, allocations: 1.038 MB / 1.571 GB, free: 10.82 MB / 1.42 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (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,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.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 (278): * Single equations (assignments): 278 * 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.000691/1.451, allocations: 338.2 kB / 1.571 GB, free: 10.48 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.007643/1.458, allocations: 3.325 MB / 1.574 GB, free: 7.125 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.458, allocations: 1.125 kB / 1.574 GB, free: 7.125 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.003863/1.462, allocations: 1.714 MB / 1.576 GB, free: 5.406 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007176/1.469, allocations: 1.292 MB / 1.577 GB, free: 4.137 MB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/1.484, allocations: 6.57 MB / 1.584 GB, free: 13.51 MB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002251/1.486, allocations: 1.334 MB / 1.585 GB, free: 12.13 MB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.004999/1.491, allocations: 0.9372 MB / 1.586 GB, free: 11.19 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/1.493, allocations: 216.4 kB / 1.586 GB, free: 10.98 MB / 1.436 GB Notification: Performance of SimCode: time 1.042e-06/1.493, allocations: 0 / 1.586 GB, free: 10.98 MB / 1.436 GB Notification: Performance of Templates: time 0.09598/1.589, allocations: 56.84 MB / 1.642 GB, free: 3.125 MB / 1.482 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.610455282963812]