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.0008095/0.0008095, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000817/0.000817, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8368/0.8368, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.688/1.688, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.253e-05/1.384e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5832/0.5832, allocations: 262.3 MB / 1.256 GB, free: 5.68 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.01602/0.5992, allocations: 16.05 MB / 1.271 GB, free: 5.598 MB / 1.104 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.6009, allocations: 111.2 kB / 1.272 GB, free: 5.488 MB / 1.104 GB Notification: Performance of NFTyping.typeComponents: time 0.002825/0.6038, allocations: 1.805 MB / 1.273 GB, free: 3.672 MB / 1.104 GB Notification: Performance of NFTyping.typeBindings: time 0.009888/0.6136, allocations: 6.972 MB / 1.28 GB, free: 12.67 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.004305/0.618, allocations: 3.053 MB / 1.283 GB, free: 9.613 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.006046/0.624, allocations: 8.005 MB / 1.291 GB, free: 1.582 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/0.6258, allocations: 1.966 MB / 1.293 GB, free: 15.56 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00376/0.6295, allocations: 4.123 MB / 1.297 GB, free: 11.43 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002355/0.6319, allocations: 2.545 MB / 1.299 GB, free: 8.902 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 0.0002716/0.6322, allocations: 332 kB / 1.3 GB, free: 8.578 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00685/0.639, allocations: 5.163 MB / 1.305 GB, free: 3.398 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 0.0009504/0.64, allocations: 1.437 MB / 1.306 GB, free: 1.957 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.6412, allocations: 1.376 MB / 1.308 GB, free: 0.5781 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.007624/0.6488, allocations: 7.039 MB / 1.314 GB, free: 9.52 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.6488, allocations: 0 / 1.314 GB, free: 9.52 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.953e-06/0.6488, allocations: 0 / 1.314 GB, free: 9.52 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.711e-05/0.6488, allocations: 0 / 1.314 GB, free: 9.52 MB / 1.151 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.004897/0.6537, allocations: 4.104 MB / 1.318 GB, free: 5.359 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.6537, allocations: 16.69 kB / 1.318 GB, free: 5.344 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003083/0.6541, allocations: 379.6 kB / 1.319 GB, free: 4.965 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005241/0.6593, allocations: 1.594 MB / 1.32 GB, free: 3.367 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/0.6614, allocations: 1.865 MB / 1.322 GB, free: 1.449 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.6615, allocations: 201.1 kB / 1.322 GB, free: 1.25 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003034/0.6618, allocations: 255.9 kB / 1.323 GB, free: 1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004105/0.6659, allocations: 4.256 MB / 1.327 GB, free: 12.54 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.918e-05/0.666, allocations: 4 kB / 1.327 GB, free: 12.54 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002215/0.6662, allocations: 108 kB / 1.327 GB, free: 12.43 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.6663, allocations: 165.1 kB / 1.327 GB, free: 12.27 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004679/0.671, allocations: 4.256 MB / 1.331 GB, free: 8 MB / 1.167 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.008626/0.6796, allocations: 9.049 MB / 1.34 GB, free: 14.82 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003885/0.6835, allocations: 3.587 MB / 1.343 GB, free: 11.24 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002205/0.6857, allocations: 1.998 MB / 1.345 GB, free: 9.238 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.6858, allocations: 46.17 kB / 1.345 GB, free: 9.191 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.6858, allocations: 68.69 kB / 1.346 GB, free: 9.113 MB / 1.182 GB Notification: Performance of pre-optimization done (n=278): time 3.857e-06/0.6858, allocations: 0 / 1.346 GB, free: 9.113 MB / 1.182 GB Notification: Performance of matching and sorting (n=278): time 0.005695/0.6915, allocations: 4.792 MB / 1.35 GB, free: 4.27 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.6915, allocations: 77.59 kB / 1.35 GB, free: 4.18 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.6927, allocations: 1.431 MB / 1.352 GB, free: 2.742 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.6928, allocations: 73.7 kB / 1.352 GB, free: 2.664 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004599/0.6933, allocations: 1.052 MB / 1.353 GB, free: 1.602 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005158/0.6938, allocations: 0.9836 MB / 1.354 GB, free: 0.6094 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005338/0.6943, allocations: 449.4 kB / 1.354 GB, free: 168 kB / 1.182 GB Notification: Performance of setup shared object (initialization): time 6.747e-05/0.6944, allocations: 305.1 kB / 1.354 GB, free: 15.86 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.6961, allocations: 1.473 MB / 1.356 GB, free: 14.39 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/0.698, allocations: 1.759 MB / 1.358 GB, free: 12.56 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003667/0.7016, allocations: 3.32 MB / 1.361 GB, free: 9.152 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.7016, allocations: 5.125 kB / 1.361 GB, free: 9.148 MB / 1.198 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004285/0.7059, allocations: 3.756 MB / 1.365 GB, free: 5.352 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.7059, allocations: 11.98 kB / 1.365 GB, free: 5.34 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.7059, allocations: 4 kB / 1.365 GB, free: 5.336 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.706, allocations: 16 kB / 1.365 GB, free: 5.32 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.7076, allocations: 0.6163 MB / 1.365 GB, free: 4.703 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.7076, allocations: 19.94 kB / 1.365 GB, free: 4.684 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.7089, allocations: 286.2 kB / 1.365 GB, free: 4.402 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.709, allocations: 94.39 kB / 1.366 GB, free: 4.312 MB / 1.198 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.0008414/0.7098, allocations: 0.6456 MB / 1.366 GB, free: 3.656 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/0.7101, allocations: 242.5 kB / 1.366 GB, free: 3.418 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003454/0.7105, allocations: 339 kB / 1.367 GB, free: 3.078 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.7105, allocations: 28 kB / 1.367 GB, free: 3.051 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.7105, allocations: 4.562 kB / 1.367 GB, free: 3.047 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003615/0.7141, allocations: 3.243 MB / 1.37 GB, free: 15.73 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007187/0.7213, allocations: 6.652 MB / 1.376 GB, free: 8.984 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.7213, allocations: 0 / 1.376 GB, free: 8.984 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/0.723, allocations: 0.6267 MB / 1.377 GB, free: 8.359 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.986e-06/0.723, allocations: 12 kB / 1.377 GB, free: 8.348 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/0.7231, allocations: 63.91 kB / 1.377 GB, free: 8.285 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.7231, allocations: 8 kB / 1.377 GB, free: 8.277 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.7231, allocations: 0 / 1.377 GB, free: 8.277 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006087/0.7292, allocations: 5.621 MB / 1.383 GB, free: 2.574 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00081/0.73, allocations: 0.603 MB / 1.383 GB, free: 1.969 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.7303, allocations: 51.98 kB / 1.383 GB, free: 1.918 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.7313, allocations: 134.1 kB / 1.383 GB, free: 1.789 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/0.7316, allocations: 169.8 kB / 1.384 GB, free: 1.621 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/0.7317, allocations: 87.95 kB / 1.384 GB, free: 1.535 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.0008004/0.7325, allocations: 0.9506 MB / 1.385 GB, free: 0.5898 MB / 1.214 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7325, allocations: 0 / 1.385 GB, free: 0.5898 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.001369/0.7339, allocations: 1.034 MB / 1.386 GB, free: 15.55 MB / 1.229 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.006539/0.7404, allocations: 6.405 MB / 1.392 GB, free: 9.062 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.003739/0.7442, allocations: 3.333 MB / 1.395 GB, free: 5.699 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.7442, allocations: 0 / 1.395 GB, free: 5.699 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.746, allocations: 1.711 MB / 1.397 GB, free: 3.984 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/0.7489, allocations: 1.361 MB / 1.398 GB, free: 2.66 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02231/0.7712, allocations: 21.79 MB / 1.419 GB, free: 12.51 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000864/0.772, allocations: 1.342 MB / 1.421 GB, free: 11.12 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.002194/0.7742, allocations: 0.9575 MB / 1.422 GB, free: 10.16 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/0.7755, allocations: 1.109 MB / 1.423 GB, free: 9.051 MB / 1.26 GB Notification: Performance of SimCode: time 1.263e-06/0.7755, allocations: 0 / 1.423 GB, free: 9.051 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07329/0.8488, allocations: 81.62 MB / 1.502 GB, free: 8.641 MB / 1.339 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.812/9.661, allocations: 4 kB / 1.502 GB, free: 8.637 MB / 1.339 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/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: 13.628937857225537]