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.001634/0.001634, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001851/0.001851, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.588/1.588, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.827/2.827, allocations: 476.7 MB / 0.7678 GB, free: 9.352 MB / 0.6075 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.002015/0.002015, allocations: 59.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18/1.182, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.292/1.474, allocations: 207.9 MB / 1.482 GB, free: 11.92 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01096/1.485, allocations: 6.382 MB / 1.488 GB, free: 5.531 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/1.487, allocations: 51.62 kB / 1.488 GB, free: 5.48 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002073/1.489, allocations: 0.7733 MB / 1.489 GB, free: 4.703 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.007712/1.496, allocations: 2.771 MB / 1.492 GB, free: 1.922 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.002013/1.498, allocations: 0.7176 MB / 1.492 GB, free: 1.211 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005293/1.504, allocations: 3.27 MB / 1.496 GB, free: 13.93 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001718/1.505, allocations: 0.9414 MB / 1.496 GB, free: 12.96 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003118/1.508, allocations: 1.308 MB / 1.498 GB, free: 11.66 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00267/1.511, allocations: 1.171 MB / 1.499 GB, free: 10.49 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002107/1.511, allocations: 128 kB / 1.499 GB, free: 10.36 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00625/1.518, allocations: 2.506 MB / 1.501 GB, free: 7.852 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007854/1.518, allocations: 0.5297 MB / 1.502 GB, free: 7.32 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001234/1.52, allocations: 0.743 MB / 1.503 GB, free: 6.574 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006365/1.526, allocations: 2.804 MB / 1.505 GB, free: 3.762 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/1.526, allocations: 0 / 1.505 GB, free: 3.762 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.505e-06/1.526, allocations: 4 kB / 1.505 GB, free: 3.758 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.049e-05/1.526, allocations: 0 / 1.505 GB, free: 3.758 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.004949/1.531, allocations: 1.805 MB / 1.507 GB, free: 1.895 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 7.077e-05/1.531, allocations: 12.03 kB / 1.507 GB, free: 1.883 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.372e-05/1.531, allocations: 30.02 kB / 1.507 GB, free: 1.852 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002415/1.531, allocations: 164.5 kB / 1.507 GB, free: 1.68 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002382/1.534, allocations: 358.8 kB / 1.508 GB, free: 1.328 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/1.535, allocations: 0.8748 MB / 1.509 GB, free: 420 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.6e-05/1.536, allocations: 78 kB / 1.509 GB, free: 340 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/1.536, allocations: 96 kB / 1.509 GB, free: 244 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/1.538, allocations: 1.199 MB / 1.51 GB, free: 15.01 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/1.538, allocations: 0 / 1.51 GB, free: 15.01 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/1.538, allocations: 40 kB / 1.51 GB, free: 14.97 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.841e-05/1.538, allocations: 58.08 kB / 1.51 GB, free: 14.91 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/1.54, allocations: 1.253 MB / 1.511 GB, free: 13.65 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 preOpt removeSimpleEquations (simulation): time 0.007533/1.548, allocations: 5.111 MB / 1.516 GB, free: 8.074 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/1.55, allocations: 1.143 MB / 1.517 GB, free: 6.852 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007586/1.55, allocations: 489.2 kB / 1.518 GB, free: 6.375 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 6.66e-05/1.55, allocations: 24.52 kB / 1.518 GB, free: 6.348 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007849/1.551, allocations: 488.2 kB / 1.518 GB, free: 5.859 MB / 1.201 GB Notification: Performance of pre-optimization done (n=76): time 2.955e-06/1.551, allocations: 4 kB / 1.518 GB, free: 5.855 MB / 1.201 GB Notification: Performance of matching and sorting (n=76): time 0.002153/1.553, allocations: 1.157 MB / 1.519 GB, free: 4.691 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/1.553, allocations: 64 kB / 1.52 GB, free: 4.617 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007379/1.554, allocations: 0.5706 MB / 1.52 GB, free: 4.035 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/1.554, allocations: 41.7 kB / 1.52 GB, free: 3.988 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/1.555, allocations: 468.6 kB / 1.521 GB, free: 3.523 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000294/1.555, allocations: 285.7 kB / 1.521 GB, free: 3.242 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002241/1.555, allocations: 134.7 kB / 1.521 GB, free: 3.102 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001995/1.555, allocations: 382.8 kB / 1.521 GB, free: 2.719 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005012/1.556, allocations: 325.8 kB / 1.522 GB, free: 2.402 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/1.556, allocations: 444.8 kB / 1.522 GB, free: 1.934 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/1.558, allocations: 0.8349 MB / 1.523 GB, free: 1.059 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.558, allocations: 0 / 1.523 GB, free: 1.059 MB / 1.201 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001475/1.559, allocations: 0.9381 MB / 1.524 GB, free: 116 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/1.559, allocations: 15.92 kB / 1.524 GB, free: 100 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.559, allocations: 0 / 1.524 GB, free: 100 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/1.559, allocations: 11.94 kB / 1.524 GB, free: 88 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007339/1.56, allocations: 147.8 kB / 1.524 GB, free: 15.94 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/1.56, allocations: 15.94 kB / 1.524 GB, free: 15.93 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007756/1.561, allocations: 67.5 kB / 1.524 GB, free: 15.86 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.298e-05/1.561, allocations: 24 kB / 1.524 GB, free: 15.84 MB / 1.217 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.0005541/1.561, allocations: 334.3 kB / 1.524 GB, free: 15.5 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/1.561, allocations: 87.42 kB / 1.524 GB, free: 15.41 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/1.562, allocations: 107.8 kB / 1.525 GB, free: 15.3 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/1.562, allocations: 8 kB / 1.525 GB, free: 15.3 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.562, allocations: 0 / 1.525 GB, free: 15.3 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001373/1.563, allocations: 1.093 MB / 1.526 GB, free: 14.12 MB / 1.217 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.003445/1.566, allocations: 2.307 MB / 1.528 GB, free: 11.72 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/1.566, allocations: 4.031 kB / 1.528 GB, free: 11.72 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008563/1.567, allocations: 171.8 kB / 1.528 GB, free: 11.55 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/1.567, allocations: 4 kB / 1.528 GB, free: 11.55 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.003e-05/1.567, allocations: 16 kB / 1.528 GB, free: 11.53 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/1.567, allocations: 4 kB / 1.528 GB, free: 11.53 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/1.567, allocations: 3.984 kB / 1.528 GB, free: 11.52 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/1.569, allocations: 1.36 MB / 1.529 GB, free: 10.14 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/1.57, allocations: 260.4 kB / 1.53 GB, free: 9.867 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.507e-05/1.57, allocations: 15.94 kB / 1.53 GB, free: 9.852 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006247/1.571, allocations: 20.73 kB / 1.53 GB, free: 9.832 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.714e-05/1.571, allocations: 44.59 kB / 1.53 GB, free: 9.789 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/1.571, allocations: 35.86 kB / 1.53 GB, free: 9.754 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005552/1.571, allocations: 411.1 kB / 1.53 GB, free: 9.355 MB / 1.217 GB Notification: Performance of sort global known variables: time 6.1e-08/1.571, allocations: 0 / 1.53 GB, free: 9.355 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001031/1.572, allocations: 375.3 kB / 1.531 GB, free: 8.988 MB / 1.217 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.002402/1.575, allocations: 1.97 MB / 1.532 GB, free: 6.992 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001317/1.576, allocations: 0.7668 MB / 1.533 GB, free: 6.223 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.576, allocations: 0.6875 kB / 1.533 GB, free: 6.223 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0005722/1.577, allocations: 411.5 kB / 1.534 GB, free: 5.824 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/1.579, allocations: 0.5896 MB / 1.534 GB, free: 5.242 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/1.59, allocations: 7.272 MB / 1.541 GB, free: 13.8 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008889/1.591, allocations: 1.136 MB / 1.542 GB, free: 12.64 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001021/1.592, allocations: 283.1 kB / 1.543 GB, free: 12.36 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005997/1.592, allocations: 379.3 kB / 1.543 GB, free: 11.99 MB / 1.232 GB Notification: Performance of SimCode: time 1.333e-06/1.592, allocations: 0 / 1.543 GB, free: 11.99 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05836/1.651, allocations: 26.07 MB / 1.568 GB, free: 2.246 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/12.01, allocations: 19.39 kB / 1.568 GB, free: 2.23 MB / 1.248 GB " [Timeout remaining time 288] (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: 18.69011596898781]