Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001544/0.001544, allocations: 101.5 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.002011/0.002011, allocations: 217.5 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.832/2.832, allocations: 476.7 MB / 0.7715 GB, free: 4.234 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_11_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.002051/0.002051, allocations: 63.62 kB / 1.118 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3545, allocations: 170 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3516/0.706, allocations: 300.6 MB / 1.578 GB, free: 14.11 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.0326/0.7386, allocations: 17.11 MB / 1.594 GB, free: 12.97 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004287/0.7429, allocations: 107.2 kB / 1.594 GB, free: 12.87 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.00633/0.7493, allocations: 1.997 MB / 1.596 GB, free: 10.86 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01952/0.7688, allocations: 6.769 MB / 1.603 GB, free: 4.062 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.009461/0.7782, allocations: 3.049 MB / 1.606 GB, free: 1.012 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.9372/1.715, allocations: 7.859 MB / 1.614 GB, free: 9.137 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006162/1.722, allocations: 1.963 MB / 1.616 GB, free: 24.96 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009566/1.731, allocations: 2.9 MB / 1.618 GB, free: 24.96 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008828/1.74, allocations: 2.862 MB / 1.621 GB, free: 24.96 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.001718/1.742, allocations: 328 kB / 1.622 GB, free: 24.96 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0172/1.759, allocations: 6.664 MB / 1.628 GB, free: 24.96 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.003444/1.762, allocations: 1.375 MB / 1.629 GB, free: 24.96 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.006016/1.768, allocations: 1.884 MB / 1.631 GB, free: 24.96 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.01889/1.787, allocations: 6.908 MB / 1.638 GB, free: 24.46 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/1.787, allocations: 0.875 kB / 1.638 GB, free: 24.46 MB / 1.311 GB Notification: Performance of FrontEnd: time 2.856e-06/1.787, allocations: 0 / 1.638 GB, free: 24.46 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0002523/1.787, allocations: 0 / 1.638 GB, free: 24.46 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01551/1.803, allocations: 4.163 MB / 1.642 GB, free: 22.79 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/1.803, allocations: 9.656 kB / 1.642 GB, free: 22.79 MB / 1.311 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.767e-05/1.803, allocations: 66.31 kB / 1.642 GB, free: 22.79 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005632/1.804, allocations: 371.8 kB / 1.642 GB, free: 22.73 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006332/1.81, allocations: 0.9287 MB / 1.643 GB, free: 22.55 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006351/1.816, allocations: 1.84 MB / 1.645 GB, free: 22.07 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/1.817, allocations: 200.6 kB / 1.645 GB, free: 22.06 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008643/1.817, allocations: 259.5 kB / 1.646 GB, free: 22.05 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00643/1.824, allocations: 3.328 MB / 1.649 GB, free: 21.77 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.069e-05/1.824, allocations: 13.08 kB / 1.649 GB, free: 21.77 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002578/1.824, allocations: 107.9 kB / 1.649 GB, free: 21.77 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001417/1.824, allocations: 136.6 kB / 1.649 GB, free: 21.76 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006088/1.83, allocations: 3.499 MB / 1.653 GB, free: 21.73 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.01875/1.849, allocations: 12.07 MB / 1.664 GB, free: 15.78 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004588/1.854, allocations: 2.945 MB / 1.667 GB, free: 15.69 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002765/1.857, allocations: 1.708 MB / 1.669 GB, free: 15.65 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009323/1.857, allocations: 230.3 kB / 1.669 GB, free: 15.64 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.505e-05/1.858, allocations: 73 kB / 1.669 GB, free: 15.6 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 5e-06/1.858, allocations: 1 kB / 1.669 GB, free: 15.6 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.007456/1.865, allocations: 3.889 MB / 1.673 GB, free: 15.34 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.053e-05/1.865, allocations: 81.75 kB / 1.673 GB, free: 15.28 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/1.867, allocations: 1.376 MB / 1.674 GB, free: 15.11 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0003185/1.868, allocations: 78.27 kB / 1.674 GB, free: 15.08 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007899/1.869, allocations: 0.9998 MB / 1.675 GB, free: 14.68 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001244/1.87, allocations: 0.993 MB / 1.676 GB, free: 14.02 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007566/1.871, allocations: 409.8 kB / 1.677 GB, free: 13.99 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001977/1.871, allocations: 301.8 kB / 1.677 GB, free: 13.7 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001909/1.873, allocations: 1.096 MB / 1.678 GB, free: 13.69 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/1.875, allocations: 1.363 MB / 1.679 GB, free: 13.5 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00401/1.879, allocations: 2.645 MB / 1.682 GB, free: 13.28 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/1.879, allocations: 0 / 1.682 GB, free: 13.28 MB / 1.311 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005649/1.884, allocations: 2.994 MB / 1.685 GB, free: 13.03 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/1.884, allocations: 9.969 kB / 1.685 GB, free: 13.03 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/1.884, allocations: 2.375 kB / 1.685 GB, free: 13.03 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.866e-05/1.884, allocations: 17.66 kB / 1.685 GB, free: 13.03 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/1.887, allocations: 0.5073 MB / 1.686 GB, free: 13.03 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.703e-05/1.887, allocations: 18.31 kB / 1.686 GB, free: 13.03 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00322/1.89, allocations: 187 kB / 1.686 GB, free: 12.93 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/1.89, allocations: 82.69 kB / 1.686 GB, free: 12.93 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 (311): * Single equations (assignments): 311 * 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.001884/1.892, allocations: 0.6439 MB / 1.686 GB, free: 12.81 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/1.893, allocations: 250.3 kB / 1.687 GB, free: 12.68 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006232/1.899, allocations: 3.109 MB / 1.69 GB, free: 12.5 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.907e-05/1.899, allocations: 31.77 kB / 1.69 GB, free: 12.5 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-05/1.899, allocations: 0 / 1.69 GB, free: 12.5 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004202/1.904, allocations: 2.656 MB / 1.692 GB, free: 12.25 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/1.915, allocations: 6.186 MB / 1.698 GB, free: 11.77 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/1.915, allocations: 3 kB / 1.698 GB, free: 11.77 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002549/1.918, allocations: 0.5397 MB / 1.699 GB, free: 11.77 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.172e-05/1.918, allocations: 9.062 kB / 1.699 GB, free: 11.77 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001936/1.918, allocations: 66.89 kB / 1.699 GB, free: 11.77 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.596e-05/1.918, allocations: 17.86 kB / 1.699 GB, free: 11.76 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.918, allocations: 4.219 kB / 1.699 GB, free: 11.76 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008952/1.927, allocations: 4.581 MB / 1.703 GB, free: 11.35 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002415/1.929, allocations: 0.5423 MB / 1.704 GB, free: 11.19 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007454/1.93, allocations: 55.64 kB / 1.704 GB, free: 11.19 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002602/1.933, allocations: 63.41 kB / 1.704 GB, free: 11.18 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004243/1.933, allocations: 171.2 kB / 1.704 GB, free: 11.18 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/1.933, allocations: 86 kB / 1.704 GB, free: 11.18 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001642/1.935, allocations: 0.9499 MB / 1.705 GB, free: 11.07 MB / 1.311 GB Notification: Performance of sort global known variables: time 1e-07/1.935, allocations: 0 / 1.705 GB, free: 11.07 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.00301/1.938, allocations: 0.9841 MB / 1.706 GB, free: 10.95 MB / 1.311 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.007193/1.945, allocations: 5.402 MB / 1.711 GB, free: 10.01 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003774/1.949, allocations: 2.618 MB / 1.714 GB, free: 9.938 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.949, allocations: 5.156 kB / 1.714 GB, free: 9.938 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001773/1.951, allocations: 1.388 MB / 1.715 GB, free: 9.922 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006678/1.957, allocations: 1.344 MB / 1.717 GB, free: 9.754 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03717/1.994, allocations: 19.55 MB / 1.736 GB, free: 1.297 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001964/1.996, allocations: 1.904 MB / 1.738 GB, free: 15.76 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.003618/2, allocations: 0.8438 MB / 1.739 GB, free: 15.13 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002183/2.002, allocations: 1.092 MB / 1.74 GB, free: 14.12 MB / 1.326 GB Notification: Performance of SimCode: time 1.032e-06/2.002, allocations: 0 / 1.74 GB, free: 14.12 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1431/2.145, allocations: 70.57 MB / 1.808 GB, free: 10.2 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.39/19.53, allocations: 7.109 kB / 1.808 GB, free: 10.2 MB / 1.389 GB " [Timeout remaining time 280] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 27.027527088008355]