Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001579/0.001579, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001732/0.001732, allocations: 218.2 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.093/3.093, allocations: 0.49 GB / 0.7959 GB, free: 33.52 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.ZonalFlow,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_12_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.00187/0.00187, allocations: 63.69 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3244, allocations: 176.1 MB / 1.327 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2343/0.5587, allocations: 208.4 MB / 1.53 GB, free: 0.8633 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01028/0.569, allocations: 6.42 MB / 1.536 GB, free: 10.43 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.5703, allocations: 47.62 kB / 1.536 GB, free: 10.38 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.5722, allocations: 0.7811 MB / 1.537 GB, free: 9.594 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.008477/0.5807, allocations: 2.828 MB / 1.54 GB, free: 6.754 MB / 1.232 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.002084/0.5828, allocations: 0.7337 MB / 1.541 GB, free: 6.023 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004728/0.5875, allocations: 3.363 MB / 1.544 GB, free: 2.648 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.5888, allocations: 0.8092 MB / 1.545 GB, free: 1.812 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002944/0.5917, allocations: 1.433 MB / 1.546 GB, free: 384 kB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002583/0.5943, allocations: 1.155 MB / 1.547 GB, free: 15.22 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002196/0.5945, allocations: 132 kB / 1.547 GB, free: 15.09 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004927/0.5995, allocations: 2.545 MB / 1.55 GB, free: 12.54 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0006596/0.6001, allocations: 0.5297 MB / 1.55 GB, free: 12.01 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.6012, allocations: 0.7469 MB / 1.551 GB, free: 11.26 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.004956/0.6062, allocations: 2.804 MB / 1.554 GB, free: 8.449 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6062, allocations: 0 / 1.554 GB, free: 8.449 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6062, allocations: 0 / 1.554 GB, free: 8.449 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.768e-05/0.6062, allocations: 0 / 1.554 GB, free: 8.449 MB / 1.248 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.004419/0.6106, allocations: 1.734 MB / 1.556 GB, free: 6.676 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.6107, allocations: 16.03 kB / 1.556 GB, free: 6.66 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.978e-05/0.6107, allocations: 26.02 kB / 1.556 GB, free: 6.633 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002055/0.6109, allocations: 160.6 kB / 1.556 GB, free: 6.465 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/0.6132, allocations: 354.8 kB / 1.556 GB, free: 6.117 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.6147, allocations: 0.8103 MB / 1.557 GB, free: 5.277 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.102e-05/0.6148, allocations: 82 kB / 1.557 GB, free: 5.195 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.615, allocations: 96 kB / 1.557 GB, free: 5.102 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.617, allocations: 1.199 MB / 1.558 GB, free: 3.871 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.617, allocations: 4 kB / 1.558 GB, free: 3.867 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.6171, allocations: 36 kB / 1.558 GB, free: 3.832 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.413e-05/0.6172, allocations: 62.08 kB / 1.558 GB, free: 3.77 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.6191, allocations: 1.253 MB / 1.56 GB, free: 2.508 MB / 1.248 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.007181/0.6263, allocations: 5.211 MB / 1.565 GB, free: 12.8 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.6277, allocations: 0.8264 MB / 1.565 GB, free: 11.97 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007371/0.6285, allocations: 489.2 kB / 1.566 GB, free: 11.49 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 5.634e-05/0.6285, allocations: 12.66 kB / 1.566 GB, free: 11.48 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000801/0.6293, allocations: 496.3 kB / 1.566 GB, free: 10.98 MB / 1.264 GB Notification: Performance of pre-optimization done (n=76): time 2.485e-06/0.6293, allocations: 0 / 1.566 GB, free: 10.98 MB / 1.264 GB Notification: Performance of matching and sorting (n=76): time 0.002111/0.6314, allocations: 1.161 MB / 1.568 GB, free: 9.812 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.6315, allocations: 60.06 kB / 1.568 GB, free: 9.742 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007215/0.6322, allocations: 0.5744 MB / 1.568 GB, free: 9.16 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/0.6323, allocations: 41.7 kB / 1.568 GB, free: 9.113 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/0.6326, allocations: 472.6 kB / 1.569 GB, free: 8.645 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.000273/0.6329, allocations: 285.5 kB / 1.569 GB, free: 8.363 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.6331, allocations: 126.7 kB / 1.569 GB, free: 8.234 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.6333, allocations: 382.8 kB / 1.569 GB, free: 7.852 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.6338, allocations: 337.8 kB / 1.57 GB, free: 7.523 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005926/0.6344, allocations: 448.8 kB / 1.57 GB, free: 7.051 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.6356, allocations: 0.8271 MB / 1.571 GB, free: 6.184 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.6356, allocations: 0 / 1.571 GB, free: 6.184 MB / 1.264 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001521/0.6371, allocations: 0.9379 MB / 1.572 GB, free: 5.238 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.6371, allocations: 7.938 kB / 1.572 GB, free: 5.23 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6372, allocations: 4 kB / 1.572 GB, free: 5.227 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.6372, allocations: 8 kB / 1.572 GB, free: 5.219 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006856/0.6379, allocations: 151.8 kB / 1.572 GB, free: 5.07 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.6379, allocations: 11.94 kB / 1.572 GB, free: 5.059 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006837/0.6386, allocations: 59.52 kB / 1.572 GB, free: 5 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.6386, allocations: 28.25 kB / 1.572 GB, free: 4.973 MB / 1.264 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.0005607/0.6392, allocations: 338.1 kB / 1.572 GB, free: 4.633 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.6393, allocations: 91.41 kB / 1.573 GB, free: 4.543 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.6396, allocations: 107.8 kB / 1.573 GB, free: 4.43 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.6396, allocations: 8 kB / 1.573 GB, free: 4.422 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.6396, allocations: 0 / 1.573 GB, free: 4.422 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001316/0.6409, allocations: 1.097 MB / 1.574 GB, free: 3.238 MB / 1.264 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.003259/0.6442, allocations: 2.271 MB / 1.576 GB, free: 0.8867 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6442, allocations: 0 / 1.576 GB, free: 0.8867 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008343/0.645, allocations: 171.8 kB / 1.576 GB, free: 0.7188 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.645, allocations: 4 kB / 1.576 GB, free: 0.7148 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.6451, allocations: 23.98 kB / 1.576 GB, free: 0.6914 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.6451, allocations: 0 / 1.576 GB, free: 0.6914 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.6451, allocations: 4 kB / 1.576 GB, free: 0.6875 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.647, allocations: 1.367 MB / 1.577 GB, free: 15.3 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003918/0.6474, allocations: 175.3 kB / 1.578 GB, free: 15.12 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.6475, allocations: 12.12 kB / 1.578 GB, free: 15.11 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005807/0.648, allocations: 27.98 kB / 1.578 GB, free: 15.09 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.6481, allocations: 44.56 kB / 1.578 GB, free: 15.04 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.356e-05/0.6482, allocations: 35.92 kB / 1.578 GB, free: 15.01 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0004979/0.6487, allocations: 415 kB / 1.578 GB, free: 14.61 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.6487, allocations: 0 / 1.578 GB, free: 14.61 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0009514/0.6496, allocations: 371.3 kB / 1.579 GB, free: 14.24 MB / 1.279 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.002377/0.652, allocations: 1.975 MB / 1.58 GB, free: 12.24 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.6532, allocations: 0.7674 MB / 1.581 GB, free: 11.48 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.6532, allocations: 8.062 kB / 1.581 GB, free: 11.47 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005534/0.6538, allocations: 411.4 kB / 1.582 GB, free: 11.06 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/0.6564, allocations: 0.5827 MB / 1.582 GB, free: 10.49 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.667, allocations: 7.285 MB / 1.589 GB, free: 3.043 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009161/0.668, allocations: 1.147 MB / 1.59 GB, free: 1.867 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009084/0.6689, allocations: 271.2 kB / 1.591 GB, free: 1.598 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005941/0.6695, allocations: 375.3 kB / 1.591 GB, free: 1.23 MB / 1.279 GB Notification: Performance of SimCode: time 1.092e-06/0.6695, allocations: 0 / 1.591 GB, free: 1.23 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.746/1.415, allocations: 26.73 MB / 1.617 GB, free: 280.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/14.19, allocations: 17.39 kB / 1.617 GB, free: 280.1 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.028791924996767]