Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.001578/0.001578, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002073/0.002073, allocations: 217.1 kB / 23.04 MB, free: 5.074 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.046/3.046, allocations: 0.49 GB / 0.7959 GB, free: 33.34 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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.001976/0.001976, allocations: 64.97 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3485, allocations: 176.1 MB / 1.327 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.153/1.501, allocations: 300.7 MB / 1.62 GB, free: 4.535 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.02445/1.526, allocations: 17.11 MB / 1.637 GB, free: 4.512 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003841/1.53, allocations: 107.2 kB / 1.637 GB, free: 4.512 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005039/1.535, allocations: 1.989 MB / 1.639 GB, free: 4.477 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01697/1.552, allocations: 6.772 MB / 1.646 GB, free: 4.23 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.008638/1.56, allocations: 3.051 MB / 1.649 GB, free: 4.145 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01141/1.572, allocations: 7.868 MB / 1.656 GB, free: 4.125 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004456/1.576, allocations: 1.964 MB / 1.658 GB, free: 19.95 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007203/1.583, allocations: 3.132 MB / 1.661 GB, free: 19.95 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006502/1.59, allocations: 2.843 MB / 1.664 GB, free: 19.94 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.001413/1.591, allocations: 326.9 kB / 1.664 GB, free: 19.94 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01464/1.606, allocations: 6.641 MB / 1.671 GB, free: 19.88 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.002731/1.609, allocations: 1.349 MB / 1.672 GB, free: 19.88 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.005399/1.614, allocations: 1.875 MB / 1.674 GB, free: 19.54 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.01589/1.63, allocations: 6.908 MB / 1.681 GB, free: 18.77 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/1.63, allocations: 1.594 kB / 1.681 GB, free: 18.77 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.453e-06/1.63, allocations: 0.7812 kB / 1.681 GB, free: 18.77 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0001961/1.63, allocations: 0 / 1.681 GB, free: 18.77 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: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.01343/1.644, allocations: 4.124 MB / 1.685 GB, free: 17.11 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.644, allocations: 8.969 kB / 1.685 GB, free: 17.11 MB / 1.311 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.416e-05/1.644, allocations: 72.08 kB / 1.685 GB, free: 17.11 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001212/1.645, allocations: 380.5 kB / 1.685 GB, free: 17.05 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006673/1.652, allocations: 0.9278 MB / 1.686 GB, free: 16.87 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004202/1.656, allocations: 1.797 MB / 1.688 GB, free: 16.4 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/1.656, allocations: 199.6 kB / 1.688 GB, free: 16.39 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007458/1.657, allocations: 265.4 kB / 1.688 GB, free: 16.39 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006849/1.664, allocations: 3.407 MB / 1.692 GB, free: 16.1 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/1.664, allocations: 12.44 kB / 1.692 GB, free: 16.09 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004345/1.664, allocations: 111.3 kB / 1.692 GB, free: 16.09 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001626/1.664, allocations: 154.2 kB / 1.692 GB, free: 16.09 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00644/1.671, allocations: 3.642 MB / 1.695 GB, free: 16.05 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.01891/1.69, allocations: 12.45 MB / 1.708 GB, free: 9.777 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00453/1.694, allocations: 2.948 MB / 1.711 GB, free: 9.664 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002787/1.697, allocations: 1.704 MB / 1.712 GB, free: 9.625 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000917/1.698, allocations: 216.6 kB / 1.712 GB, free: 9.617 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.22e-05/1.698, allocations: 75.91 kB / 1.712 GB, free: 9.566 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 5.831e-06/1.698, allocations: 0 / 1.712 GB, free: 9.566 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.006484/1.704, allocations: 3.897 MB / 1.716 GB, free: 9.305 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/1.705, allocations: 82.34 kB / 1.716 GB, free: 9.234 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/1.707, allocations: 1.393 MB / 1.718 GB, free: 9.062 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002269/1.707, allocations: 78.95 kB / 1.718 GB, free: 9.027 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007836/1.708, allocations: 1.045 MB / 1.719 GB, free: 8.578 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.00104/1.709, allocations: 0.9933 MB / 1.72 GB, free: 7.918 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007349/1.709, allocations: 440.4 kB / 1.72 GB, free: 7.887 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.71, allocations: 303.5 kB / 1.72 GB, free: 7.59 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/1.711, allocations: 1.146 MB / 1.722 GB, free: 7.582 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/1.713, allocations: 1.417 MB / 1.723 GB, free: 7.105 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004331/1.718, allocations: 2.734 MB / 1.726 GB, free: 5.801 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/1.718, allocations: 1.438 kB / 1.726 GB, free: 5.801 MB / 1.311 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.00543/1.723, allocations: 3.11 MB / 1.729 GB, free: 4.551 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/1.723, allocations: 9.5 kB / 1.729 GB, free: 4.547 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/1.723, allocations: 7.812 kB / 1.729 GB, free: 4.547 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.499e-05/1.723, allocations: 19.36 kB / 1.729 GB, free: 4.547 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002245/1.726, allocations: 0.5358 MB / 1.729 GB, free: 4.527 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.661e-05/1.726, allocations: 21 kB / 1.729 GB, free: 4.523 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/1.728, allocations: 211.6 kB / 1.729 GB, free: 4.363 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/1.728, allocations: 86.48 kB / 1.73 GB, free: 4.344 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (332): * Single equations (assignments): 332 * 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.001546/1.73, allocations: 0.652 MB / 1.73 GB, free: 3.988 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007506/1.731, allocations: 237.5 kB / 1.73 GB, free: 3.867 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005571/1.736, allocations: 3.114 MB / 1.733 GB, free: 2.535 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/1.736, allocations: 28.56 kB / 1.734 GB, free: 2.535 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/1.736, allocations: 3.938 kB / 1.734 GB, free: 2.531 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004148/1.74, allocations: 2.658 MB / 1.736 GB, free: 1.195 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/1.752, allocations: 6.195 MB / 1.742 GB, free: 13.51 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/1.752, allocations: 2.469 kB / 1.742 GB, free: 13.51 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002482/1.754, allocations: 0.5424 MB / 1.743 GB, free: 13.42 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.883e-05/1.754, allocations: 12.12 kB / 1.743 GB, free: 13.42 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002142/1.754, allocations: 62.52 kB / 1.743 GB, free: 13.38 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.233e-05/1.754, allocations: 12.56 kB / 1.743 GB, free: 13.37 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.754, allocations: 0 / 1.743 GB, free: 13.37 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007469/1.762, allocations: 4.592 MB / 1.747 GB, free: 10.94 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001859/1.764, allocations: 0.546 MB / 1.748 GB, free: 10.56 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006409/1.764, allocations: 51.56 kB / 1.748 GB, free: 10.52 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002047/1.766, allocations: 62.72 kB / 1.748 GB, free: 10.48 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003656/1.767, allocations: 171 kB / 1.748 GB, free: 10.37 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/1.767, allocations: 87.88 kB / 1.748 GB, free: 10.34 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001947/1.769, allocations: 0.9398 MB / 1.749 GB, free: 9.828 MB / 1.326 GB Notification: Performance of sort global known variables: time 8.1e-08/1.769, allocations: 2.906 kB / 1.749 GB, free: 9.828 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.003174/1.772, allocations: 1 MB / 1.75 GB, free: 9.625 MB / 1.326 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * 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.009132/1.781, allocations: 5.408 MB / 1.755 GB, free: 4.211 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.005133/1.786, allocations: 2.687 MB / 1.758 GB, free: 1.535 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.786, allocations: 0 / 1.758 GB, free: 1.535 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.002373/1.789, allocations: 1.396 MB / 1.759 GB, free: 192 kB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007236/1.796, allocations: 1.353 MB / 1.761 GB, free: 14.86 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03856/1.835, allocations: 19.69 MB / 1.78 GB, free: 10.91 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002344/1.837, allocations: 1.895 MB / 1.782 GB, free: 8.977 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.00343/1.84, allocations: 0.8751 MB / 1.783 GB, free: 8.098 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002039/1.842, allocations: 1.085 MB / 1.784 GB, free: 7.012 MB / 1.357 GB Notification: Performance of SimCode: time 9.21e-07/1.842, allocations: 7.938 kB / 1.784 GB, free: 7.004 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1463/1.989, allocations: 70.9 MB / 1.853 GB, free: 1.031 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.49/18.48, allocations: 4.062 kB / 1.853 GB, free: 1.027 MB / 1.42 GB " [Timeout remaining time 281] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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: 25.45198969997]