Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008164/0.0008164, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008344/0.0008344, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.827/0.827, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.584/1.584, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.617e-06/3.617e-06, allocations: 4 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.619e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6137/0.6137, allocations: 262.1 MB / 1.206 GB, free: 2.16 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0174/0.6311, allocations: 15.9 MB / 1.222 GB, free: 7.113 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002065/0.6332, allocations: 107.1 kB / 1.222 GB, free: 7.062 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.002881/0.636, allocations: 1.812 MB / 1.224 GB, free: 5.609 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.009955/0.646, allocations: 6.885 MB / 1.231 GB, free: 356 kB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00457/0.6506, allocations: 3.063 MB / 1.234 GB, free: 14 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.006133/0.6567, allocations: 7.961 MB / 1.241 GB, free: 9.355 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/0.6589, allocations: 1.957 MB / 1.243 GB, free: 7.941 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004562/0.6635, allocations: 3.847 MB / 1.247 GB, free: 5.602 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003232/0.6667, allocations: 2.553 MB / 1.25 GB, free: 4.223 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0004997/0.6672, allocations: 327.6 kB / 1.25 GB, free: 4.223 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006683/0.6739, allocations: 5.151 MB / 1.255 GB, free: 1.344 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0008917/0.6748, allocations: 1.452 MB / 1.256 GB, free: 336 kB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.676, allocations: 1.367 MB / 1.258 GB, free: 14.96 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.005916/0.6819, allocations: 6.985 MB / 1.264 GB, free: 7.957 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6819, allocations: 0 / 1.264 GB, free: 7.957 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6819, allocations: 0 / 1.264 GB, free: 7.957 MB / 1.073 GB Notification: Performance of Transformations before backend: time 3.856e-05/0.6819, allocations: 0 / 1.264 GB, free: 7.957 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.005127/0.6871, allocations: 4.12 MB / 1.268 GB, free: 3.781 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.6871, allocations: 16.02 kB / 1.268 GB, free: 3.766 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003167/0.6874, allocations: 367 kB / 1.269 GB, free: 3.398 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002763/0.6902, allocations: 0.9385 MB / 1.27 GB, free: 2.457 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.6922, allocations: 1.838 MB / 1.272 GB, free: 0.5703 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.941e-05/0.6923, allocations: 193.1 kB / 1.272 GB, free: 388 kB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002534/0.6925, allocations: 263.9 kB / 1.272 GB, free: 124 kB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003446/0.696, allocations: 3.74 MB / 1.276 GB, free: 12.18 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.85e-05/0.696, allocations: 5.062 kB / 1.276 GB, free: 12.18 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/0.6962, allocations: 112 kB / 1.276 GB, free: 12.07 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.266e-05/0.6963, allocations: 137 kB / 1.276 GB, free: 11.93 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003682/0.7, allocations: 3.47 MB / 1.279 GB, free: 8.445 MB / 1.089 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.008292/0.7082, allocations: 8.174 MB / 1.287 GB, free: 128 kB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002771/0.711, allocations: 2.927 MB / 1.29 GB, free: 13.22 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.7127, allocations: 1.701 MB / 1.292 GB, free: 11.5 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005032/0.7133, allocations: 222 kB / 1.292 GB, free: 11.29 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.7133, allocations: 68.69 kB / 1.292 GB, free: 11.21 MB / 1.104 GB Notification: Performance of pre-optimization done (n=278): time 3.637e-06/0.7133, allocations: 0 / 1.292 GB, free: 11.21 MB / 1.104 GB Notification: Performance of matching and sorting (n=278): time 0.00406/0.7174, allocations: 3.894 MB / 1.296 GB, free: 7.266 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.7174, allocations: 81.59 kB / 1.296 GB, free: 7.172 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.7185, allocations: 1.387 MB / 1.297 GB, free: 5.777 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.7186, allocations: 77.7 kB / 1.297 GB, free: 5.695 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/0.7191, allocations: 1.014 MB / 1.298 GB, free: 4.672 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004826/0.7196, allocations: 0.9757 MB / 1.299 GB, free: 3.688 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003886/0.72, allocations: 405 kB / 1.3 GB, free: 3.285 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 6.261e-05/0.7201, allocations: 301.1 kB / 1.3 GB, free: 2.988 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.7212, allocations: 1.098 MB / 1.301 GB, free: 1.887 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.7225, allocations: 1.362 MB / 1.302 GB, free: 468 kB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/0.725, allocations: 2.65 MB / 1.305 GB, free: 13.71 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.725, allocations: 0 / 1.305 GB, free: 13.71 MB / 1.12 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.002942/0.728, allocations: 2.979 MB / 1.308 GB, free: 10.69 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.728, allocations: 11.98 kB / 1.308 GB, free: 10.68 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.728, allocations: 4.562 kB / 1.308 GB, free: 10.68 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.728, allocations: 16 kB / 1.308 GB, free: 10.66 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.7292, allocations: 0.511 MB / 1.308 GB, free: 10.15 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.7292, allocations: 19.88 kB / 1.308 GB, free: 10.13 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008661/0.7301, allocations: 190.5 kB / 1.309 GB, free: 9.941 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.7302, allocations: 90.67 kB / 1.309 GB, free: 9.855 MB / 1.12 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 (311): * Single equations (assignments): 311 * 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.0006455/0.7308, allocations: 0.6455 MB / 1.309 GB, free: 9.199 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.731, allocations: 238.5 kB / 1.31 GB, free: 8.965 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003041/0.7341, allocations: 3.113 MB / 1.313 GB, free: 5.801 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.7341, allocations: 28 kB / 1.313 GB, free: 5.773 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.7341, allocations: 0 / 1.313 GB, free: 5.773 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002547/0.7367, allocations: 2.657 MB / 1.315 GB, free: 3.043 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005587/0.7422, allocations: 5.73 MB / 1.321 GB, free: 13.22 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.7422, allocations: 0 / 1.321 GB, free: 13.22 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.7435, allocations: 0.5462 MB / 1.321 GB, free: 12.67 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.7435, allocations: 8 kB / 1.321 GB, free: 12.66 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.7436, allocations: 63.97 kB / 1.321 GB, free: 12.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.7436, allocations: 8 kB / 1.321 GB, free: 12.59 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.7436, allocations: 0 / 1.321 GB, free: 12.59 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004357/0.748, allocations: 4.582 MB / 1.326 GB, free: 7.93 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007018/0.7487, allocations: 0.5483 MB / 1.326 GB, free: 7.379 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.7488, allocations: 55.98 kB / 1.326 GB, free: 7.324 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007088/0.7496, allocations: 63.41 kB / 1.327 GB, free: 7.266 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/0.7498, allocations: 169.8 kB / 1.327 GB, free: 7.098 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.7499, allocations: 83.97 kB / 1.327 GB, free: 7.016 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.000787/0.7507, allocations: 0.9423 MB / 1.328 GB, free: 6.078 MB / 1.135 GB Notification: Performance of sort global known variables: time 8e-08/0.7507, allocations: 0 / 1.328 GB, free: 6.078 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001312/0.752, allocations: 0.9867 MB / 1.329 GB, free: 5.09 MB / 1.135 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.004829/0.7568, allocations: 5.418 MB / 1.334 GB, free: 15.59 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002593/0.7594, allocations: 2.618 MB / 1.337 GB, free: 12.94 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.7594, allocations: 7.938 kB / 1.337 GB, free: 12.93 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.7606, allocations: 1.398 MB / 1.338 GB, free: 11.53 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/0.7634, allocations: 1.354 MB / 1.339 GB, free: 10.21 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/0.7812, allocations: 19.25 MB / 1.358 GB, free: 6.59 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000894/0.7821, allocations: 1.337 MB / 1.359 GB, free: 5.219 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001567/0.7837, allocations: 0.8513 MB / 1.36 GB, free: 4.363 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.7847, allocations: 1.086 MB / 1.361 GB, free: 3.277 MB / 1.167 GB Notification: Performance of SimCode: time 8.02e-07/0.7847, allocations: 0 / 1.361 GB, free: 3.277 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06994/0.8547, allocations: 73.99 MB / 1.433 GB, free: 10.57 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.408/9.262, allocations: 15.31 kB / 1.433 GB, free: 10.56 MB / 1.245 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.139732813462615]