Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008462/0.0008462, 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.0007973/0.0007973, 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.865/0.865, 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 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.713/1.713, allocations: 359 MB / 0.6037 GB, free: 11.1 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.ReverseBuoyancy,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.403e-05, allocations: 10.22 kB / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6719/0.6719, allocations: 279.2 MB / 1.223 GB, free: 6.637 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0221/0.694, allocations: 17.29 MB / 1.24 GB, free: 8.891 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004284/0.6983, allocations: 116.2 kB / 1.24 GB, free: 8.836 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.005275/0.7036, allocations: 2.055 MB / 1.242 GB, free: 7.188 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.01631/0.7199, allocations: 7.815 MB / 1.25 GB, free: 1.223 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.007282/0.7272, allocations: 3.361 MB / 1.253 GB, free: 14.65 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 0.01056/0.7377, allocations: 9.386 MB / 1.262 GB, free: 9.18 MB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004177/0.7419, allocations: 2.373 MB / 1.265 GB, free: 7.48 MB / 1.073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01061/0.7525, allocations: 4.58 MB / 1.269 GB, free: 3.262 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005836/0.7584, allocations: 3.049 MB / 1.272 GB, free: 228 kB / 1.073 GB Notification: Performance of NFPackage.collectConstants: time 0.001536/0.7599, allocations: 400 kB / 1.272 GB, free: 15.83 MB / 1.089 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01128/0.7712, allocations: 5.864 MB / 1.278 GB, free: 9.949 MB / 1.089 GB Notification: Performance of NFScalarize.scalarize: time 0.00281/0.774, allocations: 1.819 MB / 1.28 GB, free: 8.125 MB / 1.089 GB Notification: Performance of NFVerifyModel.verify: time 0.004213/0.7782, allocations: 1.68 MB / 1.282 GB, free: 6.441 MB / 1.089 GB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.7936, allocations: 8.333 MB / 1.29 GB, free: 14.09 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.7936, allocations: 4 kB / 1.29 GB, free: 14.08 MB / 1.104 GB Notification: Performance of FrontEnd: time 3.166e-06/0.7936, allocations: 0 / 1.29 GB, free: 14.08 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.0002392/0.7939, allocations: 0 / 1.29 GB, free: 14.08 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01112/0.805, allocations: 5.004 MB / 1.295 GB, free: 9.02 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.8051, allocations: 8.031 kB / 1.295 GB, free: 9.012 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001026/0.8061, allocations: 467.5 kB / 1.295 GB, free: 8.543 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004337/0.8104, allocations: 1.036 MB / 1.296 GB, free: 7.504 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004595/0.815, allocations: 2.171 MB / 1.298 GB, free: 5.293 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.8152, allocations: 243.5 kB / 1.298 GB, free: 5.055 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009296/0.8161, allocations: 324 kB / 1.299 GB, free: 4.738 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007774/0.8239, allocations: 4.637 MB / 1.303 GB, free: 15.91 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.487e-05/0.824, allocations: 11.88 kB / 1.303 GB, free: 15.91 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004125/0.8244, allocations: 132 kB / 1.303 GB, free: 15.78 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001397/0.8245, allocations: 170.4 kB / 1.304 GB, free: 15.61 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007472/0.832, allocations: 4.736 MB / 1.308 GB, free: 10.86 MB / 1.12 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.01749/0.8495, allocations: 9.989 MB / 1.318 GB, free: 0.7422 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005206/0.8547, allocations: 4.268 MB / 1.322 GB, free: 12.49 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003128/0.8578, allocations: 2.236 MB / 1.324 GB, free: 10.25 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007062/0.8585, allocations: 262.9 kB / 1.325 GB, free: 9.988 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.777e-05/0.8586, allocations: 85.64 kB / 1.325 GB, free: 9.895 MB / 1.135 GB Notification: Performance of pre-optimization done (n=392): time 6.222e-06/0.8586, allocations: 3.938 kB / 1.325 GB, free: 9.891 MB / 1.135 GB Notification: Performance of matching and sorting (n=392): time 0.008342/0.8669, allocations: 5.541 MB / 1.33 GB, free: 4.324 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.867, allocations: 94.48 kB / 1.33 GB, free: 4.219 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/0.8689, allocations: 1.684 MB / 1.332 GB, free: 2.492 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0005395/0.8695, allocations: 89.7 kB / 1.332 GB, free: 2.398 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006211/0.8701, allocations: 1.161 MB / 1.333 GB, free: 1.227 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.001604/0.8717, allocations: 1.371 MB / 1.334 GB, free: 15.84 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007199/0.8724, allocations: 0.5508 MB / 1.335 GB, free: 15.28 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.322e-05/0.8725, allocations: 304.9 kB / 1.335 GB, free: 14.98 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/0.8744, allocations: 1.568 MB / 1.337 GB, free: 13.41 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/0.8765, allocations: 1.966 MB / 1.339 GB, free: 11.37 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004986/0.8815, allocations: 3.766 MB / 1.342 GB, free: 7.516 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.48e-05/0.8815, allocations: 0 / 1.342 GB, free: 7.516 MB / 1.151 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006218/0.8878, allocations: 4.188 MB / 1.346 GB, free: 3.305 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.8878, allocations: 8 kB / 1.346 GB, free: 3.297 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.8878, allocations: 4 kB / 1.346 GB, free: 3.293 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-05/0.8879, allocations: 20 kB / 1.346 GB, free: 3.273 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/0.8898, allocations: 0.6943 MB / 1.347 GB, free: 2.578 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.005e-05/0.8899, allocations: 24.27 kB / 1.347 GB, free: 2.555 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/0.8919, allocations: 269.9 kB / 1.347 GB, free: 2.289 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003166/0.8922, allocations: 115.9 kB / 1.347 GB, free: 2.176 MB / 1.151 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 (430): * Single equations (assignments): 430 * 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.00162/0.8939, allocations: 0.8015 MB / 1.348 GB, free: 1.363 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007555/0.8946, allocations: 302.1 kB / 1.349 GB, free: 1.066 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005472/0.9001, allocations: 4.433 MB / 1.353 GB, free: 12.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/0.9001, allocations: 36 kB / 1.353 GB, free: 12.56 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.9001, allocations: 0 / 1.353 GB, free: 12.56 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004463/0.9046, allocations: 3.792 MB / 1.357 GB, free: 8.703 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/0.917, allocations: 7.958 MB / 1.364 GB, free: 0.6133 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.917, allocations: 4 kB / 1.364 GB, free: 0.6094 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002109/0.9191, allocations: 0.7221 MB / 1.365 GB, free: 15.89 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.57e-05/0.9191, allocations: 16 kB / 1.365 GB, free: 15.87 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000311/0.9194, allocations: 91.91 kB / 1.365 GB, free: 15.78 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-05/0.9195, allocations: 16 kB / 1.365 GB, free: 15.77 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.9195, allocations: 0 / 1.365 GB, free: 15.77 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007766/0.9272, allocations: 6.585 MB / 1.372 GB, free: 9.09 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001992/0.9292, allocations: 0.7393 MB / 1.372 GB, free: 8.348 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000572/0.9298, allocations: 75.94 kB / 1.372 GB, free: 8.273 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.9312, allocations: 85.41 kB / 1.372 GB, free: 8.191 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003084/0.9315, allocations: 254.4 kB / 1.373 GB, free: 7.941 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/0.9317, allocations: 112 kB / 1.373 GB, free: 7.832 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.0013/0.933, allocations: 1.157 MB / 1.374 GB, free: 6.652 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.9e-07/0.933, allocations: 0 / 1.374 GB, free: 6.652 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003122/0.9361, allocations: 1.233 MB / 1.375 GB, free: 5.418 MB / 1.182 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.008776/0.9449, allocations: 7.482 MB / 1.382 GB, free: 13.84 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.005464/0.9503, allocations: 3.729 MB / 1.386 GB, free: 10.09 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.9503, allocations: 0 / 1.386 GB, free: 10.09 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0026/0.9529, allocations: 1.989 MB / 1.388 GB, free: 8.105 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005196/0.9581, allocations: 1.599 MB / 1.39 GB, free: 6.535 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03517/0.9933, allocations: 25.54 MB / 1.415 GB, free: 12.61 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/0.9948, allocations: 1.64 MB / 1.416 GB, free: 10.93 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.003054/0.9979, allocations: 1.208 MB / 1.417 GB, free: 9.715 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00231/1, allocations: 1.391 MB / 1.419 GB, free: 8.324 MB / 1.229 GB Notification: Performance of SimCode: time 1.994e-06/1, allocations: 0 / 1.419 GB, free: 8.324 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1078/1.108, allocations: 92.18 MB / 1.509 GB, free: 13.62 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.285/10.39, allocations: 8 kB / 1.509 GB, free: 13.62 MB / 1.323 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.608392231166363]