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.005662/0.005662, allocations: 107.5 kB / 15.74 MB, free: 6.02 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.001146/0.001146, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.32/2.32, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 71.89 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.082, allocations: 140.4 MB / 1.087 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2554/1.337, allocations: 204.2 MB / 1.287 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01109/1.348, allocations: 6.374 MB / 1.293 GB, free: 11.28 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/1.35, allocations: 35.81 kB / 1.293 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002084/1.352, allocations: 0.7655 MB / 1.294 GB, free: 10.47 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007137/1.36, allocations: 2.762 MB / 1.297 GB, free: 7.699 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.001952/1.362, allocations: 0.7087 MB / 1.297 GB, free: 6.992 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00437/1.366, allocations: 3.286 MB / 1.3 GB, free: 3.691 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/1.368, allocations: 1.144 MB / 1.302 GB, free: 2.527 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002657/1.37, allocations: 1.293 MB / 1.303 GB, free: 1.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/1.372, allocations: 1.087 MB / 1.304 GB, free: 152 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001703/1.372, allocations: 128 kB / 1.304 GB, free: 24 kB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00491/1.377, allocations: 2.366 MB / 1.306 GB, free: 13.65 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006281/1.378, allocations: 0.5182 MB / 1.307 GB, free: 13.13 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001056/1.379, allocations: 0.7352 MB / 1.308 GB, free: 12.39 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005271/1.384, allocations: 2.803 MB / 1.31 GB, free: 9.586 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.384, allocations: 7.922 kB / 1.31 GB, free: 9.578 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.327e-06/1.384, allocations: 3.938 kB / 1.31 GB, free: 9.574 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.518e-05/1.384, allocations: 3.938 kB / 1.31 GB, free: 9.57 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.004214/1.389, allocations: 1.805 MB / 1.312 GB, free: 7.707 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.456e-05/1.389, allocations: 8.031 kB / 1.312 GB, free: 7.699 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001968/1.389, allocations: 160.6 kB / 1.312 GB, free: 7.531 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/1.391, allocations: 358.9 kB / 1.313 GB, free: 7.18 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/1.393, allocations: 0.8785 MB / 1.313 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.82e-05/1.393, allocations: 82 kB / 1.313 GB, free: 6.176 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/1.393, allocations: 100 kB / 1.314 GB, free: 6.078 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/1.395, allocations: 1.195 MB / 1.315 GB, free: 4.852 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/1.395, allocations: 0 / 1.315 GB, free: 4.852 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/1.395, allocations: 43.94 kB / 1.315 GB, free: 4.809 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.421e-05/1.395, allocations: 58.08 kB / 1.315 GB, free: 4.75 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/1.397, allocations: 1.246 MB / 1.316 GB, free: 3.496 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.006454/1.403, allocations: 5.112 MB / 1.321 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/1.405, allocations: 1.183 MB / 1.322 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006936/1.406, allocations: 0.4949 MB / 1.323 GB, free: 12.17 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.498e-05/1.406, allocations: 20.64 kB / 1.323 GB, free: 12.15 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007193/1.406, allocations: 488.1 kB / 1.323 GB, free: 11.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=76): time 4.208e-06/1.406, allocations: 0 / 1.323 GB, free: 11.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.001984/1.408, allocations: 1.157 MB / 1.324 GB, free: 10.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/1.408, allocations: 60.06 kB / 1.324 GB, free: 10.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007305/1.409, allocations: 0.5744 MB / 1.325 GB, free: 9.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/1.409, allocations: 41.7 kB / 1.325 GB, free: 9.793 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/1.41, allocations: 464.7 kB / 1.325 GB, free: 9.332 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/1.41, allocations: 289.6 kB / 1.326 GB, free: 9.047 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/1.41, allocations: 130.6 kB / 1.326 GB, free: 8.914 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.41, allocations: 382.8 kB / 1.326 GB, free: 8.531 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004665/1.411, allocations: 341.8 kB / 1.327 GB, free: 8.195 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005322/1.411, allocations: 444.8 kB / 1.327 GB, free: 7.719 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/1.412, allocations: 0.8194 MB / 1.328 GB, free: 6.867 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.412, allocations: 3.938 kB / 1.328 GB, free: 6.863 MB / 1.061 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001335/1.414, allocations: 0.9339 MB / 1.329 GB, free: 5.922 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.414, allocations: 12.28 kB / 1.329 GB, free: 5.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.414, allocations: 8 kB / 1.329 GB, free: 5.902 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/1.414, allocations: 4 kB / 1.329 GB, free: 5.898 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006808/1.414, allocations: 155.8 kB / 1.329 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/1.414, allocations: 4 kB / 1.329 GB, free: 5.742 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007434/1.415, allocations: 67.44 kB / 1.329 GB, free: 5.676 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.993e-05/1.415, allocations: 28 kB / 1.329 GB, free: 5.648 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.0005007/1.416, allocations: 333.5 kB / 1.329 GB, free: 5.312 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/1.416, allocations: 87.42 kB / 1.329 GB, free: 5.227 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/1.416, allocations: 115.8 kB / 1.329 GB, free: 5.105 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/1.416, allocations: 8 kB / 1.329 GB, free: 5.098 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.416, allocations: 0 / 1.329 GB, free: 5.098 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/1.417, allocations: 1.085 MB / 1.33 GB, free: 3.926 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.003131/1.42, allocations: 2.307 MB / 1.333 GB, free: 1.523 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/1.42, allocations: 0 / 1.333 GB, free: 1.523 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008216/1.421, allocations: 179.8 kB / 1.333 GB, free: 1.348 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/1.421, allocations: 4 kB / 1.333 GB, free: 1.344 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.757e-05/1.421, allocations: 15.98 kB / 1.333 GB, free: 1.328 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/1.421, allocations: 4 kB / 1.333 GB, free: 1.324 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.421, allocations: 0 / 1.333 GB, free: 1.324 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/1.423, allocations: 1.363 MB / 1.334 GB, free: 15.94 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/1.424, allocations: 252.5 kB / 1.335 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/1.424, allocations: 16 kB / 1.335 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006025/1.424, allocations: 20.11 kB / 1.335 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.291e-05/1.424, allocations: 48.59 kB / 1.335 GB, free: 15.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.333e-05/1.424, allocations: 27.92 kB / 1.335 GB, free: 15.56 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004867/1.425, allocations: 411.1 kB / 1.335 GB, free: 15.17 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.21e-07/1.425, allocations: 0 / 1.335 GB, free: 15.17 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000959/1.426, allocations: 371.3 kB / 1.335 GB, free: 14.8 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.002181/1.428, allocations: 1.989 MB / 1.337 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001207/1.429, allocations: 0.7942 MB / 1.338 GB, free: 11.99 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.429, allocations: 3.938 kB / 1.338 GB, free: 11.99 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005196/1.43, allocations: 423.6 kB / 1.338 GB, free: 11.57 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/1.432, allocations: 0.5946 MB / 1.339 GB, free: 10.99 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009112/1.442, allocations: 7.285 MB / 1.346 GB, free: 3.551 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006924/1.442, allocations: 1.139 MB / 1.347 GB, free: 2.383 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009367/1.443, allocations: 283.1 kB / 1.348 GB, free: 2.102 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005154/1.444, allocations: 379.3 kB / 1.348 GB, free: 1.734 MB / 1.076 GB Notification: Performance of SimCode: time 1.032e-06/1.444, allocations: 0 / 1.348 GB, free: 1.734 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05188/1.496, allocations: 25.9 MB / 1.373 GB, free: 8.156 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.202/10.7, allocations: 8.125 kB / 1.373 GB, free: 8.148 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