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.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.001728/0.001728, allocations: 97.88 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.002323/0.002323, 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.833/2.833, allocations: 476.8 MB / 0.7715 GB, free: 3.836 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.ZonalFlow,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow",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.002115/0.002115, allocations: 63.12 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3967, allocations: 170 MB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2553/0.652, allocations: 180.6 MB / 1.461 GB, free: 5.262 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01517/0.6672, allocations: 5.973 MB / 1.466 GB, free: 15.28 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003111/0.6703, allocations: 51.62 kB / 1.466 GB, free: 15.23 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002933/0.6732, allocations: 0.6915 MB / 1.467 GB, free: 14.53 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.009653/0.6829, allocations: 2.809 MB / 1.47 GB, free: 11.71 MB / 1.17 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.002494/0.6854, allocations: 0.7331 MB / 1.471 GB, free: 10.98 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005708/0.6911, allocations: 3.358 MB / 1.474 GB, free: 7.617 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00157/0.6927, allocations: 0.813 MB / 1.475 GB, free: 6.781 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003026/0.6957, allocations: 1.316 MB / 1.476 GB, free: 5.461 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002927/0.6986, allocations: 1.173 MB / 1.477 GB, free: 4.289 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002533/0.6989, allocations: 128 kB / 1.477 GB, free: 4.164 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004794/0.7037, allocations: 1.936 MB / 1.479 GB, free: 2.223 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007455/0.7044, allocations: 0.5336 MB / 1.48 GB, free: 1.688 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.7055, allocations: 0.6188 MB / 1.48 GB, free: 1.066 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005435/0.7109, allocations: 2.718 MB / 1.483 GB, free: 14.34 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7109, allocations: 0 / 1.483 GB, free: 14.34 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7109, allocations: 0 / 1.483 GB, free: 14.34 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.249e-05/0.711, allocations: 0 / 1.483 GB, free: 14.34 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.004663/0.7156, allocations: 1.742 MB / 1.485 GB, free: 12.56 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.7157, allocations: 8.031 kB / 1.485 GB, free: 12.55 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.497e-05/0.7157, allocations: 30.02 kB / 1.485 GB, free: 12.52 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002277/0.716, allocations: 160.6 kB / 1.485 GB, free: 12.35 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/0.7184, allocations: 358.8 kB / 1.485 GB, free: 12 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.7202, allocations: 0.8103 MB / 1.486 GB, free: 11.16 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.635e-05/0.7203, allocations: 74.02 kB / 1.486 GB, free: 11.09 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.7205, allocations: 99.98 kB / 1.486 GB, free: 10.99 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.7229, allocations: 1.396 MB / 1.487 GB, free: 9.516 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.7229, allocations: 4 kB / 1.487 GB, free: 9.512 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.723, allocations: 40 kB / 1.487 GB, free: 9.473 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-05/0.7231, allocations: 62.06 kB / 1.487 GB, free: 9.41 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.7252, allocations: 1.253 MB / 1.489 GB, free: 8.148 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.006542/0.7318, allocations: 3.118 MB / 1.492 GB, free: 4.965 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.7333, allocations: 0.8338 MB / 1.493 GB, free: 4.125 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008365/0.7341, allocations: 490.1 kB / 1.493 GB, free: 3.645 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-05/0.7342, allocations: 12.66 kB / 1.493 GB, free: 3.633 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009627/0.7351, allocations: 0.6853 MB / 1.494 GB, free: 2.887 MB / 1.186 GB Notification: Performance of pre-optimization done (n=76): time 4.529e-06/0.7351, allocations: 0 / 1.494 GB, free: 2.887 MB / 1.186 GB Notification: Performance of matching and sorting (n=76): time 0.002207/0.7374, allocations: 1.161 MB / 1.495 GB, free: 1.719 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.7374, allocations: 60.06 kB / 1.495 GB, free: 1.648 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008493/0.7383, allocations: 0.5706 MB / 1.495 GB, free: 1.066 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-05/0.7383, allocations: 41.7 kB / 1.495 GB, free: 1.02 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004302/0.7388, allocations: 472.6 kB / 1.496 GB, free: 0.5508 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003486/0.7391, allocations: 281.7 kB / 1.496 GB, free: 280 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.7393, allocations: 126.7 kB / 1.496 GB, free: 148 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000249/0.7396, allocations: 390.8 kB / 1.497 GB, free: 15.75 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005381/0.7401, allocations: 329.8 kB / 1.497 GB, free: 15.43 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/0.7408, allocations: 448.8 kB / 1.497 GB, free: 14.96 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.742, allocations: 0.831 MB / 1.498 GB, free: 14.09 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.742, allocations: 0 / 1.498 GB, free: 14.09 MB / 1.201 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001541/0.7436, allocations: 0.93 MB / 1.499 GB, free: 13.15 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.7436, allocations: 7.938 kB / 1.499 GB, free: 13.14 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/0.7436, allocations: 4.344 kB / 1.499 GB, free: 13.14 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.7436, allocations: 12 kB / 1.499 GB, free: 13.12 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007429/0.7444, allocations: 155.7 kB / 1.499 GB, free: 12.97 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.7444, allocations: 11.94 kB / 1.499 GB, free: 12.96 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007291/0.7451, allocations: 59.52 kB / 1.499 GB, free: 12.9 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.7452, allocations: 32 kB / 1.499 GB, free: 12.87 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.0006153/0.7458, allocations: 333.5 kB / 1.5 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.7459, allocations: 91.36 kB / 1.5 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.7462, allocations: 107.7 kB / 1.5 GB, free: 12.34 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.7462, allocations: 8 kB / 1.5 GB, free: 12.33 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.7462, allocations: 4 kB / 1.5 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001409/0.7476, allocations: 1.089 MB / 1.501 GB, free: 11.15 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.003344/0.751, allocations: 2.018 MB / 1.503 GB, free: 9.07 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.751, allocations: 3.938 kB / 1.503 GB, free: 9.066 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008909/0.7518, allocations: 175.8 kB / 1.503 GB, free: 8.895 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.7519, allocations: 4 kB / 1.503 GB, free: 8.891 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-05/0.7519, allocations: 20.03 kB / 1.503 GB, free: 8.871 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.7519, allocations: 0 / 1.503 GB, free: 8.871 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7519, allocations: 4 kB / 1.503 GB, free: 8.867 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.754, allocations: 1.356 MB / 1.505 GB, free: 7.488 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/0.7544, allocations: 183.3 kB / 1.505 GB, free: 7.309 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.7545, allocations: 16 kB / 1.505 GB, free: 7.293 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006164/0.7551, allocations: 23.94 kB / 1.505 GB, free: 7.27 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.7552, allocations: 52.45 kB / 1.505 GB, free: 7.219 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.571e-05/0.7553, allocations: 27.92 kB / 1.505 GB, free: 7.191 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005427/0.7558, allocations: 415 kB / 1.505 GB, free: 6.789 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7558, allocations: 0 / 1.505 GB, free: 6.789 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009371/0.7568, allocations: 371.4 kB / 1.506 GB, free: 6.426 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.002522/0.7593, allocations: 1.979 MB / 1.507 GB, free: 4.422 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.7608, allocations: 0.759 MB / 1.508 GB, free: 3.66 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.7608, allocations: 0 / 1.508 GB, free: 3.66 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006148/0.7614, allocations: 411.5 kB / 1.509 GB, free: 3.262 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/0.7641, allocations: 0.6032 MB / 1.509 GB, free: 2.672 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.776, allocations: 7.277 MB / 1.516 GB, free: 11.23 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007846/0.7768, allocations: 0.5427 MB / 1.517 GB, free: 10.66 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001279/0.7781, allocations: 279.1 kB / 1.517 GB, free: 10.38 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006549/0.7787, allocations: 375.3 kB / 1.517 GB, free: 10.02 MB / 1.217 GB Notification: Performance of SimCode: time 1.423e-06/0.7787, allocations: 0 / 1.517 GB, free: 10.02 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07151/0.8502, allocations: 28.48 MB / 1.545 GB, free: 14.2 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/14.71, allocations: 11.25 kB / 1.545 GB, free: 14.19 MB / 1.248 GB " [Timeout remaining time 285] (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 --stepSize=1.44 --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: 22.01046627992764]