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.001587/0.001587, 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.001962/0.001962, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.242/1.242, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.337/2.337, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 0.8693 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5306/0.532, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1826/0.7146, allocations: 204.2 MB / 1.217 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008782/0.7234, allocations: 6.363 MB / 1.223 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.7248, allocations: 39.81 kB / 1.223 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.7266, allocations: 0.7304 MB / 1.224 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005934/0.7325, allocations: 2.672 MB / 1.226 GB, free: 11.91 MB / 0.9825 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.001661/0.7342, allocations: 0.7063 MB / 1.227 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003377/0.7376, allocations: 3.278 MB / 1.23 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.739, allocations: 1.14 MB / 1.231 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.7409, allocations: 1.246 MB / 1.233 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001934/0.7428, allocations: 1.099 MB / 1.234 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002585/0.7431, allocations: 128 kB / 1.234 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003788/0.7469, allocations: 2.354 MB / 1.236 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005972/0.7475, allocations: 0.5104 MB / 1.237 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.7485, allocations: 0.743 MB / 1.237 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003499/0.752, allocations: 2.774 MB / 1.24 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.752, allocations: 0 / 1.24 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7521, allocations: 0 / 1.24 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.325e-05/0.7521, allocations: 0 / 1.24 GB, free: 13.88 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.003987/0.7561, allocations: 1.765 MB / 1.242 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.7561, allocations: 11.98 kB / 1.242 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002047/0.7564, allocations: 172.6 kB / 1.242 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/0.7585, allocations: 342.1 kB / 1.242 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.7598, allocations: 0.8389 MB / 1.243 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.263e-05/0.7599, allocations: 82.02 kB / 1.243 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.76, allocations: 99.98 kB / 1.243 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.7618, allocations: 1.195 MB / 1.244 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.7618, allocations: 0 / 1.244 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.866e-05/0.7619, allocations: 39.98 kB / 1.244 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.999e-05/0.762, allocations: 62.02 kB / 1.244 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.7638, allocations: 1.25 MB / 1.246 GB, free: 7.887 MB / 0.9981 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.005618/0.7694, allocations: 5.145 MB / 1.251 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.7707, allocations: 1.148 MB / 1.252 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00064/0.7714, allocations: 0.5122 MB / 1.252 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.091e-05/0.7714, allocations: 16.8 kB / 1.252 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006252/0.7721, allocations: 0.4884 MB / 1.253 GB, free: 28 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.034e-06/0.7721, allocations: 0 / 1.253 GB, free: 28 kB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.4127/1.185, allocations: 1.148 MB / 1.254 GB, free: 235 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/1.185, allocations: 60.28 kB / 1.254 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008084/1.186, allocations: 0.5714 MB / 1.255 GB, free: 234.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/1.186, allocations: 42.17 kB / 1.255 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/1.186, allocations: 461 kB / 1.255 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/1.186, allocations: 268.2 kB / 1.255 GB, free: 234.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/1.186, allocations: 134.6 kB / 1.255 GB, free: 234.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.187, allocations: 385.5 kB / 1.256 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/1.187, allocations: 331.2 kB / 1.256 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006051/1.188, allocations: 448.8 kB / 1.257 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/1.189, allocations: 0.8258 MB / 1.257 GB, free: 233 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.189, allocations: 0.9375 kB / 1.257 GB, free: 233 MB / 0.9981 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001411/1.19, allocations: 0.9303 MB / 1.258 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/1.19, allocations: 10.7 kB / 1.258 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.19, allocations: 2.25 kB / 1.258 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/1.19, allocations: 10.31 kB / 1.258 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006697/1.191, allocations: 155.7 kB / 1.258 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/1.191, allocations: 6.562 kB / 1.258 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007383/1.192, allocations: 67.16 kB / 1.259 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.683e-05/1.192, allocations: 24.62 kB / 1.259 GB, free: 232.5 MB / 0.9981 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.000418/1.192, allocations: 335.7 kB / 1.259 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/1.192, allocations: 83.11 kB / 1.259 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/1.193, allocations: 106.3 kB / 1.259 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/1.193, allocations: 15.5 kB / 1.259 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.193, allocations: 0 / 1.259 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00118/1.194, allocations: 1.092 MB / 1.26 GB, free: 231.4 MB / 0.9981 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.003165/1.197, allocations: 2.309 MB / 1.262 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/1.197, allocations: 1.188 kB / 1.262 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008142/1.198, allocations: 175.8 kB / 1.263 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.779e-06/1.198, allocations: 3.531 kB / 1.263 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-05/1.198, allocations: 18.53 kB / 1.263 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/1.198, allocations: 3.844 kB / 1.263 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.198, allocations: 0.6094 kB / 1.263 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/1.2, allocations: 1.354 MB / 1.264 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003897/1.2, allocations: 251.9 kB / 1.264 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/1.2, allocations: 13.58 kB / 1.264 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006285/1.201, allocations: 23.83 kB / 1.264 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/1.201, allocations: 46.42 kB / 1.264 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.457e-05/1.201, allocations: 31.83 kB / 1.264 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005983/1.202, allocations: 411.2 kB / 1.265 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.202, allocations: 2.219 kB / 1.265 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001127/1.203, allocations: 366.7 kB / 1.265 GB, free: 229.1 MB / 0.9981 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.002157/1.205, allocations: 1.974 MB / 1.267 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001788/1.207, allocations: 1.029 MB / 1.268 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.207, allocations: 1.25 kB / 1.268 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005439/1.207, allocations: 428.8 kB / 1.268 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/1.21, allocations: 0.5988 MB / 1.269 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008951/1.219, allocations: 7.48 MB / 1.276 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/1.22, allocations: 1.137 MB / 1.277 GB, free: 222.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009606/1.221, allocations: 278.6 kB / 1.278 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004122/1.221, allocations: 376.7 kB / 1.278 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/1.221, allocations: 3.391 kB / 1.278 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0419/1.263, allocations: 25.72 MB / 1.303 GB, free: 202.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.322/8.585, allocations: 0 / 1.303 GB, free: 202.3 MB / 0.9981 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