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.001625/0.001625, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00152/0.00152, allocations: 216.3 kB / 22.24 MB, free: 5.258 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.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 3.002/3.002, allocations: 0.49 GB / 0.7951 GB, free: 35.45 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) [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.002033/0.002033, allocations: 63.47 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3237, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.2972/0.6209, allocations: 263 MB / 1.583 GB, free: 9.629 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.02515/0.646, allocations: 15.92 MB / 1.598 GB, free: 9.676 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003426/0.6495, allocations: 107.2 kB / 1.598 GB, free: 9.57 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.004923/0.6544, allocations: 1.779 MB / 1.6 GB, free: 7.781 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01785/0.6722, allocations: 6.749 MB / 1.607 GB, free: 1.008 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.7255/1.398, allocations: 3.011 MB / 1.61 GB, free: 8.453 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01018/1.408, allocations: 7.852 MB / 1.617 GB, free: 8.441 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003897/1.412, allocations: 1.965 MB / 1.619 GB, free: 24.27 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007547/1.419, allocations: 3.15 MB / 1.622 GB, free: 24.27 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007235/1.427, allocations: 2.844 MB / 1.625 GB, free: 24.27 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.001044/1.428, allocations: 328.2 kB / 1.625 GB, free: 24.27 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01189/1.439, allocations: 5.096 MB / 1.63 GB, free: 24.27 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.002917/1.442, allocations: 1.349 MB / 1.632 GB, free: 24.27 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.004738/1.447, allocations: 1.587 MB / 1.633 GB, free: 24.27 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.01446/1.462, allocations: 6.717 MB / 1.64 GB, free: 23.87 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.462, allocations: 3.5 kB / 1.64 GB, free: 23.87 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.653e-06/1.462, allocations: 0 / 1.64 GB, free: 23.87 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0001155/1.462, allocations: 2.469 kB / 1.64 GB, free: 23.87 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.01183/1.474, allocations: 4.111 MB / 1.644 GB, free: 22.22 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/1.474, allocations: 14.59 kB / 1.644 GB, free: 22.22 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000542/1.474, allocations: 377.6 kB / 1.644 GB, free: 22.17 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006248/1.48, allocations: 0.927 MB / 1.645 GB, free: 21.98 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004192/1.485, allocations: 1.802 MB / 1.647 GB, free: 21.51 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/1.485, allocations: 193.3 kB / 1.647 GB, free: 21.5 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004309/1.485, allocations: 265.5 kB / 1.647 GB, free: 21.5 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005533/1.491, allocations: 3.816 MB / 1.651 GB, free: 20.71 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.71e-05/1.491, allocations: 9.125 kB / 1.651 GB, free: 20.71 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/1.491, allocations: 105.3 kB / 1.651 GB, free: 20.71 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/1.491, allocations: 156.6 kB / 1.651 GB, free: 20.7 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005238/1.496, allocations: 3.595 MB / 1.655 GB, free: 20.67 MB / 1.311 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.01414/1.511, allocations: 8.333 MB / 1.663 GB, free: 18.54 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003596/1.514, allocations: 2.936 MB / 1.666 GB, free: 18.45 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002261/1.516, allocations: 1.695 MB / 1.667 GB, free: 18.42 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000888/1.517, allocations: 228.8 kB / 1.668 GB, free: 18.4 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.786e-05/1.517, allocations: 67.19 kB / 1.668 GB, free: 18.36 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 4.759e-06/1.517, allocations: 0 / 1.668 GB, free: 18.36 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.005912/1.523, allocations: 3.894 MB / 1.671 GB, free: 18.1 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/1.523, allocations: 83.06 kB / 1.672 GB, free: 18.03 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/1.525, allocations: 1.405 MB / 1.673 GB, free: 17.85 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0003108/1.525, allocations: 76.36 kB / 1.673 GB, free: 17.82 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005749/1.526, allocations: 1.043 MB / 1.674 GB, free: 17.37 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008373/1.527, allocations: 0.9935 MB / 1.675 GB, free: 16.71 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006255/1.527, allocations: 441.4 kB / 1.675 GB, free: 16.68 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.528, allocations: 303.7 kB / 1.676 GB, free: 16.38 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/1.529, allocations: 1.143 MB / 1.677 GB, free: 16.38 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/1.531, allocations: 1.423 MB / 1.678 GB, free: 16.19 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003411/1.534, allocations: 2.723 MB / 1.681 GB, free: 15.96 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/1.534, allocations: 0 / 1.681 GB, free: 15.96 MB / 1.311 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004517/1.539, allocations: 3.121 MB / 1.684 GB, free: 15.72 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/1.539, allocations: 8.188 kB / 1.684 GB, free: 15.72 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/1.539, allocations: 3.219 kB / 1.684 GB, free: 15.72 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/1.539, allocations: 17.75 kB / 1.684 GB, free: 15.72 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/1.541, allocations: 0.5462 MB / 1.684 GB, free: 15.72 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.817e-05/1.541, allocations: 14.34 kB / 1.684 GB, free: 15.72 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/1.544, allocations: 211.3 kB / 1.685 GB, free: 15.6 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/1.544, allocations: 91.67 kB / 1.685 GB, free: 15.6 MB / 1.311 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.001174/1.545, allocations: 0.6493 MB / 1.685 GB, free: 15.48 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005016/1.545, allocations: 249.2 kB / 1.686 GB, free: 15.35 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004337/1.55, allocations: 3.111 MB / 1.689 GB, free: 15.17 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/1.55, allocations: 29.03 kB / 1.689 GB, free: 15.17 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.55, allocations: 0.5625 kB / 1.689 GB, free: 15.17 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0034/1.553, allocations: 2.658 MB / 1.691 GB, free: 14.93 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009272/1.562, allocations: 5.727 MB / 1.697 GB, free: 14.46 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.562, allocations: 0 / 1.697 GB, free: 14.46 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002388/1.565, allocations: 0.5437 MB / 1.697 GB, free: 14.46 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.439e-05/1.565, allocations: 11.78 kB / 1.697 GB, free: 14.46 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/1.565, allocations: 55.69 kB / 1.697 GB, free: 14.46 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/1.565, allocations: 10.47 kB / 1.697 GB, free: 14.46 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.565, allocations: 0 / 1.697 GB, free: 14.46 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005753/1.571, allocations: 4.599 MB / 1.702 GB, free: 14.03 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001747/1.573, allocations: 0.5438 MB / 1.703 GB, free: 13.87 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000413/1.573, allocations: 54.23 kB / 1.703 GB, free: 13.87 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/1.575, allocations: 65.89 kB / 1.703 GB, free: 13.87 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003065/1.575, allocations: 175.2 kB / 1.703 GB, free: 13.86 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/1.575, allocations: 82.16 kB / 1.703 GB, free: 13.86 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001222/1.576, allocations: 0.9477 MB / 1.704 GB, free: 13.75 MB / 1.311 GB Notification: Performance of sort global known variables: time 7e-08/1.576, allocations: 0 / 1.704 GB, free: 13.75 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002604/1.579, allocations: 1.008 MB / 1.705 GB, free: 13.63 MB / 1.311 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.006687/1.586, allocations: 5.401 MB / 1.71 GB, free: 12.67 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003877/1.59, allocations: 2.686 MB / 1.713 GB, free: 12.6 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.59, allocations: 3.688 kB / 1.713 GB, free: 12.6 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001674/1.591, allocations: 1.395 MB / 1.714 GB, free: 12.58 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005355/1.597, allocations: 1.341 MB / 1.715 GB, free: 12.36 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02881/1.625, allocations: 19.69 MB / 1.735 GB, free: 3.582 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/1.627, allocations: 1.337 MB / 1.736 GB, free: 3.27 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002719/1.629, allocations: 0.8751 MB / 1.737 GB, free: 3.102 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/1.631, allocations: 1.087 MB / 1.738 GB, free: 2.277 MB / 1.311 GB Notification: Performance of SimCode: time 1.102e-06/1.631, allocations: 0 / 1.738 GB, free: 2.277 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1262/1.757, allocations: 75.18 MB / 1.811 GB, free: 13.96 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/15.11, allocations: 11.2 kB / 1.811 GB, free: 13.95 MB / 1.389 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 420.0] 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: 21.726723147992743]