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.009485/0.009485, allocations: 97.38 kB / 15.73 MB, free: 5.949 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.002176/0.002176, allocations: 193.9 kB / 16.67 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.016/2.016, allocations: 222.9 MB / 240.4 MB, free: 15.1 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 3.693/3.693, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 64.11 kB / 1.018 GB, free: 9.949 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.099, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.3432/1.442, allocations: 204.2 MB / 1.366 GB, free: 6.816 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01377/1.456, allocations: 6.363 MB / 1.372 GB, free: 448 kB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002404/1.458, allocations: 39.81 kB / 1.372 GB, free: 408 kB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002971/1.461, allocations: 0.7304 MB / 1.372 GB, free: 15.66 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009634/1.471, allocations: 2.68 MB / 1.375 GB, free: 12.97 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.002335/1.474, allocations: 0.7136 MB / 1.376 GB, free: 12.26 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00563/1.479, allocations: 3.272 MB / 1.379 GB, free: 8.977 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/1.481, allocations: 1.137 MB / 1.38 GB, free: 7.82 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003185/1.484, allocations: 1.247 MB / 1.381 GB, free: 6.57 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002994/1.487, allocations: 1.104 MB / 1.382 GB, free: 5.469 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002538/1.488, allocations: 132 kB / 1.383 GB, free: 5.34 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005996/1.494, allocations: 2.358 MB / 1.385 GB, free: 2.977 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000844/1.495, allocations: 0.5104 MB / 1.385 GB, free: 2.465 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001414/1.496, allocations: 0.7391 MB / 1.386 GB, free: 1.723 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007785/1.504, allocations: 2.803 MB / 1.389 GB, free: 14.91 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.978e-06/1.504, allocations: 0 / 1.389 GB, free: 14.91 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.286e-06/1.504, allocations: 0 / 1.389 GB, free: 14.91 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.714e-05/1.504, allocations: 0 / 1.389 GB, free: 14.91 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.00558/1.51, allocations: 1.817 MB / 1.391 GB, free: 13.04 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/1.51, allocations: 8.922 kB / 1.391 GB, free: 13.03 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003394/1.51, allocations: 164.6 kB / 1.391 GB, free: 12.86 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002982/1.513, allocations: 350.9 kB / 1.391 GB, free: 12.51 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/1.515, allocations: 0.8824 MB / 1.392 GB, free: 11.59 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/1.515, allocations: 70.02 kB / 1.392 GB, free: 11.52 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002545/1.515, allocations: 107.9 kB / 1.392 GB, free: 11.41 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002785/1.518, allocations: 1.187 MB / 1.393 GB, free: 10.19 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/1.518, allocations: 0 / 1.393 GB, free: 10.19 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/1.518, allocations: 43.98 kB / 1.393 GB, free: 10.15 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.558e-05/1.518, allocations: 58.08 kB / 1.393 GB, free: 10.09 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003197/1.522, allocations: 1.249 MB / 1.395 GB, free: 8.832 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.01197/1.534, allocations: 5.127 MB / 1.4 GB, free: 3.246 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/1.537, allocations: 1.154 MB / 1.401 GB, free: 2.008 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/1.538, allocations: 0.5072 MB / 1.401 GB, free: 1.5 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.735e-05/1.538, allocations: 16.78 kB / 1.401 GB, free: 1.484 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001227/1.539, allocations: 480.2 kB / 1.402 GB, free: 1 MB / 1.123 GB Notification: Performance of pre-optimization done (n=76): time 5.621e-06/1.539, allocations: 4 kB / 1.402 GB, free: 0.9961 MB / 1.123 GB Notification: Performance of matching and sorting (n=76): time 0.003565/1.543, allocations: 1.169 MB / 1.403 GB, free: 15.82 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/1.543, allocations: 60.06 kB / 1.403 GB, free: 15.75 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/1.544, allocations: 0.5706 MB / 1.403 GB, free: 15.18 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/1.544, allocations: 37.7 kB / 1.403 GB, free: 15.13 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000611/1.545, allocations: 476.6 kB / 1.404 GB, free: 14.66 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004726/1.546, allocations: 277.6 kB / 1.404 GB, free: 14.39 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003933/1.546, allocations: 134.6 kB / 1.404 GB, free: 14.25 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000314/1.546, allocations: 382.8 kB / 1.405 GB, free: 13.86 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00097/1.547, allocations: 333.8 kB / 1.405 GB, free: 13.54 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/1.548, allocations: 448.7 kB / 1.405 GB, free: 13.06 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002201/1.551, allocations: 0.8232 MB / 1.406 GB, free: 12.21 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/1.551, allocations: 0 / 1.406 GB, free: 12.21 MB / 1.139 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002784/1.554, allocations: 0.9419 MB / 1.407 GB, free: 11.26 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/1.554, allocations: 11.94 kB / 1.407 GB, free: 11.25 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/1.554, allocations: 4 kB / 1.407 GB, free: 11.24 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/1.554, allocations: 4 kB / 1.407 GB, free: 11.24 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/1.555, allocations: 159.7 kB / 1.407 GB, free: 11.08 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/1.555, allocations: 4 kB / 1.407 GB, free: 11.08 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/1.556, allocations: 63.52 kB / 1.407 GB, free: 11.02 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.295e-05/1.556, allocations: 27.98 kB / 1.407 GB, free: 10.99 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.0006008/1.557, allocations: 337.6 kB / 1.408 GB, free: 10.65 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/1.557, allocations: 83.47 kB / 1.408 GB, free: 10.57 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/1.557, allocations: 111.8 kB / 1.408 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/1.557, allocations: 8 kB / 1.408 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/1.557, allocations: 0 / 1.408 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001528/1.559, allocations: 1.085 MB / 1.409 GB, free: 9.273 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.004221/1.563, allocations: 2.311 MB / 1.411 GB, free: 6.871 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.563, allocations: 4.031 kB / 1.411 GB, free: 6.867 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008814/1.564, allocations: 171.8 kB / 1.411 GB, free: 6.699 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/1.564, allocations: 4 kB / 1.411 GB, free: 6.695 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/1.564, allocations: 16 kB / 1.411 GB, free: 6.68 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/1.564, allocations: 4 kB / 1.411 GB, free: 6.676 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.564, allocations: 3.938 kB / 1.411 GB, free: 6.672 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/1.566, allocations: 1.363 MB / 1.413 GB, free: 5.289 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004059/1.566, allocations: 256.4 kB / 1.413 GB, free: 5.02 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/1.566, allocations: 12.12 kB / 1.413 GB, free: 5.008 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006259/1.567, allocations: 29.11 kB / 1.413 GB, free: 4.98 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/1.567, allocations: 40.59 kB / 1.413 GB, free: 4.938 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.224e-05/1.567, allocations: 27.98 kB / 1.413 GB, free: 4.91 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006127/1.568, allocations: 415 kB / 1.414 GB, free: 4.508 MB / 1.139 GB Notification: Performance of sort global known variables: time 5.31e-07/1.568, allocations: 4 kB / 1.414 GB, free: 4.504 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001007/1.569, allocations: 371.3 kB / 1.414 GB, free: 4.141 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.003741/1.573, allocations: 1.97 MB / 1.416 GB, free: 2.141 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001869/1.575, allocations: 0.8065 MB / 1.417 GB, free: 1.336 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.575, allocations: 0 / 1.417 GB, free: 1.336 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006322/1.575, allocations: 427.6 kB / 1.417 GB, free: 0.918 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/1.578, allocations: 0.5917 MB / 1.418 GB, free: 348 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/1.591, allocations: 7.289 MB / 1.425 GB, free: 8.891 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009357/1.592, allocations: 1.136 MB / 1.426 GB, free: 7.73 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001116/1.593, allocations: 275.1 kB / 1.426 GB, free: 7.457 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006262/1.594, allocations: 379.3 kB / 1.426 GB, free: 7.086 MB / 1.154 GB Notification: Performance of SimCode: time 1.092e-06/1.594, allocations: 0 / 1.426 GB, free: 7.086 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0974/1.691, allocations: 25.91 MB / 1.452 GB, free: 13.47 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.64/18.34, allocations: 10.69 kB / 1.452 GB, free: 13.46 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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