Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007689/0.007689, allocations: 101.7 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 192.2 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.315/2.315, allocations: 437.1 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 64.12 kB / 1.018 GB, free: 9.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7783/0.7798, allocations: 151.6 MB / 1.166 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.202/0.9819, allocations: 204.2 MB / 1.366 GB, free: 6.859 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.009686/0.9916, allocations: 6.37 MB / 1.372 GB, free: 484 kB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.9931, allocations: 39.81 kB / 1.372 GB, free: 444 kB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.9953, allocations: 0.7618 MB / 1.373 GB, free: 15.66 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007162/1.003, allocations: 2.762 MB / 1.375 GB, free: 12.89 MB / 1.107 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.00189/1.004, allocations: 0.7233 MB / 1.376 GB, free: 12.17 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004015/1.008, allocations: 3.275 MB / 1.379 GB, free: 8.887 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00182/1.01, allocations: 1.137 MB / 1.38 GB, free: 7.73 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002605/1.013, allocations: 1.292 MB / 1.382 GB, free: 6.434 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002485/1.015, allocations: 1.1 MB / 1.383 GB, free: 5.336 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004028/1.016, allocations: 128 kB / 1.383 GB, free: 5.211 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005494/1.021, allocations: 2.366 MB / 1.385 GB, free: 2.84 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0008344/1.022, allocations: 0.5104 MB / 1.386 GB, free: 2.328 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001527/1.024, allocations: 0.7352 MB / 1.386 GB, free: 1.59 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005105/1.029, allocations: 2.793 MB / 1.389 GB, free: 14.79 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.029, allocations: 4 kB / 1.389 GB, free: 14.79 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.763e-06/1.029, allocations: 0 / 1.389 GB, free: 14.79 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.333e-05/1.029, allocations: 0 / 1.389 GB, free: 14.79 MB / 1.123 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/1.034, allocations: 1.769 MB / 1.391 GB, free: 12.96 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.034, allocations: 12.92 kB / 1.391 GB, free: 12.95 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000323/1.034, allocations: 164.6 kB / 1.391 GB, free: 12.78 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002354/1.036, allocations: 346.2 kB / 1.391 GB, free: 12.44 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/1.038, allocations: 0.8778 MB / 1.392 GB, free: 11.52 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.845e-05/1.038, allocations: 82 kB / 1.392 GB, free: 11.43 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/1.038, allocations: 96 kB / 1.392 GB, free: 11.34 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/1.04, allocations: 1.187 MB / 1.393 GB, free: 10.12 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/1.04, allocations: 4 kB / 1.393 GB, free: 10.12 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-05/1.04, allocations: 43.98 kB / 1.393 GB, free: 10.07 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/1.04, allocations: 58.08 kB / 1.393 GB, free: 10.02 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/1.042, allocations: 1.25 MB / 1.395 GB, free: 8.758 MB / 1.123 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.006487/1.049, allocations: 5.11 MB / 1.4 GB, free: 3.188 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/1.05, allocations: 1.15 MB / 1.401 GB, free: 1.953 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007034/1.051, allocations: 0.5051 MB / 1.401 GB, free: 1.445 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 6.81e-05/1.051, allocations: 16.64 kB / 1.401 GB, free: 1.43 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007044/1.052, allocations: 488.3 kB / 1.402 GB, free: 0.9375 MB / 1.123 GB Notification: Performance of pre-optimization done (n=76): time 3.136e-06/1.052, allocations: 0 / 1.402 GB, free: 0.9375 MB / 1.123 GB Notification: Performance of matching and sorting (n=76): time 0.001961/1.054, allocations: 1.165 MB / 1.403 GB, free: 15.77 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/1.054, allocations: 60.06 kB / 1.403 GB, free: 15.7 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006967/1.055, allocations: 0.5744 MB / 1.404 GB, free: 15.12 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/1.055, allocations: 41.7 kB / 1.404 GB, free: 15.07 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/1.055, allocations: 463.6 kB / 1.404 GB, free: 14.61 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/1.055, allocations: 268.1 kB / 1.404 GB, free: 14.34 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/1.055, allocations: 130.6 kB / 1.404 GB, free: 14.21 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.056, allocations: 386.8 kB / 1.405 GB, free: 13.82 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004871/1.056, allocations: 333.8 kB / 1.405 GB, free: 13.5 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/1.057, allocations: 444.7 kB / 1.406 GB, free: 13.02 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/1.058, allocations: 0.8272 MB / 1.406 GB, free: 12.16 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/1.058, allocations: 0 / 1.406 GB, free: 12.16 MB / 1.139 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00139/1.059, allocations: 0.926 MB / 1.407 GB, free: 11.23 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/1.059, allocations: 19.91 kB / 1.407 GB, free: 11.21 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.059, allocations: 0 / 1.407 GB, free: 11.21 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/1.059, allocations: 8 kB / 1.407 GB, free: 11.2 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006498/1.06, allocations: 155.7 kB / 1.407 GB, free: 11.05 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/1.06, allocations: 8 kB / 1.407 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007197/1.061, allocations: 59.38 kB / 1.407 GB, free: 10.98 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/1.061, allocations: 27.98 kB / 1.407 GB, free: 10.96 MB / 1.139 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.0004487/1.061, allocations: 333.5 kB / 1.408 GB, free: 10.62 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/1.061, allocations: 87 kB / 1.408 GB, free: 10.54 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/1.062, allocations: 103.8 kB / 1.408 GB, free: 10.43 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/1.062, allocations: 8 kB / 1.408 GB, free: 10.42 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/1.062, allocations: 0 / 1.408 GB, free: 10.42 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001203/1.063, allocations: 1.089 MB / 1.409 GB, free: 9.246 MB / 1.139 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.003214/1.066, allocations: 2.31 MB / 1.411 GB, free: 6.844 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.066, allocations: 0 / 1.411 GB, free: 6.844 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008398/1.067, allocations: 175.8 kB / 1.411 GB, free: 6.672 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/1.067, allocations: 4 kB / 1.411 GB, free: 6.668 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.354e-05/1.067, allocations: 16 kB / 1.412 GB, free: 6.652 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/1.067, allocations: 4 kB / 1.412 GB, free: 6.648 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.067, allocations: 0 / 1.412 GB, free: 6.648 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/1.069, allocations: 1.359 MB / 1.413 GB, free: 5.27 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004193/1.069, allocations: 256 kB / 1.413 GB, free: 5 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/1.069, allocations: 20 kB / 1.413 GB, free: 4.98 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006783/1.07, allocations: 19.92 kB / 1.413 GB, free: 4.961 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/1.07, allocations: 44.59 kB / 1.413 GB, free: 4.914 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.318e-05/1.07, allocations: 27.98 kB / 1.413 GB, free: 4.887 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005026/1.071, allocations: 415 kB / 1.414 GB, free: 4.484 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.4e-07/1.071, allocations: 3.938 kB / 1.414 GB, free: 4.48 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001027/1.072, allocations: 367.1 kB / 1.414 GB, free: 4.121 MB / 1.139 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.002256/1.074, allocations: 1.974 MB / 1.416 GB, free: 2.117 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001281/1.075, allocations: 0.8019 MB / 1.417 GB, free: 1.316 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/1.075, allocations: 0 / 1.417 GB, free: 1.316 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005617/1.076, allocations: 424.2 kB / 1.417 GB, free: 0.9023 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/1.079, allocations: 0.5922 MB / 1.418 GB, free: 328 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/1.089, allocations: 7.25 MB / 1.425 GB, free: 8.91 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008096/1.09, allocations: 1.143 MB / 1.426 GB, free: 7.742 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009649/1.091, allocations: 271.2 kB / 1.426 GB, free: 7.473 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/1.091, allocations: 387.2 kB / 1.426 GB, free: 7.094 MB / 1.154 GB Notification: Performance of SimCode: time 7.01e-07/1.091, allocations: 0 / 1.426 GB, free: 7.094 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04616/1.138, allocations: 25.91 MB / 1.452 GB, free: 13.48 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.007/10.14, allocations: 8.656 kB / 1.452 GB, free: 13.47 MB / 1.186 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches