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.001814/0.001814, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001855/0.001855, allocations: 216.4 kB / 22.24 MB, free: 5.258 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.361/1.361, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.007/3.007, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002005/0.002005, allocations: 70.05 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3206, allocations: 176.1 MB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.3171/0.6376, allocations: 280.1 MB / 1.599 GB, free: 8.348 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.7249/1.363, allocations: 17.26 MB / 1.616 GB, free: 4.164 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003803/1.366, allocations: 117 kB / 1.616 GB, free: 4.164 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005243/1.372, allocations: 2.035 MB / 1.618 GB, free: 4.164 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01795/1.39, allocations: 7.65 MB / 1.626 GB, free: 3.934 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.008894/1.398, allocations: 3.314 MB / 1.629 GB, free: 3.855 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01544/1.414, allocations: 9.254 MB / 1.638 GB, free: 3.836 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004815/1.419, allocations: 2.398 MB / 1.64 GB, free: 19.64 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009838/1.429, allocations: 3.785 MB / 1.644 GB, free: 19.64 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007844/1.436, allocations: 3.381 MB / 1.647 GB, free: 19.63 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.00148/1.438, allocations: 405.8 kB / 1.648 GB, free: 19.63 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01395/1.452, allocations: 5.791 MB / 1.653 GB, free: 19.56 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.003247/1.455, allocations: 1.689 MB / 1.655 GB, free: 19.56 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.005267/1.46, allocations: 1.931 MB / 1.657 GB, free: 19.53 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.01554/1.476, allocations: 7.995 MB / 1.665 GB, free: 18.59 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/1.476, allocations: 1 kB / 1.665 GB, free: 18.59 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.783e-06/1.476, allocations: 0 / 1.665 GB, free: 18.59 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0001876/1.476, allocations: 4.375 kB / 1.665 GB, free: 18.59 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.01432/1.49, allocations: 4.955 MB / 1.67 GB, free: 16.68 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/1.49, allocations: 8.719 kB / 1.67 GB, free: 16.68 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007612/1.491, allocations: 479.4 kB / 1.67 GB, free: 16.62 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006511/1.498, allocations: 1.025 MB / 1.671 GB, free: 16.4 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00509/1.503, allocations: 2.104 MB / 1.673 GB, free: 15.86 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/1.503, allocations: 248.2 kB / 1.673 GB, free: 15.86 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000743/1.504, allocations: 327.5 kB / 1.674 GB, free: 15.85 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008189/1.512, allocations: 4.804 MB / 1.678 GB, free: 15.06 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.978e-05/1.512, allocations: 13.38 kB / 1.678 GB, free: 15.06 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003446/1.512, allocations: 132.5 kB / 1.679 GB, free: 15.06 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001846/1.513, allocations: 213.2 kB / 1.679 GB, free: 15.05 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008106/1.521, allocations: 4.981 MB / 1.684 GB, free: 15.02 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.02141/1.542, allocations: 10.28 MB / 1.694 GB, free: 12.72 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00628/1.548, allocations: 4.248 MB / 1.698 GB, free: 12.57 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003763/1.552, allocations: 2.24 MB / 1.7 GB, free: 12.54 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/1.553, allocations: 251.4 kB / 1.7 GB, free: 12.54 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.364e-05/1.553, allocations: 79.58 kB / 1.7 GB, free: 12.49 MB / 1.311 GB Notification: Performance of pre-optimization done (n=392): time 6.683e-06/1.553, allocations: 4.125 kB / 1.7 GB, free: 12.49 MB / 1.311 GB Notification: Performance of matching and sorting (n=392): time 0.009799/1.563, allocations: 5.552 MB / 1.706 GB, free: 12.19 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/1.563, allocations: 93.48 kB / 1.706 GB, free: 12.12 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/1.566, allocations: 1.737 MB / 1.708 GB, free: 11.88 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0004461/1.566, allocations: 90.89 kB / 1.708 GB, free: 11.85 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.00087/1.567, allocations: 1.245 MB / 1.709 GB, free: 11.31 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001531/1.569, allocations: 1.398 MB / 1.71 GB, free: 10.39 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/1.57, allocations: 0.6158 MB / 1.711 GB, free: 10.35 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.57, allocations: 302.4 kB / 1.711 GB, free: 10.05 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002335/1.572, allocations: 1.667 MB / 1.713 GB, free: 10.04 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002658/1.575, allocations: 2.091 MB / 1.715 GB, free: 9.766 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005509/1.58, allocations: 3.918 MB / 1.719 GB, free: 8.355 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/1.58, allocations: 0 / 1.719 GB, free: 8.355 MB / 1.311 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.007017/1.587, allocations: 4.453 MB / 1.723 GB, free: 6.637 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/1.587, allocations: 13.25 kB / 1.723 GB, free: 6.633 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/1.587, allocations: 5.312 kB / 1.723 GB, free: 6.633 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-05/1.587, allocations: 20.25 kB / 1.723 GB, free: 6.633 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003186/1.591, allocations: 0.7577 MB / 1.724 GB, free: 6.605 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.685e-05/1.591, allocations: 24.5 kB / 1.724 GB, free: 6.605 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/1.594, allocations: 306.1 kB / 1.724 GB, free: 6.375 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/1.594, allocations: 128 kB / 1.724 GB, free: 6.344 MB / 1.311 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.001547/1.595, allocations: 0.8062 MB / 1.725 GB, free: 5.93 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006662/1.596, allocations: 311.5 kB / 1.725 GB, free: 5.766 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006837/1.603, allocations: 4.431 MB / 1.73 GB, free: 3.953 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/1.603, allocations: 36.03 kB / 1.73 GB, free: 3.953 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.603, allocations: 3.656 kB / 1.73 GB, free: 3.953 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005135/1.608, allocations: 3.79 MB / 1.733 GB, free: 2.379 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/1.622, allocations: 7.959 MB / 1.741 GB, free: 14.66 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/1.622, allocations: 2.812 kB / 1.741 GB, free: 14.66 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003186/1.625, allocations: 0.7243 MB / 1.742 GB, free: 14.55 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-05/1.625, allocations: 14.59 kB / 1.742 GB, free: 14.55 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000252/1.626, allocations: 90.69 kB / 1.742 GB, free: 14.49 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-05/1.626, allocations: 20.62 kB / 1.742 GB, free: 14.48 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.626, allocations: 3.938 kB / 1.742 GB, free: 14.48 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/1.636, allocations: 6.588 MB / 1.748 GB, free: 11.01 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002464/1.638, allocations: 0.7294 MB / 1.749 GB, free: 10.51 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004526/1.639, allocations: 73.28 kB / 1.749 GB, free: 10.46 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/1.641, allocations: 93.11 kB / 1.749 GB, free: 10.39 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004255/1.641, allocations: 250.6 kB / 1.749 GB, free: 10.23 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002251/1.641, allocations: 115.6 kB / 1.75 GB, free: 10.2 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.00156/1.643, allocations: 1.154 MB / 1.751 GB, free: 9.559 MB / 1.326 GB Notification: Performance of sort global known variables: time 7e-08/1.643, allocations: 0 / 1.751 GB, free: 9.559 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.002695/1.646, allocations: 1.271 MB / 1.752 GB, free: 8.883 MB / 1.326 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.01107/1.657, allocations: 7.484 MB / 1.759 GB, free: 1.391 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.006811/1.663, allocations: 3.864 MB / 1.763 GB, free: 13.57 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.663, allocations: 4 kB / 1.763 GB, free: 13.57 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.003161/1.667, allocations: 1.989 MB / 1.765 GB, free: 11.66 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00699/1.674, allocations: 1.597 MB / 1.767 GB, free: 10.09 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04684/1.72, allocations: 26.09 MB / 1.792 GB, free: 15.77 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001905/1.722, allocations: 1.648 MB / 1.794 GB, free: 14.08 MB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.004103/1.726, allocations: 1.264 MB / 1.795 GB, free: 12.81 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002169/1.729, allocations: 1.39 MB / 1.796 GB, free: 11.42 MB / 1.373 GB Notification: Performance of SimCode: time 9.62e-07/1.729, allocations: 3.188 kB / 1.796 GB, free: 11.42 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1528/1.881, allocations: 93.92 MB / 1.888 GB, free: 15.05 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/16.38, allocations: 8.062 kB / 1.888 GB, free: 15.05 MB / 1.467 GB " [Timeout remaining time 283] (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/jenkins1/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: 22.990743014990585]