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.0007773/0.0007773, 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.0007656/0.0007656, 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.8858/0.8858, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.719/1.719, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.981 GB, free: 1.465 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.725e-05, allocations: 6.219 kB / 0.981 GB, free: 1.457 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6267/0.6267, allocations: 262.3 MB / 1.237 GB, free: 9.988 MB / 1.073 GB Notification: Performance of NFInst.instExpressions: time 0.01698/0.6437, allocations: 15.93 MB / 1.253 GB, free: 10.02 MB / 1.089 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001705/0.6454, allocations: 107.2 kB / 1.253 GB, free: 9.918 MB / 1.089 GB Notification: Performance of NFTyping.typeComponents: time 0.002727/0.6482, allocations: 1.805 MB / 1.254 GB, free: 8.102 MB / 1.089 GB Notification: Performance of NFTyping.typeBindings: time 0.009197/0.6574, allocations: 6.891 MB / 1.261 GB, free: 1.18 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.004641/0.662, allocations: 3.063 MB / 1.264 GB, free: 14.11 MB / 1.104 GB Notification: Performance of NFFlatten.flatten: time 0.006146/0.6681, allocations: 7.963 MB / 1.272 GB, free: 6.129 MB / 1.104 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.6698, allocations: 1.951 MB / 1.274 GB, free: 4.121 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003658/0.6735, allocations: 4.107 MB / 1.278 GB, free: 4 kB / 1.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002404/0.6759, allocations: 2.512 MB / 1.28 GB, free: 13.5 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 0.0002831/0.6761, allocations: 328 kB / 1.281 GB, free: 13.18 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006757/0.6829, allocations: 5.13 MB / 1.286 GB, free: 8.035 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 0.0007884/0.6837, allocations: 1.426 MB / 1.287 GB, free: 6.605 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 0.0009975/0.6847, allocations: 1.364 MB / 1.288 GB, free: 5.238 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.006338/0.691, allocations: 6.973 MB / 1.295 GB, free: 14.25 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.691, allocations: 0 / 1.295 GB, free: 14.25 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.585e-06/0.691, allocations: 3.938 kB / 1.295 GB, free: 14.24 MB / 1.135 GB Notification: Performance of Transformations before backend: time 2.618e-05/0.6911, allocations: 0 / 1.295 GB, free: 14.24 MB / 1.135 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.005222/0.6963, allocations: 4.089 MB / 1.299 GB, free: 10.1 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.6963, allocations: 16.03 kB / 1.299 GB, free: 10.08 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003236/0.6967, allocations: 375.5 kB / 1.3 GB, free: 9.707 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0028/0.6995, allocations: 0.9385 MB / 1.3 GB, free: 8.766 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/0.7015, allocations: 1.794 MB / 1.302 GB, free: 6.926 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.285e-05/0.7016, allocations: 197.1 kB / 1.302 GB, free: 6.73 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/0.7018, allocations: 270.5 kB / 1.303 GB, free: 6.469 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003727/0.7055, allocations: 3.82 MB / 1.306 GB, free: 2.449 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.216e-05/0.7056, allocations: 4 kB / 1.306 GB, free: 2.445 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/0.7058, allocations: 108 kB / 1.307 GB, free: 2.34 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.7059, allocations: 165.1 kB / 1.307 GB, free: 2.176 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003673/0.7096, allocations: 3.596 MB / 1.31 GB, free: 14.56 MB / 1.151 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.007972/0.7175, allocations: 8.303 MB / 1.318 GB, free: 6.117 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/0.7203, allocations: 2.94 MB / 1.321 GB, free: 3.195 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/0.722, allocations: 1.701 MB / 1.323 GB, free: 1.48 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005001/0.7225, allocations: 218 kB / 1.323 GB, free: 1.266 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.7225, allocations: 68.73 kB / 1.323 GB, free: 1.188 MB / 1.151 GB Notification: Performance of pre-optimization done (n=278): time 3.396e-06/0.7225, allocations: 0 / 1.323 GB, free: 1.188 MB / 1.151 GB Notification: Performance of matching and sorting (n=278): time 0.004116/0.7266, allocations: 3.894 MB / 1.327 GB, free: 13.25 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.7267, allocations: 85.53 kB / 1.327 GB, free: 13.15 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.7278, allocations: 1.407 MB / 1.328 GB, free: 11.73 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.7279, allocations: 77.7 kB / 1.328 GB, free: 11.65 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004444/0.7283, allocations: 1.044 MB / 1.329 GB, free: 10.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004719/0.7288, allocations: 0.9797 MB / 1.33 GB, free: 9.609 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004176/0.7292, allocations: 433.5 kB / 1.331 GB, free: 9.18 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.284e-05/0.7293, allocations: 305.1 kB / 1.331 GB, free: 8.879 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.7305, allocations: 1.145 MB / 1.332 GB, free: 7.73 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.7319, allocations: 1.419 MB / 1.334 GB, free: 6.246 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/0.7346, allocations: 2.727 MB / 1.336 GB, free: 3.43 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.7346, allocations: 0 / 1.336 GB, free: 3.43 MB / 1.167 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.003095/0.7377, allocations: 3.119 MB / 1.339 GB, free: 276 kB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.7377, allocations: 8 kB / 1.339 GB, free: 268 kB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.7377, allocations: 4 kB / 1.339 GB, free: 264 kB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.7377, allocations: 16 kB / 1.339 GB, free: 248 kB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.7389, allocations: 0.5427 MB / 1.34 GB, free: 15.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.7389, allocations: 27.88 kB / 1.34 GB, free: 15.67 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009653/0.7399, allocations: 210.3 kB / 1.34 GB, free: 15.46 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.74, allocations: 87.98 kB / 1.34 GB, free: 15.38 MB / 1.182 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.0008393/0.7408, allocations: 0.6495 MB / 1.341 GB, free: 14.72 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.7411, allocations: 238.5 kB / 1.341 GB, free: 14.48 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003106/0.7442, allocations: 3.112 MB / 1.344 GB, free: 11.31 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.7442, allocations: 28 kB / 1.344 GB, free: 11.29 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.7442, allocations: 3.938 kB / 1.344 GB, free: 11.28 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002521/0.7467, allocations: 2.653 MB / 1.347 GB, free: 8.559 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005823/0.7525, allocations: 5.737 MB / 1.352 GB, free: 2.727 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.7526, allocations: 4.688 kB / 1.352 GB, free: 2.723 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.7538, allocations: 0.5423 MB / 1.353 GB, free: 2.18 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.7538, allocations: 8 kB / 1.353 GB, free: 2.172 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.927e-05/0.7539, allocations: 63.97 kB / 1.353 GB, free: 2.109 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.7539, allocations: 16 kB / 1.353 GB, free: 2.094 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7539, allocations: 0 / 1.353 GB, free: 2.094 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004538/0.7585, allocations: 4.579 MB / 1.357 GB, free: 13.43 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007233/0.7592, allocations: 0.5522 MB / 1.358 GB, free: 12.88 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.7594, allocations: 55.98 kB / 1.358 GB, free: 12.82 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007316/0.7601, allocations: 55.98 kB / 1.358 GB, free: 12.77 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/0.7603, allocations: 177.8 kB / 1.358 GB, free: 12.59 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.893e-05/0.7604, allocations: 79.97 kB / 1.358 GB, free: 12.51 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.0008026/0.7612, allocations: 0.9501 MB / 1.359 GB, free: 11.57 MB / 1.198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7612, allocations: 0 / 1.359 GB, free: 11.57 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.00134/0.7626, allocations: 1.002 MB / 1.36 GB, free: 10.56 MB / 1.198 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.005415/0.768, allocations: 5.412 MB / 1.366 GB, free: 5.062 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.00301/0.771, allocations: 2.685 MB / 1.368 GB, free: 2.348 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.771, allocations: 0 / 1.368 GB, free: 2.348 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.7724, allocations: 1.395 MB / 1.369 GB, free: 0.9492 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/0.7755, allocations: 1.352 MB / 1.371 GB, free: 15.62 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/0.7943, allocations: 19.43 MB / 1.39 GB, free: 11.84 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009038/0.7952, allocations: 1.329 MB / 1.391 GB, free: 10.48 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.00186/0.7971, allocations: 0.8751 MB / 1.392 GB, free: 9.598 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/0.7981, allocations: 1.09 MB / 1.393 GB, free: 8.508 MB / 1.229 GB Notification: Performance of SimCode: time 1.332e-06/0.7981, allocations: 0 / 1.393 GB, free: 8.508 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07846/0.8766, allocations: 74.11 MB / 1.465 GB, free: 15.71 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.951/9.828, allocations: 11.92 kB / 1.465 GB, free: 15.7 MB / 1.307 GB " [Timeout remaining time 290] (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/jenkins/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: 13.894085153006017]