Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_9_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.005023/0.005023, allocations: 101.5 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.001128/0.001128, allocations: 186.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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.145/2.145, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 59.91 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6752/0.6765, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2078/0.8843, allocations: 204.2 MB / 1.287 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009444/0.8938, allocations: 6.374 MB / 1.293 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.8951, allocations: 35.81 kB / 1.293 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.8969, allocations: 0.7226 MB / 1.294 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005966/0.903, allocations: 2.679 MB / 1.296 GB, free: 7.637 MB / 1.029 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.001738/0.9047, allocations: 0.718 MB / 1.297 GB, free: 6.922 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003543/0.9083, allocations: 3.274 MB / 1.3 GB, free: 3.633 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.9096, allocations: 1.148 MB / 1.301 GB, free: 2.465 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0019/0.9115, allocations: 1.246 MB / 1.303 GB, free: 1.215 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.9133, allocations: 1.091 MB / 1.304 GB, free: 128 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.9135, allocations: 128 kB / 1.304 GB, free: 0 / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003948/0.9175, allocations: 2.354 MB / 1.306 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004915/0.918, allocations: 0.5143 MB / 1.307 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007853/0.9188, allocations: 0.7391 MB / 1.307 GB, free: 12.38 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003575/0.9224, allocations: 2.797 MB / 1.31 GB, free: 9.578 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.9224, allocations: 0 / 1.31 GB, free: 9.578 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.032e-06/0.9224, allocations: 0 / 1.31 GB, free: 9.578 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.752e-05/0.9224, allocations: 4 kB / 1.31 GB, free: 9.574 MB / 1.045 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.003783/0.9262, allocations: 1.765 MB / 1.312 GB, free: 7.754 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.9263, allocations: 12.03 kB / 1.312 GB, free: 7.742 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001854/0.9265, allocations: 164.5 kB / 1.312 GB, free: 7.57 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/0.9287, allocations: 346.2 kB / 1.312 GB, free: 7.23 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.9301, allocations: 0.8817 MB / 1.313 GB, free: 6.305 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.9302, allocations: 78.02 kB / 1.313 GB, free: 6.227 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.9303, allocations: 99.94 kB / 1.313 GB, free: 6.129 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.9322, allocations: 1.195 MB / 1.315 GB, free: 4.902 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.9322, allocations: 0 / 1.315 GB, free: 4.902 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.9323, allocations: 48 kB / 1.315 GB, free: 4.855 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.821e-05/0.9324, allocations: 62.02 kB / 1.315 GB, free: 4.793 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.9342, allocations: 1.25 MB / 1.316 GB, free: 3.535 MB / 1.045 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.006323/0.9406, allocations: 5.095 MB / 1.321 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.9421, allocations: 1.163 MB / 1.322 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007332/0.9428, allocations: 0.5012 MB / 1.322 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.355e-05/0.9429, allocations: 24.72 kB / 1.322 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007446/0.9437, allocations: 488.2 kB / 1.323 GB, free: 11.72 MB / 1.061 GB Notification: Performance of pre-optimization done (n=76): time 2.695e-06/0.9437, allocations: 0 / 1.323 GB, free: 11.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.001994/0.9457, allocations: 1.161 MB / 1.324 GB, free: 10.55 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.9457, allocations: 60.06 kB / 1.324 GB, free: 10.48 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007352/0.9465, allocations: 0.5706 MB / 1.325 GB, free: 9.902 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.329e-05/0.9466, allocations: 41.7 kB / 1.325 GB, free: 9.855 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.9469, allocations: 467.5 kB / 1.325 GB, free: 9.391 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.9471, allocations: 268.1 kB / 1.325 GB, free: 9.125 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.9473, allocations: 130.6 kB / 1.326 GB, free: 8.992 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.9475, allocations: 386.8 kB / 1.326 GB, free: 8.605 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.948, allocations: 329.8 kB / 1.326 GB, free: 8.281 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000577/0.9485, allocations: 448.8 kB / 1.327 GB, free: 7.801 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.9497, allocations: 0.8233 MB / 1.327 GB, free: 6.945 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.9497, allocations: 0 / 1.327 GB, free: 6.945 MB / 1.061 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001422/0.9511, allocations: 0.9335 MB / 1.328 GB, free: 6.004 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.9511, allocations: 7.938 kB / 1.328 GB, free: 5.996 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.9512, allocations: 4 kB / 1.328 GB, free: 5.992 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.9512, allocations: 12 kB / 1.328 GB, free: 5.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006715/0.9519, allocations: 147.8 kB / 1.329 GB, free: 5.836 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.069e-05/0.9519, allocations: 12.28 kB / 1.329 GB, free: 5.824 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008136/0.9527, allocations: 63.36 kB / 1.329 GB, free: 5.762 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.9528, allocations: 24 kB / 1.329 GB, free: 5.738 MB / 1.061 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.0004943/0.9533, allocations: 336 kB / 1.329 GB, free: 5.402 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.9535, allocations: 83 kB / 1.329 GB, free: 5.32 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.9537, allocations: 103.8 kB / 1.329 GB, free: 5.211 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.9538, allocations: 8 kB / 1.329 GB, free: 5.203 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.9538, allocations: 0 / 1.329 GB, free: 5.203 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001261/0.955, allocations: 1.101 MB / 1.33 GB, free: 4.016 MB / 1.061 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.003674/0.9587, allocations: 2.303 MB / 1.332 GB, free: 1.617 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.9587, allocations: 0 / 1.332 GB, free: 1.617 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008659/0.9596, allocations: 175.8 kB / 1.333 GB, free: 1.445 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.689e-06/0.9596, allocations: 0 / 1.333 GB, free: 1.445 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/0.9597, allocations: 20 kB / 1.333 GB, free: 1.426 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.9597, allocations: 11.92 kB / 1.333 GB, free: 1.414 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.9597, allocations: 4.031 kB / 1.333 GB, free: 1.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.9617, allocations: 1.351 MB / 1.334 GB, free: 40 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005476/0.9623, allocations: 252 kB / 1.334 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.9625, allocations: 12 kB / 1.334 GB, free: 15.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007449/0.9632, allocations: 32.44 kB / 1.334 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.237e-05/0.9633, allocations: 44.59 kB / 1.334 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.064e-05/0.9634, allocations: 31.98 kB / 1.334 GB, free: 15.65 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005189/0.9639, allocations: 415 kB / 1.335 GB, free: 15.25 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9639, allocations: 0 / 1.335 GB, free: 15.25 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001015/0.9649, allocations: 363.1 kB / 1.335 GB, free: 14.9 MB / 1.076 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.002299/0.9672, allocations: 1.977 MB / 1.337 GB, free: 12.89 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.9686, allocations: 0.802 MB / 1.338 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.9686, allocations: 0 / 1.338 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005854/0.9692, allocations: 431.4 kB / 1.338 GB, free: 11.67 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/0.9722, allocations: 0.5925 MB / 1.339 GB, free: 11.09 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009847/0.9821, allocations: 7.252 MB / 1.346 GB, free: 3.684 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007218/0.9828, allocations: 1.136 MB / 1.347 GB, free: 2.52 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009103/0.9838, allocations: 271.2 kB / 1.347 GB, free: 2.25 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005281/0.9843, allocations: 383.3 kB / 1.348 GB, free: 1.879 MB / 1.076 GB Notification: Performance of SimCode: time 8.31e-07/0.9843, allocations: 0 / 1.348 GB, free: 1.879 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04962/1.034, allocations: 25.91 MB / 1.373 GB, free: 8.297 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.609/10.64, allocations: 18.31 kB / 1.373 GB, free: 8.281 MB / 1.107 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches