Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.501/2.501, allocations: 476.7 MB / 0.7628 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 59.91 kB / 1.107 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7409/0.7427, allocations: 168.7 MB / 1.271 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2136/0.9563, allocations: 205.4 MB / 1.472 GB, free: 7.203 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.009349/0.9657, allocations: 6.403 MB / 1.478 GB, free: 0.7852 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009644/0.9666, allocations: 35.81 kB / 1.478 GB, free: 0.75 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.9683, allocations: 0.7695 MB / 1.479 GB, free: 15.97 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005587/0.9739, allocations: 2.769 MB / 1.482 GB, free: 13.2 MB / 1.17 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.9755, allocations: 0.7238 MB / 1.482 GB, free: 12.48 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003705/0.9792, allocations: 3.29 MB / 1.486 GB, free: 9.18 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.9802, allocations: 0.8164 MB / 1.486 GB, free: 8.344 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001807/0.982, allocations: 1.292 MB / 1.488 GB, free: 7.047 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.9839, allocations: 1.171 MB / 1.489 GB, free: 5.875 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.9841, allocations: 128 kB / 1.489 GB, free: 5.75 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004466/0.9886, allocations: 2.521 MB / 1.491 GB, free: 3.223 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005339/0.9891, allocations: 0.5258 MB / 1.492 GB, free: 2.695 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000797/0.9899, allocations: 0.7314 MB / 1.493 GB, free: 1.961 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004013/0.9939, allocations: 2.804 MB / 1.495 GB, free: 15.15 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.9939, allocations: 0 / 1.495 GB, free: 15.15 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9939, allocations: 0 / 1.495 GB, free: 15.15 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.9939, allocations: 0 / 1.495 GB, free: 15.15 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003791/0.9977, allocations: 1.817 MB / 1.497 GB, free: 13.27 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.9978, allocations: 8.031 kB / 1.497 GB, free: 13.27 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001952/0.998, allocations: 164.6 kB / 1.497 GB, free: 13.09 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/1, allocations: 354.9 kB / 1.498 GB, free: 12.75 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/1.001, allocations: 0.8824 MB / 1.498 GB, free: 11.82 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.974e-05/1.001, allocations: 73.95 kB / 1.499 GB, free: 11.74 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/1.002, allocations: 104 kB / 1.499 GB, free: 11.64 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/1.003, allocations: 1.187 MB / 1.5 GB, free: 10.42 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/1.003, allocations: 3.984 kB / 1.5 GB, free: 10.42 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/1.004, allocations: 43.98 kB / 1.5 GB, free: 10.38 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.883e-05/1.004, allocations: 62.08 kB / 1.5 GB, free: 10.31 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/1.006, allocations: 1.249 MB / 1.501 GB, free: 9.055 MB / 1.186 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.006165/1.012, allocations: 5.108 MB / 1.506 GB, free: 3.484 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/1.013, allocations: 1.125 MB / 1.507 GB, free: 2.281 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006937/1.014, allocations: 493.2 kB / 1.508 GB, free: 1.797 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-05/1.014, allocations: 20.78 kB / 1.508 GB, free: 1.773 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007052/1.015, allocations: 484.2 kB / 1.508 GB, free: 1.289 MB / 1.186 GB Notification: Performance of pre-optimization done (n=76): time 2.796e-06/1.015, allocations: 0 / 1.508 GB, free: 1.289 MB / 1.186 GB Notification: Performance of matching and sorting (n=76): time 0.001945/1.017, allocations: 1.173 MB / 1.509 GB, free: 112 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/1.017, allocations: 60.06 kB / 1.509 GB, free: 40 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006751/1.017, allocations: 0.5744 MB / 1.51 GB, free: 15.45 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.882e-05/1.017, allocations: 37.7 kB / 1.51 GB, free: 15.41 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/1.018, allocations: 472.6 kB / 1.51 GB, free: 14.94 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/1.018, allocations: 285.6 kB / 1.511 GB, free: 14.66 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/1.018, allocations: 134.6 kB / 1.511 GB, free: 14.52 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.018, allocations: 378.8 kB / 1.511 GB, free: 14.14 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/1.019, allocations: 337.8 kB / 1.511 GB, free: 13.81 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005697/1.019, allocations: 464.6 kB / 1.512 GB, free: 13.32 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/1.02, allocations: 0.8155 MB / 1.513 GB, free: 12.47 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/1.02, allocations: 0 / 1.513 GB, free: 12.47 MB / 1.201 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001403/1.022, allocations: 0.9379 MB / 1.514 GB, free: 11.52 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.022, allocations: 11.94 kB / 1.514 GB, free: 11.51 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.022, allocations: 4 kB / 1.514 GB, free: 11.51 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/1.022, allocations: 7.984 kB / 1.514 GB, free: 11.5 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006586/1.023, allocations: 155.8 kB / 1.514 GB, free: 11.35 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/1.023, allocations: 4 kB / 1.514 GB, free: 11.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/1.023, allocations: 63.86 kB / 1.514 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/1.023, allocations: 31.98 kB / 1.514 GB, free: 11.25 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0004607/1.024, allocations: 334.1 kB / 1.514 GB, free: 10.91 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/1.024, allocations: 87.42 kB / 1.514 GB, free: 10.83 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/1.024, allocations: 111.8 kB / 1.514 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/1.024, allocations: 8 kB / 1.514 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.024, allocations: 0 / 1.514 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001242/1.025, allocations: 1.085 MB / 1.515 GB, free: 9.539 MB / 1.201 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 postOpt removeSimpleEquations (simulation): time 0.003022/1.028, allocations: 2.314 MB / 1.518 GB, free: 7.129 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.028, allocations: 0 / 1.518 GB, free: 7.129 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008084/1.029, allocations: 175.8 kB / 1.518 GB, free: 6.957 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/1.029, allocations: 4 kB / 1.518 GB, free: 6.953 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/1.029, allocations: 16 kB / 1.518 GB, free: 6.938 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/1.029, allocations: 4 kB / 1.518 GB, free: 6.934 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.029, allocations: 0 / 1.518 GB, free: 6.934 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/1.031, allocations: 1.363 MB / 1.519 GB, free: 5.547 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/1.031, allocations: 256.4 kB / 1.52 GB, free: 5.277 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.993e-05/1.032, allocations: 12 kB / 1.52 GB, free: 5.266 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/1.032, allocations: 23.98 kB / 1.52 GB, free: 5.242 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.693e-05/1.032, allocations: 40.59 kB / 1.52 GB, free: 5.203 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/1.032, allocations: 27.98 kB / 1.52 GB, free: 5.176 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004764/1.033, allocations: 419 kB / 1.52 GB, free: 4.77 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.033, allocations: 0 / 1.52 GB, free: 4.77 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008441/1.034, allocations: 371.3 kB / 1.52 GB, free: 4.406 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.002228/1.036, allocations: 1.966 MB / 1.522 GB, free: 2.414 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001135/1.037, allocations: 0.7635 MB / 1.523 GB, free: 1.648 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.037, allocations: 8.125 kB / 1.523 GB, free: 1.641 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005331/1.037, allocations: 407.5 kB / 1.523 GB, free: 1.246 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/1.04, allocations: 0.6025 MB / 1.524 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009325/1.049, allocations: 7.278 MB / 1.531 GB, free: 9.215 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00075/1.05, allocations: 1.143 MB / 1.532 GB, free: 8.043 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008309/1.051, allocations: 275.1 kB / 1.533 GB, free: 7.77 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000527/1.051, allocations: 379.3 kB / 1.533 GB, free: 7.402 MB / 1.217 GB Notification: Performance of SimCode: time 9.31e-07/1.051, allocations: 0 / 1.533 GB, free: 7.402 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05704/1.108, allocations: 26.14 MB / 1.558 GB, free: 13.57 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.408/9.516, allocations: 8.484 kB / 1.558 GB, free: 13.57 MB / 1.248 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.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: 14.802017128999978]