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.001527/0.001527, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001553/0.001553, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.195/3.195, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="cs",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.00195/0.00195, allocations: 69.75 kB / 1.17 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3541, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.146/1.501, allocations: 279.9 MB / 1.619 GB, free: 4.137 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.02983/1.53, allocations: 17.25 MB / 1.635 GB, free: 4.094 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006188/1.537, allocations: 117 kB / 1.636 GB, free: 4.094 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.00789/1.544, allocations: 2.029 MB / 1.638 GB, free: 4.055 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.026/1.57, allocations: 7.648 MB / 1.645 GB, free: 3.773 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01037/1.581, allocations: 3.32 MB / 1.648 GB, free: 3.688 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01428/1.595, allocations: 9.248 MB / 1.657 GB, free: 3.672 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005861/1.601, allocations: 2.391 MB / 1.66 GB, free: 19.48 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0105/1.611, allocations: 3.782 MB / 1.663 GB, free: 19.47 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008393/1.62, allocations: 3.385 MB / 1.667 GB, free: 19.47 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.002212/1.622, allocations: 406.5 kB / 1.667 GB, free: 19.47 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01551/1.638, allocations: 5.797 MB / 1.673 GB, free: 19.4 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.003643/1.641, allocations: 1.683 MB / 1.674 GB, free: 19.4 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.006998/1.648, allocations: 1.935 MB / 1.676 GB, free: 19.08 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.02119/1.669, allocations: 7.996 MB / 1.684 GB, free: 18.14 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.669, allocations: 0 / 1.684 GB, free: 18.14 MB / 1.311 GB Notification: Performance of FrontEnd: time 2.134e-06/1.669, allocations: 0.8438 kB / 1.684 GB, free: 18.14 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0002844/1.67, allocations: 0 / 1.684 GB, free: 18.14 MB / 1.311 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.01798/1.688, allocations: 4.955 MB / 1.689 GB, free: 16.22 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.688, allocations: 9.812 kB / 1.689 GB, free: 16.22 MB / 1.311 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001027/1.688, allocations: 90.5 kB / 1.689 GB, free: 16.21 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001697/1.689, allocations: 477 kB / 1.689 GB, free: 16.16 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/1.7, allocations: 1.255 MB / 1.691 GB, free: 15.93 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006403/1.707, allocations: 2.111 MB / 1.693 GB, free: 15.4 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002666/1.707, allocations: 246.7 kB / 1.693 GB, free: 15.39 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/1.708, allocations: 331.7 kB / 1.693 GB, free: 15.39 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/1.72, allocations: 4.912 MB / 1.698 GB, free: 14.6 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000174/1.72, allocations: 8.672 kB / 1.698 GB, free: 14.6 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009997/1.721, allocations: 136.6 kB / 1.698 GB, free: 14.6 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002333/1.722, allocations: 213.3 kB / 1.698 GB, free: 14.59 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/1.732, allocations: 5.185 MB / 1.703 GB, free: 14.56 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.02448/1.756, allocations: 10.42 MB / 1.714 GB, free: 12.24 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007511/1.764, allocations: 4.404 MB / 1.718 GB, free: 11.95 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004583/1.768, allocations: 2.305 MB / 1.72 GB, free: 11.11 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/1.77, allocations: 249.9 kB / 1.72 GB, free: 11.09 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.037e-05/1.77, allocations: 78.45 kB / 1.72 GB, free: 11.02 MB / 1.311 GB Notification: Performance of pre-optimization done (n=392): time 8.105e-06/1.77, allocations: 0 / 1.72 GB, free: 11.02 MB / 1.311 GB Notification: Performance of matching and sorting (n=392): time 0.01255/1.782, allocations: 5.749 MB / 1.726 GB, free: 8.883 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/1.782, allocations: 93.14 kB / 1.726 GB, free: 8.816 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003505/1.786, allocations: 1.715 MB / 1.728 GB, free: 8.141 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.000759/1.787, allocations: 95.67 kB / 1.728 GB, free: 8.055 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001202/1.788, allocations: 1.247 MB / 1.729 GB, free: 7.086 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001917/1.79, allocations: 1.393 MB / 1.731 GB, free: 5.984 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002129/1.792, allocations: 0.6303 MB / 1.731 GB, free: 5.703 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.792, allocations: 305.1 kB / 1.731 GB, free: 5.402 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003252/1.795, allocations: 1.733 MB / 1.733 GB, free: 4.777 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003842/1.799, allocations: 2.148 MB / 1.735 GB, free: 3.832 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007367/1.806, allocations: 4.061 MB / 1.739 GB, free: 1.789 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.906e-05/1.806, allocations: 0 / 1.739 GB, free: 1.789 MB / 1.311 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.009502/1.816, allocations: 4.592 MB / 1.744 GB, free: 15.57 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/1.816, allocations: 8.094 kB / 1.744 GB, free: 15.57 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/1.816, allocations: 9.75 kB / 1.744 GB, free: 15.57 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.111e-05/1.816, allocations: 19.41 kB / 1.744 GB, free: 15.57 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004212/1.82, allocations: 0.7832 MB / 1.744 GB, free: 15.45 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-05/1.82, allocations: 29.2 kB / 1.744 GB, free: 15.44 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004114/1.824, allocations: 318.4 kB / 1.745 GB, free: 15.2 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007142/1.825, allocations: 135.2 kB / 1.745 GB, free: 15.16 MB / 1.326 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.002547/1.828, allocations: 0.8098 MB / 1.746 GB, free: 14.66 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/1.829, allocations: 303.2 kB / 1.746 GB, free: 14.5 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009594/1.839, allocations: 4.592 MB / 1.75 GB, free: 11.96 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/1.839, allocations: 37.25 kB / 1.751 GB, free: 11.96 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.687e-05/1.839, allocations: 2.594 kB / 1.751 GB, free: 11.96 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006734/1.845, allocations: 3.934 MB / 1.754 GB, free: 9.902 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01952/1.865, allocations: 8.176 MB / 1.762 GB, free: 5.18 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/1.865, allocations: 4 kB / 1.762 GB, free: 5.176 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004493/1.869, allocations: 0.7443 MB / 1.763 GB, free: 4.469 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-05/1.869, allocations: 16 kB / 1.763 GB, free: 4.453 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006249/1.87, allocations: 87.97 kB / 1.763 GB, free: 4.367 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.029e-05/1.87, allocations: 18.44 kB / 1.763 GB, free: 4.352 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.87, allocations: 4 kB / 1.763 GB, free: 4.348 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01304/1.883, allocations: 6.832 MB / 1.77 GB, free: 13.43 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002617/1.886, allocations: 0.747 MB / 1.771 GB, free: 12.68 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001076/1.887, allocations: 75.98 kB / 1.771 GB, free: 12.6 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003252/1.89, allocations: 97.45 kB / 1.771 GB, free: 12.51 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007092/1.891, allocations: 249 kB / 1.771 GB, free: 12.27 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004692/1.891, allocations: 120 kB / 1.771 GB, free: 12.15 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.00231/1.894, allocations: 1.153 MB / 1.772 GB, free: 10.97 MB / 1.342 GB Notification: Performance of sort global known variables: time 8e-08/1.894, allocations: 0 / 1.772 GB, free: 10.97 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.004326/1.898, allocations: 1.279 MB / 1.773 GB, free: 9.691 MB / 1.342 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.01389/1.912, allocations: 7.719 MB / 1.781 GB, free: 1.93 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.008267/1.92, allocations: 3.989 MB / 1.785 GB, free: 13.99 MB / 1.357 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/1.92, allocations: 4 kB / 1.785 GB, free: 13.98 MB / 1.357 GB Notification: Performance of simCode: created simulation system equations: time 0.004325/1.924, allocations: 2.059 MB / 1.787 GB, free: 12 MB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008831/1.933, allocations: 1.599 MB / 1.788 GB, free: 10.43 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05514/1.988, allocations: 26.53 MB / 1.814 GB, free: 15.67 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002724/1.991, allocations: 1.644 MB / 1.816 GB, free: 13.98 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.005805/1.997, allocations: 1.326 MB / 1.817 GB, free: 12.65 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003322/2, allocations: 1.397 MB / 1.819 GB, free: 11.25 MB / 1.389 GB Notification: Performance of SimCode: time 1.002e-06/2, allocations: 3.938 kB / 1.819 GB, free: 11.25 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.165/2.165, allocations: 94.73 MB / 1.911 GB, free: 13.88 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.92/21.09, allocations: 8.062 kB / 1.911 GB, free: 13.87 MB / 1.482 GB " [Timeout remaining time 279] (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.428388083004393]