Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_latest_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.001304/0.001304, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 192.7 kB / 16.53 MB, free: 6.699 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.215/1.215, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.413/2.413, allocations: 469.4 MB / 0.742 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 61.97 kB / 0.9082 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2436, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6424/0.886, allocations: 204.1 MB / 1.263 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008099/0.8942, allocations: 6.369 MB / 1.269 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.8955, allocations: 35.94 kB / 1.269 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.8973, allocations: 0.7326 MB / 1.27 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005881/0.9032, allocations: 2.676 MB / 1.273 GB, free: 4.43 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.001618/0.9048, allocations: 0.7068 MB / 1.273 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00325/0.908, allocations: 3.276 MB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.9095, allocations: 1.143 MB / 1.278 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002286/0.9118, allocations: 1.242 MB / 1.279 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002115/0.9139, allocations: 1.1 MB / 1.28 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002028/0.9141, allocations: 128.6 kB / 1.28 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005047/0.9192, allocations: 2.355 MB / 1.282 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006477/0.9199, allocations: 0.5152 MB / 1.283 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.9209, allocations: 0.7405 MB / 1.284 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004524/0.9254, allocations: 2.778 MB / 1.286 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9255, allocations: 0 / 1.286 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.464e-06/0.9255, allocations: 1.422 kB / 1.286 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.9255, allocations: 1.641 kB / 1.286 GB, free: 4.141 MB / 0.9981 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.003968/0.9295, allocations: 1.769 MB / 1.288 GB, free: 19.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.9295, allocations: 10.03 kB / 1.288 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000179/0.9297, allocations: 163.1 kB / 1.288 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/0.9318, allocations: 346.7 kB / 1.288 GB, free: 19.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.933, allocations: 0.8409 MB / 1.289 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.223e-05/0.9331, allocations: 74.48 kB / 1.289 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.9332, allocations: 103 kB / 1.289 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.9349, allocations: 1.191 MB / 1.291 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.935, allocations: 1.062 kB / 1.291 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.915e-05/0.9351, allocations: 43.48 kB / 1.291 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.385e-05/0.9351, allocations: 60.62 kB / 1.291 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.9368, allocations: 1.25 MB / 1.292 GB, free: 18.79 MB / 1.014 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.005474/0.9423, allocations: 5.143 MB / 1.297 GB, free: 16.28 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.9436, allocations: 1.158 MB / 1.298 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006089/0.9442, allocations: 0.502 MB / 1.299 GB, free: 15.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-05/0.9442, allocations: 17.67 kB / 1.299 GB, free: 15.87 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006095/0.9449, allocations: 486 kB / 1.299 GB, free: 15.81 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.046e-06/0.9449, allocations: 4.75 kB / 1.299 GB, free: 15.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.001743/0.9466, allocations: 1.161 MB / 1.3 GB, free: 15.71 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.9467, allocations: 63.62 kB / 1.3 GB, free: 15.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005782/0.9473, allocations: 0.5706 MB / 1.301 GB, free: 15.53 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.562e-05/0.9473, allocations: 43.86 kB / 1.301 GB, free: 15.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.9475, allocations: 466.3 kB / 1.301 GB, free: 15.27 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.9477, allocations: 267.2 kB / 1.302 GB, free: 15.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.9479, allocations: 125.5 kB / 1.302 GB, free: 15.08 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.948, allocations: 386.9 kB / 1.302 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004158/0.9484, allocations: 331 kB / 1.302 GB, free: 14.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.9489, allocations: 448.5 kB / 1.303 GB, free: 14.67 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009118/0.9498, allocations: 0.8228 MB / 1.304 GB, free: 14.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.9498, allocations: 2.094 kB / 1.304 GB, free: 14.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001179/0.951, allocations: 0.9307 MB / 1.305 GB, free: 14.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.951, allocations: 10.16 kB / 1.305 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.9511, allocations: 3.125 kB / 1.305 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.9511, allocations: 12.34 kB / 1.305 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/0.9517, allocations: 154.8 kB / 1.305 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.9517, allocations: 12.81 kB / 1.305 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007306/0.9525, allocations: 64.69 kB / 1.305 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.9525, allocations: 23.72 kB / 1.305 GB, free: 14.43 MB / 1.014 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.0004024/0.9529, allocations: 335.8 kB / 1.305 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.953, allocations: 84.31 kB / 1.305 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.9532, allocations: 108.4 kB / 1.305 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.9532, allocations: 8.688 kB / 1.305 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.9532, allocations: 1 kB / 1.305 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001036/0.9543, allocations: 1.094 MB / 1.306 GB, free: 13.8 MB / 1.014 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.002603/0.9569, allocations: 2.308 MB / 1.309 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.9569, allocations: 2.469 kB / 1.309 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007461/0.9577, allocations: 172.8 kB / 1.309 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.9577, allocations: 3.406 kB / 1.309 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.9577, allocations: 20.84 kB / 1.309 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.9577, allocations: 4.469 kB / 1.309 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9577, allocations: 1.031 kB / 1.309 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.9592, allocations: 1.354 MB / 1.31 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.9595, allocations: 253.5 kB / 1.31 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.9596, allocations: 15.25 kB / 1.31 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005798/0.9602, allocations: 20.94 kB / 1.31 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.9603, allocations: 47.56 kB / 1.31 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.9604, allocations: 26.08 kB / 1.31 GB, free: 12.94 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003756/0.9607, allocations: 414.3 kB / 1.311 GB, free: 12.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9607, allocations: 0 / 1.311 GB, free: 12.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008264/0.9616, allocations: 373.6 kB / 1.311 GB, free: 12.79 MB / 1.014 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.001833/0.9634, allocations: 1.964 MB / 1.313 GB, free: 12.06 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.965, allocations: 1.04 MB / 1.314 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.965, allocations: 1.062 kB / 1.314 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004235/0.9654, allocations: 426.7 kB / 1.315 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.9677, allocations: 0.5933 MB / 1.315 GB, free: 11.96 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007764/0.9755, allocations: 7.501 MB / 1.322 GB, free: 9.391 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006172/0.9762, allocations: 1.136 MB / 1.324 GB, free: 8.676 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001003/0.9772, allocations: 273.4 kB / 1.324 GB, free: 8.621 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004295/0.9776, allocations: 377 kB / 1.324 GB, free: 8.617 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/0.9776, allocations: 0 / 1.324 GB, free: 8.617 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04462/1.022, allocations: 25.74 MB / 1.349 GB, free: 1.059 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.339/8.361, allocations: 5.609 kB / 1.349 GB, free: 1.059 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches