Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.0007745/0.0007745, 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.0007875/0.0007875, 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.8548/0.8548, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.676/1.676, 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.ReverseBuoyancy,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.981 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185e-05/1.3e-05, allocations: 2.281 kB / 0.981 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6341/0.6341, allocations: 279.3 MB / 1.254 GB, free: 1.605 MB / 1.073 GB Notification: Performance of NFInst.instExpressions: time 0.02218/0.6563, allocations: 17.32 MB / 1.271 GB, free: 1.637 MB / 1.089 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00406/0.6603, allocations: 119.1 kB / 1.271 GB, free: 1.52 MB / 1.089 GB Notification: Performance of NFTyping.typeComponents: time 0.005721/0.666, allocations: 2.058 MB / 1.273 GB, free: 15.45 MB / 1.104 GB Notification: Performance of NFTyping.typeBindings: time 0.0178/0.6838, allocations: 7.808 MB / 1.28 GB, free: 7.605 MB / 1.104 GB Notification: Performance of NFTyping.typeClassSections: time 0.007005/0.6909, allocations: 3.369 MB / 1.284 GB, free: 4.242 MB / 1.104 GB Notification: Performance of NFFlatten.flatten: time 0.01024/0.7011, allocations: 9.381 MB / 1.293 GB, free: 10.84 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003941/0.705, allocations: 2.37 MB / 1.295 GB, free: 8.406 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009642/0.7147, allocations: 4.91 MB / 1.3 GB, free: 3.484 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005409/0.7201, allocations: 3.008 MB / 1.303 GB, free: 496 kB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 0.001175/0.7213, allocations: 404 kB / 1.303 GB, free: 92 kB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01093/0.7322, allocations: 5.833 MB / 1.309 GB, free: 10.23 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 0.002504/0.7347, allocations: 1.784 MB / 1.311 GB, free: 8.445 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 0.003312/0.738, allocations: 1.661 MB / 1.312 GB, free: 6.781 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.0141/0.7521, allocations: 8.329 MB / 1.32 GB, free: 14.43 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.7521, allocations: 0 / 1.32 GB, free: 14.43 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7521, allocations: 0 / 1.32 GB, free: 14.43 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002059/0.7523, allocations: 4 kB / 1.32 GB, free: 14.43 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: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.01067/0.763, allocations: 4.918 MB / 1.325 GB, free: 9.449 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.763, allocations: 12.03 kB / 1.325 GB, free: 9.438 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007664/0.7638, allocations: 476.6 kB / 1.326 GB, free: 8.961 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004081/0.7679, allocations: 1.036 MB / 1.327 GB, free: 7.922 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003993/0.7719, allocations: 2.094 MB / 1.329 GB, free: 5.777 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.7721, allocations: 246.5 kB / 1.329 GB, free: 5.535 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007889/0.7728, allocations: 331.9 kB / 1.329 GB, free: 5.211 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007296/0.7801, allocations: 4.807 MB / 1.334 GB, free: 232 kB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.526e-05/0.7802, allocations: 4 kB / 1.334 GB, free: 228 kB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003466/0.7806, allocations: 135.9 kB / 1.334 GB, free: 92 kB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001841/0.7807, allocations: 210.7 kB / 1.334 GB, free: 15.88 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007873/0.7886, allocations: 4.988 MB / 1.339 GB, free: 10.89 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.01711/0.8057, allocations: 10.27 MB / 1.349 GB, free: 500 kB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005194/0.8109, allocations: 4.258 MB / 1.353 GB, free: 12.25 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002831/0.8138, allocations: 2.24 MB / 1.356 GB, free: 9.996 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007189/0.8145, allocations: 258.9 kB / 1.356 GB, free: 9.742 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.219e-05/0.8145, allocations: 73.64 kB / 1.356 GB, free: 9.66 MB / 1.182 GB Notification: Performance of pre-optimization done (n=392): time 6.632e-06/0.8145, allocations: 0 / 1.356 GB, free: 9.66 MB / 1.182 GB Notification: Performance of matching and sorting (n=392): time 0.007651/0.8222, allocations: 5.549 MB / 1.361 GB, free: 4.09 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.8223, allocations: 94.47 kB / 1.361 GB, free: 3.984 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/0.8242, allocations: 1.74 MB / 1.363 GB, free: 2.203 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0004156/0.8246, allocations: 93.7 kB / 1.363 GB, free: 2.105 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006632/0.8253, allocations: 1.245 MB / 1.364 GB, free: 0.8477 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.001206/0.8265, allocations: 1.379 MB / 1.366 GB, free: 15.45 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007237/0.8272, allocations: 0.6104 MB / 1.366 GB, free: 14.84 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 7.905e-05/0.8273, allocations: 304.9 kB / 1.367 GB, free: 14.54 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/0.8294, allocations: 1.666 MB / 1.368 GB, free: 12.87 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002283/0.8317, allocations: 2.087 MB / 1.37 GB, free: 10.71 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005054/0.8367, allocations: 3.92 MB / 1.374 GB, free: 6.707 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-05/0.8368, allocations: 4 kB / 1.374 GB, free: 6.703 MB / 1.198 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.00617/0.8429, allocations: 4.449 MB / 1.379 GB, free: 2.238 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.843, allocations: 12.09 kB / 1.379 GB, free: 2.227 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.843, allocations: 8 kB / 1.379 GB, free: 2.219 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/0.843, allocations: 20 kB / 1.379 GB, free: 2.199 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/0.8452, allocations: 0.7534 MB / 1.379 GB, free: 1.445 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-05/0.8452, allocations: 23.94 kB / 1.379 GB, free: 1.422 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.8472, allocations: 301.6 kB / 1.38 GB, free: 1.125 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003114/0.8475, allocations: 135.9 kB / 1.38 GB, free: 0.9922 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (472): * Single equations (assignments): 472 * 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.00142/0.8489, allocations: 0.8093 MB / 1.381 GB, free: 176 kB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007826/0.8497, allocations: 314 kB / 1.381 GB, free: 15.86 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005622/0.8553, allocations: 4.426 MB / 1.385 GB, free: 11.41 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.8553, allocations: 39.62 kB / 1.385 GB, free: 11.37 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.8553, allocations: 0 / 1.385 GB, free: 11.37 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004424/0.8597, allocations: 3.788 MB / 1.389 GB, free: 7.516 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/0.8709, allocations: 7.968 MB / 1.397 GB, free: 15.41 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.871, allocations: 4 kB / 1.397 GB, free: 15.41 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/0.873, allocations: 0.722 MB / 1.397 GB, free: 14.68 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.405e-05/0.873, allocations: 19.98 kB / 1.397 GB, free: 14.66 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002644/0.8733, allocations: 83.98 kB / 1.397 GB, free: 14.58 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.575e-05/0.8733, allocations: 16 kB / 1.398 GB, free: 14.57 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.8733, allocations: 7.938 kB / 1.398 GB, free: 14.56 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007903/0.8812, allocations: 6.581 MB / 1.404 GB, free: 7.883 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/0.8829, allocations: 0.7275 MB / 1.405 GB, free: 7.152 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004422/0.8833, allocations: 75.98 kB / 1.405 GB, free: 7.078 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.8846, allocations: 83.98 kB / 1.405 GB, free: 6.996 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/0.8849, allocations: 246.5 kB / 1.405 GB, free: 6.754 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/0.8851, allocations: 119.9 kB / 1.405 GB, free: 6.637 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.001297/0.8863, allocations: 1.157 MB / 1.406 GB, free: 5.457 MB / 1.229 GB Notification: Performance of sort global known variables: time 9e-08/0.8863, allocations: 0 / 1.406 GB, free: 5.457 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.002488/0.8888, allocations: 1.272 MB / 1.408 GB, free: 4.184 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.008466/0.8973, allocations: 7.484 MB / 1.415 GB, free: 12.61 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.005358/0.9027, allocations: 3.86 MB / 1.419 GB, free: 8.734 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.9027, allocations: 4 kB / 1.419 GB, free: 8.73 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.002412/0.9051, allocations: 1.988 MB / 1.421 GB, free: 6.742 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005001/0.9101, allocations: 1.609 MB / 1.422 GB, free: 5.164 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03401/0.9441, allocations: 25.83 MB / 1.447 GB, free: 10.98 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/0.9454, allocations: 1.648 MB / 1.449 GB, free: 9.285 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.003041/0.9485, allocations: 1.264 MB / 1.45 GB, free: 8.016 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001985/0.9504, allocations: 1.387 MB / 1.452 GB, free: 6.629 MB / 1.276 GB Notification: Performance of SimCode: time 1.923e-06/0.9504, allocations: 0 / 1.452 GB, free: 6.629 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.112/1.062, allocations: 92.39 MB / 1.542 GB, free: 11.74 MB / 1.37 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.705/10.77, allocations: 13.98 kB / 1.542 GB, free: 11.74 MB / 1.37 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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: 14.896500714123249]