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.001235/0.001235, allocations: 108 kB / 15.6 MB, free: 132 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.001246/0.001246, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.21/1.21, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.078/2.078, allocations: 390.3 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/0.502, allocations: 140.4 MB / 0.9497 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1788/0.6808, allocations: 204.2 MB / 1.149 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008275/0.6891, allocations: 6.367 MB / 1.155 GB, free: 14.54 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.6901, allocations: 39.81 kB / 1.155 GB, free: 14.5 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.6918, allocations: 0.7303 MB / 1.156 GB, free: 13.77 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005236/0.6971, allocations: 2.68 MB / 1.159 GB, free: 11.08 MB / 0.92 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.001447/0.6986, allocations: 0.6986 MB / 1.159 GB, free: 10.38 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003178/0.7017, allocations: 3.27 MB / 1.163 GB, free: 7.102 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.7031, allocations: 1.14 MB / 1.164 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.705, allocations: 1.246 MB / 1.165 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.7069, allocations: 1.095 MB / 1.166 GB, free: 3.602 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002657/0.7072, allocations: 135.9 kB / 1.166 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003514/0.7107, allocations: 2.362 MB / 1.168 GB, free: 1.102 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005638/0.7112, allocations: 0.5104 MB / 1.169 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.7123, allocations: 0.743 MB / 1.17 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003383/0.7157, allocations: 2.77 MB / 1.172 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7157, allocations: 7.938 kB / 1.172 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7157, allocations: 0 / 1.172 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.398e-05/0.7158, allocations: 0 / 1.172 GB, free: 13.06 MB / 0.9356 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.003881/0.7197, allocations: 1.765 MB / 1.174 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.7197, allocations: 15.97 kB / 1.174 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002119/0.7199, allocations: 160.6 kB / 1.174 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002116/0.7221, allocations: 346.1 kB / 1.175 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.7233, allocations: 0.8389 MB / 1.175 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-05/0.7233, allocations: 74.02 kB / 1.175 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.7235, allocations: 107.9 kB / 1.176 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.7252, allocations: 1.191 MB / 1.177 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.7252, allocations: 3.938 kB / 1.177 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.587e-05/0.7253, allocations: 47.98 kB / 1.177 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.058e-05/0.7254, allocations: 58.06 kB / 1.177 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.7271, allocations: 1.246 MB / 1.178 GB, free: 7.066 MB / 0.9356 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.005331/0.7324, allocations: 5.142 MB / 1.183 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.7337, allocations: 1.16 MB / 1.184 GB, free: 232 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006236/0.7344, allocations: 0.4973 MB / 1.185 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.997e-05/0.7344, allocations: 16.78 kB / 1.185 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006144/0.735, allocations: 492.1 kB / 1.185 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=76): time 2.194e-06/0.735, allocations: 0 / 1.185 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76): time 0.001676/0.7367, allocations: 1.161 MB / 1.186 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.7368, allocations: 60.06 kB / 1.186 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005482/0.7373, allocations: 0.5706 MB / 1.187 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.7374, allocations: 41.7 kB / 1.187 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.7376, allocations: 459.6 kB / 1.187 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.7378, allocations: 276.1 kB / 1.188 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.738, allocations: 130.6 kB / 1.188 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.7382, allocations: 390.8 kB / 1.188 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.7386, allocations: 333.8 kB / 1.188 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004819/0.7391, allocations: 440.8 kB / 1.189 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009743/0.7401, allocations: 0.8311 MB / 1.19 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.7401, allocations: 4 kB / 1.19 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001171/0.7412, allocations: 0.9298 MB / 1.191 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.7413, allocations: 8.062 kB / 1.191 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.7413, allocations: 11.92 kB / 1.191 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.7413, allocations: 4 kB / 1.191 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/0.7419, allocations: 151.8 kB / 1.191 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.7419, allocations: 4 kB / 1.191 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006342/0.7426, allocations: 63.28 kB / 1.191 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/0.7426, allocations: 31.98 kB / 1.191 GB, free: 9.223 MB / 0.9512 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.0003421/0.743, allocations: 331.5 kB / 1.191 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.7431, allocations: 91 kB / 1.191 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.7433, allocations: 107.7 kB / 1.191 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.7433, allocations: 8 kB / 1.191 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7433, allocations: 0 / 1.191 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001077/0.7444, allocations: 1.089 MB / 1.192 GB, free: 7.504 MB / 0.9512 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.002558/0.7469, allocations: 2.308 MB / 1.195 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.7469, allocations: 0 / 1.195 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007671/0.7477, allocations: 179.8 kB / 1.195 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.7477, allocations: 0 / 1.195 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.457e-05/0.7478, allocations: 16 kB / 1.195 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.7478, allocations: 4 kB / 1.195 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7478, allocations: 0 / 1.195 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.7493, allocations: 1.354 MB / 1.196 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002822/0.7496, allocations: 256 kB / 1.196 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.831e-05/0.7497, allocations: 16 kB / 1.196 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005606/0.7503, allocations: 19.98 kB / 1.196 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/0.7504, allocations: 44.59 kB / 1.197 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/0.7504, allocations: 27.98 kB / 1.197 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003778/0.7508, allocations: 407.1 kB / 1.197 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.223e-06/0.7508, allocations: 4 kB / 1.197 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007181/0.7515, allocations: 378.8 kB / 1.197 GB, free: 2.395 MB / 0.9512 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.001869/0.7534, allocations: 1.97 MB / 1.199 GB, free: 400 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.7549, allocations: 1.033 MB / 1.2 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.7549, allocations: 4.188 kB / 1.2 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004777/0.7554, allocations: 431.5 kB / 1.201 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.7577, allocations: 0.6017 MB / 1.201 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008113/0.7658, allocations: 7.471 MB / 1.209 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/0.7665, allocations: 1.14 MB / 1.21 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008863/0.7674, allocations: 275.1 kB / 1.21 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004551/0.7678, allocations: 371.3 kB / 1.21 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.7678, allocations: 4 kB / 1.21 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04247/0.8103, allocations: 25.73 MB / 1.235 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.981/7.791, allocations: 6.141 kB / 1.235 GB, free: 11.47 MB / 0.9981 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