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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_11_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.007106/0.007106, allocations: 98.8 kB / 15.73 MB, free: 6.047 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.001774/0.001774, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.346/3.346, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 67.89 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3019, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.8962/1.198, allocations: 204.2 MB / 1.42 GB, free: 4.984 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01112/1.209, allocations: 6.377 MB / 1.426 GB, free: 15.78 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/1.211, allocations: 38.09 kB / 1.426 GB, free: 15.77 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00221/1.213, allocations: 0.7296 MB / 1.426 GB, free: 15.18 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.008081/1.221, allocations: 2.669 MB / 1.429 GB, free: 13.13 MB / 1.123 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.002393/1.224, allocations: 0.7186 MB / 1.43 GB, free: 12.56 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.005456/1.229, allocations: 3.279 MB / 1.433 GB, free: 10.69 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002214/1.231, allocations: 1.138 MB / 1.434 GB, free: 10.02 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003447/1.235, allocations: 1.252 MB / 1.435 GB, free: 9.16 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003358/1.238, allocations: 1.09 MB / 1.436 GB, free: 8.074 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004825/1.239, allocations: 128 kB / 1.437 GB, free: 7.949 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006518/1.245, allocations: 2.358 MB / 1.439 GB, free: 5.586 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001172/1.247, allocations: 0.5182 MB / 1.439 GB, free: 5.066 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002022/1.249, allocations: 0.7391 MB / 1.44 GB, free: 4.324 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007112/1.256, allocations: 2.807 MB / 1.443 GB, free: 1.512 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/1.256, allocations: 0 / 1.443 GB, free: 1.512 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.773e-06/1.256, allocations: 0 / 1.443 GB, free: 1.512 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.407e-05/1.256, allocations: 0 / 1.443 GB, free: 1.512 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.006051/1.262, allocations: 1.817 MB / 1.445 GB, free: 15.63 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/1.262, allocations: 8.031 kB / 1.445 GB, free: 15.62 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003958/1.262, allocations: 164.6 kB / 1.445 GB, free: 15.45 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002594/1.265, allocations: 353.8 kB / 1.445 GB, free: 15.11 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/1.267, allocations: 0.8825 MB / 1.446 GB, free: 14.18 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.331e-05/1.267, allocations: 77.95 kB / 1.446 GB, free: 14.11 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/1.267, allocations: 104 kB / 1.446 GB, free: 14 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/1.27, allocations: 1.191 MB / 1.447 GB, free: 12.78 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/1.27, allocations: 0 / 1.447 GB, free: 12.78 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/1.27, allocations: 43.98 kB / 1.447 GB, free: 12.74 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.227e-05/1.27, allocations: 62.06 kB / 1.447 GB, free: 12.68 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/1.272, allocations: 1.242 MB / 1.449 GB, free: 11.43 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 preOpt removeSimpleEquations (simulation): time 0.007903/1.28, allocations: 5.119 MB / 1.454 GB, free: 5.848 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/1.282, allocations: 1.156 MB / 1.455 GB, free: 4.609 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008197/1.283, allocations: 0.5065 MB / 1.455 GB, free: 4.102 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.169e-05/1.283, allocations: 20.8 kB / 1.455 GB, free: 4.082 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008525/1.284, allocations: 484.2 kB / 1.456 GB, free: 3.594 MB / 1.139 GB Notification: Performance of pre-optimization done (n=76): time 3.907e-06/1.284, allocations: 0 / 1.456 GB, free: 3.594 MB / 1.139 GB Notification: Performance of matching and sorting (n=76): time 0.002226/1.286, allocations: 1.165 MB / 1.457 GB, free: 2.422 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/1.286, allocations: 60.06 kB / 1.457 GB, free: 2.352 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008537/1.287, allocations: 0.5783 MB / 1.457 GB, free: 1.762 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.306e-05/1.287, allocations: 41.7 kB / 1.457 GB, free: 1.715 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000392/1.287, allocations: 464.7 kB / 1.458 GB, free: 1.254 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/1.288, allocations: 281.5 kB / 1.458 GB, free: 0.9766 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/1.288, allocations: 130.6 kB / 1.458 GB, free: 0.8398 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002077/1.288, allocations: 386.7 kB / 1.459 GB, free: 464 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006014/1.289, allocations: 337.8 kB / 1.459 GB, free: 128 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006641/1.289, allocations: 444.8 kB / 1.459 GB, free: 15.65 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/1.291, allocations: 0.8271 MB / 1.46 GB, free: 14.79 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.291, allocations: 0 / 1.46 GB, free: 14.79 MB / 1.154 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001539/1.292, allocations: 0.93 MB / 1.461 GB, free: 13.85 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/1.292, allocations: 8 kB / 1.461 GB, free: 13.84 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.292, allocations: 4 kB / 1.461 GB, free: 13.84 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/1.292, allocations: 12.22 kB / 1.461 GB, free: 13.82 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007092/1.293, allocations: 163.8 kB / 1.461 GB, free: 13.66 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/1.293, allocations: 7.938 kB / 1.461 GB, free: 13.66 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007688/1.294, allocations: 59.52 kB / 1.461 GB, free: 13.6 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/1.294, allocations: 28 kB / 1.461 GB, free: 13.57 MB / 1.154 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.0005503/1.294, allocations: 330.2 kB / 1.462 GB, free: 13.24 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/1.295, allocations: 83.52 kB / 1.462 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/1.295, allocations: 115.7 kB / 1.462 GB, free: 13.04 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/1.295, allocations: 8.875 kB / 1.462 GB, free: 13.03 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.295, allocations: 4 kB / 1.462 GB, free: 13.03 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001381/1.296, allocations: 1.089 MB / 1.463 GB, free: 11.85 MB / 1.154 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.003526/1.3, allocations: 2.31 MB / 1.465 GB, free: 9.453 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/1.3, allocations: 0 / 1.465 GB, free: 9.453 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008613/1.301, allocations: 175.8 kB / 1.465 GB, free: 9.281 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.594e-05/1.301, allocations: 8.906 kB / 1.465 GB, free: 9.273 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.988e-05/1.301, allocations: 12 kB / 1.465 GB, free: 9.262 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.677e-06/1.301, allocations: 4 kB / 1.465 GB, free: 9.258 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/1.301, allocations: 10.97 kB / 1.465 GB, free: 9.25 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/1.303, allocations: 1.36 MB / 1.467 GB, free: 7.867 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/1.303, allocations: 252.4 kB / 1.467 GB, free: 7.602 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/1.303, allocations: 16.88 kB / 1.467 GB, free: 7.586 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000658/1.304, allocations: 25.48 kB / 1.467 GB, free: 7.562 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/1.304, allocations: 44.59 kB / 1.467 GB, free: 7.52 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.604e-05/1.304, allocations: 20 kB / 1.467 GB, free: 7.5 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005485/1.305, allocations: 415 kB / 1.468 GB, free: 7.098 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.11e-07/1.305, allocations: 0 / 1.468 GB, free: 7.098 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001001/1.306, allocations: 371.3 kB / 1.468 GB, free: 6.734 MB / 1.154 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.002543/1.308, allocations: 1.979 MB / 1.47 GB, free: 4.73 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001373/1.31, allocations: 0.8019 MB / 1.471 GB, free: 3.926 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/1.31, allocations: 0 / 1.471 GB, free: 3.926 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006108/1.31, allocations: 427.5 kB / 1.471 GB, free: 3.512 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/1.313, allocations: 0.6007 MB / 1.472 GB, free: 2.926 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/1.324, allocations: 7.277 MB / 1.479 GB, free: 11.49 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009483/1.325, allocations: 1.139 MB / 1.48 GB, free: 10.32 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009584/1.326, allocations: 271.2 kB / 1.48 GB, free: 10.05 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006581/1.327, allocations: 383.3 kB / 1.48 GB, free: 9.684 MB / 1.17 GB Notification: Performance of SimCode: time 2.655e-06/1.327, allocations: 0 / 1.48 GB, free: 9.684 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08891/1.416, allocations: 25.92 MB / 1.506 GB, free: 88 kB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.53/17.95, allocations: 11.92 kB / 1.506 GB, free: 76 kB / 1.186 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.csv","/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) Reference file matches