Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001392/0.001392, allocations: 78.33 kB / 19.76 MB, free: 1.875 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.001416/0.001416, allocations: 155.4 kB / 23.01 MB, free: 4.59 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.43/1.43, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.769/2.769, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002253/0.002253, allocations: 71.89 kB / 0.982 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8218/0.8241, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3134/1.137, allocations: 263 MB / 1.411 GB, free: 1.391 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02694/1.164, allocations: 15.91 MB / 1.426 GB, free: 1.441 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003748/1.168, allocations: 107.2 kB / 1.426 GB, free: 1.336 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.005795/1.174, allocations: 1.787 MB / 1.428 GB, free: 15.54 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01845/1.192, allocations: 6.733 MB / 1.435 GB, free: 8.781 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.008801/1.201, allocations: 3.01 MB / 1.438 GB, free: 5.77 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01179/1.213, allocations: 7.813 MB / 1.445 GB, free: 13.93 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003561/1.217, allocations: 1.939 MB / 1.447 GB, free: 11.93 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006477/1.223, allocations: 3.166 MB / 1.45 GB, free: 8.754 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00604/1.229, allocations: 2.706 MB / 1.453 GB, free: 6.051 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0008542/1.23, allocations: 328 kB / 1.453 GB, free: 5.73 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01178/1.242, allocations: 5.048 MB / 1.458 GB, free: 0.668 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.002074/1.244, allocations: 1.348 MB / 1.459 GB, free: 15.32 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.002703/1.247, allocations: 1.58 MB / 1.461 GB, free: 13.73 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.0123/1.259, allocations: 6.725 MB / 1.468 GB, free: 6.984 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.259, allocations: 3.938 kB / 1.468 GB, free: 6.98 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.714e-06/1.259, allocations: 0 / 1.468 GB, free: 6.98 MB / 1.311 GB Notification: Performance of Transformations before backend: time 7.257e-05/1.259, allocations: 0 / 1.468 GB, free: 6.98 MB / 1.311 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.01047/1.269, allocations: 4.112 MB / 1.472 GB, free: 2.812 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/1.269, allocations: 12.02 kB / 1.472 GB, free: 2.801 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006321/1.276, allocations: 0.9345 MB / 1.472 GB, free: 1.863 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003897/1.28, allocations: 1.81 MB / 1.474 GB, free: 8 kB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/1.28, allocations: 201.1 kB / 1.474 GB, free: 15.8 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004545/1.28, allocations: 263.9 kB / 1.475 GB, free: 15.55 MB / 1.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006425/1.287, allocations: 3.819 MB / 1.478 GB, free: 11.53 MB / 1.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.588e-05/1.287, allocations: 4 kB / 1.478 GB, free: 11.53 MB / 1.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002653/1.287, allocations: 108 kB / 1.479 GB, free: 11.42 MB / 1.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002168/1.287, allocations: 161.1 kB / 1.479 GB, free: 11.26 MB / 1.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006581/1.294, allocations: 3.592 MB / 1.482 GB, free: 7.656 MB / 1.326 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.01582/1.31, allocations: 7.992 MB / 1.49 GB, free: 15.54 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005073/1.315, allocations: 2.932 MB / 1.493 GB, free: 12.62 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003275/1.318, allocations: 1.697 MB / 1.495 GB, free: 10.91 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/1.319, allocations: 222 kB / 1.495 GB, free: 10.7 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.708e-05/1.319, allocations: 64.75 kB / 1.495 GB, free: 10.62 MB / 1.342 GB Notification: Performance of pre-optimization done (n=278): time 5.25e-06/1.319, allocations: 0 / 1.495 GB, free: 10.62 MB / 1.342 GB Notification: Performance of matching and sorting (n=278): time 0.007851/1.327, allocations: 3.89 MB / 1.499 GB, free: 6.684 MB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/1.327, allocations: 81.59 kB / 1.499 GB, free: 6.59 MB / 1.342 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/1.329, allocations: 1.308 MB / 1.5 GB, free: 5.273 MB / 1.342 GB Notification: Performance of collectPreVariables (initialization): time 0.0002287/1.33, allocations: 73.7 kB / 1.5 GB, free: 5.195 MB / 1.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009029/1.33, allocations: 1.051 MB / 1.501 GB, free: 4.137 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.001138/1.332, allocations: 0.9991 MB / 1.502 GB, free: 3.129 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008153/1.332, allocations: 437.5 kB / 1.502 GB, free: 2.695 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.333, allocations: 305.1 kB / 1.503 GB, free: 2.395 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/1.335, allocations: 1.141 MB / 1.504 GB, free: 1.25 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/1.337, allocations: 1.427 MB / 1.505 GB, free: 15.75 MB / 1.357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004692/1.342, allocations: 2.727 MB / 1.508 GB, free: 12.94 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/1.342, allocations: 0 / 1.508 GB, free: 12.94 MB / 1.357 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005774/1.348, allocations: 3.107 MB / 1.511 GB, free: 9.789 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/1.348, allocations: 11.94 kB / 1.511 GB, free: 9.777 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/1.348, allocations: 4 kB / 1.511 GB, free: 9.773 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.392e-05/1.348, allocations: 19.94 kB / 1.511 GB, free: 9.754 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/1.35, allocations: 0.5428 MB / 1.511 GB, free: 9.211 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.643e-05/1.35, allocations: 19.94 kB / 1.511 GB, free: 9.191 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/1.353, allocations: 198.4 kB / 1.512 GB, free: 8.996 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/1.353, allocations: 87.98 kB / 1.512 GB, free: 8.91 MB / 1.357 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.001283/1.354, allocations: 0.6456 MB / 1.512 GB, free: 8.254 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006003/1.355, allocations: 230.6 kB / 1.513 GB, free: 8.027 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005829/1.36, allocations: 3.111 MB / 1.516 GB, free: 4.855 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.917e-05/1.36, allocations: 31.94 kB / 1.516 GB, free: 4.824 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/1.36, allocations: 4 kB / 1.516 GB, free: 4.82 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004508/1.365, allocations: 2.653 MB / 1.518 GB, free: 2.098 MB / 1.357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/1.376, allocations: 5.432 MB / 1.524 GB, free: 12.57 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/1.376, allocations: 0 / 1.524 GB, free: 12.57 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00275/1.378, allocations: 0.5423 MB / 1.524 GB, free: 12.03 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-05/1.378, allocations: 8 kB / 1.524 GB, free: 12.02 MB / 1.373 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002149/1.379, allocations: 59.98 kB / 1.524 GB, free: 11.96 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.898e-05/1.379, allocations: 12 kB / 1.524 GB, free: 11.95 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.379, allocations: 0 / 1.524 GB, free: 11.95 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008034/1.387, allocations: 4.578 MB / 1.529 GB, free: 7.293 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001587/1.388, allocations: 0.5329 MB / 1.529 GB, free: 6.758 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004523/1.389, allocations: 52 kB / 1.529 GB, free: 6.707 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001881/1.391, allocations: 70.77 kB / 1.529 GB, free: 6.641 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003786/1.391, allocations: 173.8 kB / 1.529 GB, free: 6.469 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002088/1.391, allocations: 87.91 kB / 1.53 GB, free: 6.383 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.001468/1.393, allocations: 0.8735 MB / 1.53 GB, free: 5.512 MB / 1.373 GB Notification: Performance of sort global known variables: time 1e-07/1.393, allocations: 0 / 1.53 GB, free: 5.512 MB / 1.373 GB Notification: Performance of remove unused functions: time 0.002503/1.395, allocations: 1.014 MB / 1.531 GB, free: 4.496 MB / 1.373 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.0007441/1.396, allocations: 379.5 kB / 1.532 GB, free: 4.113 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.004936/1.401, allocations: 2.678 MB / 1.534 GB, free: 1.406 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.401, allocations: 320 / 1.534 GB, free: 1.406 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.002382/1.403, allocations: 1.402 MB / 1.536 GB, free: 0 / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006255/1.41, allocations: 1.269 MB / 1.537 GB, free: 14.76 MB / 1.389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/1.42, allocations: 6.074 MB / 1.543 GB, free: 8.625 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001845/1.422, allocations: 1.337 MB / 1.544 GB, free: 7.25 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.003358/1.426, allocations: 0.8626 MB / 1.545 GB, free: 6.383 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009189/1.427, allocations: 208.5 kB / 1.545 GB, free: 6.18 MB / 1.389 GB Notification: Performance of SimCode: time 1.012e-06/1.427, allocations: 0 / 1.545 GB, free: 6.18 MB / 1.389 GB Notification: Performance of Templates: time 0.08533/1.512, allocations: 49.54 MB / 1.594 GB, free: 5.656 MB / 1.436 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.021658760029823]