Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001683/0.001683, allocations: 110.4 kB / 18.94 MB, free: 2.793 MB / 14.72 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.002209/0.002209, allocations: 221.1 kB / 22.26 MB, free: 5.215 MB / 14.72 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 1.458/1.458, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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 3.286/3.286, allocations: 0.505 GB / 0.8101 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.ReverseBuoyancy,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 67.98 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3524, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.182/1.534, allocations: 320.1 MB / 1.665 GB, free: 3.879 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.02648/1.561, allocations: 18.7 MB / 1.684 GB, free: 3.715 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005747/1.566, allocations: 118.1 kB / 1.684 GB, free: 3.715 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.006522/1.573, allocations: 2.265 MB / 1.686 GB, free: 3.672 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02019/1.593, allocations: 7.767 MB / 1.694 GB, free: 3.344 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.009066/1.602, allocations: 3.336 MB / 1.697 GB, free: 3.219 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01286/1.615, allocations: 9.329 MB / 1.706 GB, free: 3.18 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004583/1.62, allocations: 2.411 MB / 1.708 GB, free: 2.973 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008592/1.628, allocations: 3.775 MB / 1.712 GB, free: 2.82 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007393/1.636, allocations: 3.412 MB / 1.715 GB, free: 2.422 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001193/1.637, allocations: 408 kB / 1.716 GB, free: 2.422 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01688/1.654, allocations: 7.591 MB / 1.723 GB, free: 2.352 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003245/1.657, allocations: 1.696 MB / 1.725 GB, free: 2.16 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.005135/1.662, allocations: 2.305 MB / 1.727 GB, free: 1.586 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01894/1.681, allocations: 8.262 MB / 1.735 GB, free: 0.6406 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.681, allocations: 1.5 kB / 1.735 GB, free: 0.6406 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.833e-06/1.681, allocations: 0 / 1.735 GB, free: 0.6406 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000154/1.681, allocations: 1.656 kB / 1.735 GB, free: 0.6406 MB / 1.295 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.01448/1.696, allocations: 4.994 MB / 1.74 GB, free: 14.12 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/1.696, allocations: 11.81 kB / 1.74 GB, free: 14.12 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007503/1.696, allocations: 478.6 kB / 1.74 GB, free: 13.86 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01654/1.713, allocations: 2.035 MB / 1.742 GB, free: 13.2 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006569/1.72, allocations: 2.183 MB / 1.745 GB, free: 11.82 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002384/1.72, allocations: 255.4 kB / 1.745 GB, free: 11.7 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009303/1.721, allocations: 331.3 kB / 1.745 GB, free: 11.59 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/1.731, allocations: 5.132 MB / 1.75 GB, free: 8.605 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.486e-05/1.731, allocations: 3 kB / 1.75 GB, free: 8.605 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004295/1.731, allocations: 135.6 kB / 1.75 GB, free: 8.508 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001917/1.731, allocations: 216.4 kB / 1.751 GB, free: 8.461 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/1.743, allocations: 6.164 MB / 1.757 GB, free: 5.484 MB / 1.311 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.0291/1.772, allocations: 16.35 MB / 1.773 GB, free: 8.477 MB / 1.326 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009628/1.782, allocations: 5.306 MB / 1.778 GB, free: 5.59 MB / 1.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005363/1.787, allocations: 2.751 MB / 1.78 GB, free: 3.66 MB / 1.326 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003849/1.788, allocations: 92.8 kB / 1.78 GB, free: 3.582 MB / 1.326 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.228e-05/1.788, allocations: 84.67 kB / 1.781 GB, free: 3.492 MB / 1.326 GB Notification: Performance of pre-optimization done (n=392): time 6.943e-06/1.788, allocations: 0 / 1.781 GB, free: 3.492 MB / 1.326 GB Notification: Performance of matching and sorting (n=392): time 0.01564/1.804, allocations: 7.043 MB / 1.787 GB, free: 12.42 MB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/1.804, allocations: 90.48 kB / 1.788 GB, free: 12.32 MB / 1.342 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/1.806, allocations: 1.737 MB / 1.789 GB, free: 10.54 MB / 1.342 GB Notification: Performance of collectPreVariables (initialization): time 0.0004828/1.807, allocations: 93.7 kB / 1.789 GB, free: 10.45 MB / 1.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/1.808, allocations: 1.244 MB / 1.791 GB, free: 9.191 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.001626/1.81, allocations: 1.394 MB / 1.792 GB, free: 7.816 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001337/1.811, allocations: 0.641 MB / 1.792 GB, free: 7.172 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.811, allocations: 301.1 kB / 1.793 GB, free: 6.875 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004594/1.816, allocations: 2.225 MB / 1.795 GB, free: 4.648 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00509/1.821, allocations: 2.608 MB / 1.797 GB, free: 1.977 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/1.831, allocations: 4.938 MB / 1.802 GB, free: 12.98 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.686e-05/1.831, allocations: 4 kB / 1.802 GB, free: 12.97 MB / 1.357 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.01227/1.844, allocations: 5.542 MB / 1.808 GB, free: 7.445 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/1.844, allocations: 10.34 kB / 1.808 GB, free: 7.438 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/1.844, allocations: 8 kB / 1.808 GB, free: 7.43 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.037e-05/1.844, allocations: 20 kB / 1.808 GB, free: 7.41 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005679/1.849, allocations: 0.876 MB / 1.809 GB, free: 6.578 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.862e-05/1.849, allocations: 20 kB / 1.809 GB, free: 6.559 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004986/1.854, allocations: 417.4 kB / 1.809 GB, free: 6.148 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008321/1.855, allocations: 135 kB / 1.809 GB, free: 6.02 MB / 1.357 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.0026/1.858, allocations: 0.8148 MB / 1.81 GB, free: 5.238 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/1.859, allocations: 310.1 kB / 1.81 GB, free: 4.934 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/1.86, allocations: 462 kB / 1.811 GB, free: 4.473 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.102e-05/1.86, allocations: 36 kB / 1.811 GB, free: 4.438 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/1.86, allocations: 4 kB / 1.811 GB, free: 4.434 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01007/1.87, allocations: 4.809 MB / 1.815 GB, free: 15.56 MB / 1.373 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02163/1.892, allocations: 10.26 MB / 1.825 GB, free: 5.285 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/1.892, allocations: 3.281 kB / 1.825 GB, free: 5.285 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005727/1.898, allocations: 0.841 MB / 1.826 GB, free: 4.48 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.873e-05/1.898, allocations: 16 kB / 1.826 GB, free: 4.465 MB / 1.373 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000755/1.898, allocations: 95.94 kB / 1.826 GB, free: 4.371 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.612e-05/1.898, allocations: 20 kB / 1.826 GB, free: 4.352 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.898, allocations: 0.5469 kB / 1.826 GB, free: 4.352 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01721/1.916, allocations: 8.376 MB / 1.835 GB, free: 11.89 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003127/1.919, allocations: 0.8251 MB / 1.835 GB, free: 11.06 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008465/1.92, allocations: 75.98 kB / 1.835 GB, free: 10.98 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004109/1.924, allocations: 198 kB / 1.836 GB, free: 10.79 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006702/1.924, allocations: 238.5 kB / 1.836 GB, free: 10.56 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003569/1.925, allocations: 123.9 kB / 1.836 GB, free: 10.44 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.00198/1.927, allocations: 1.169 MB / 1.837 GB, free: 9.246 MB / 1.389 GB Notification: Performance of sort global known variables: time 1e-07/1.927, allocations: 0 / 1.837 GB, free: 9.246 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.004022/1.931, allocations: 1.338 MB / 1.838 GB, free: 7.906 MB / 1.389 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.01815/1.949, allocations: 9.232 MB / 1.847 GB, free: 14.62 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.01158/1.961, allocations: 4.965 MB / 1.852 GB, free: 9.707 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/1.961, allocations: 4.125 kB / 1.852 GB, free: 9.703 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.005667/1.966, allocations: 2.528 MB / 1.855 GB, free: 7.254 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008572/1.975, allocations: 1.609 MB / 1.856 GB, free: 5.668 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06468/2.039, allocations: 30.13 MB / 1.886 GB, free: 7.258 MB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002357/2.042, allocations: 2.21 MB / 1.888 GB, free: 5.012 MB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.006103/2.048, allocations: 1.424 MB / 1.889 GB, free: 3.582 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003349/2.051, allocations: 1.405 MB / 1.891 GB, free: 2.176 MB / 1.436 GB Notification: Performance of SimCode: time 1.633e-06/2.051, allocations: 4 kB / 1.891 GB, free: 2.172 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1881/2.239, allocations: 99.81 MB / 1.988 GB, free: 15.21 MB / 1.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.33/21.57, allocations: 8.781 kB / 1.988 GB, free: 15.2 MB / 1.545 GB " [Timeout remaining time 278] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 28.689213149948046]