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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002049/0.002049, allocations: 112.5 kB / 15.73 MB, free: 76 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.002201/0.002201, allocations: 188.6 kB / 16.67 MB, free: 6.582 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.418/1.418, 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 12.0.0-master/package.mo): time 2.949/2.949, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 67.89 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2886, allocations: 162.2 MB / 1.241 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.7478/1.036, allocations: 204.2 MB / 1.441 GB, free: 10.76 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01003/1.046, allocations: 6.376 MB / 1.447 GB, free: 5.09 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000755/1.047, allocations: 39.81 kB / 1.447 GB, free: 5.051 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001711/1.049, allocations: 0.7342 MB / 1.448 GB, free: 4.312 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005707/1.055, allocations: 2.676 MB / 1.45 GB, free: 1.629 MB / 1.139 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001624/1.056, allocations: 0.7109 MB / 1.451 GB, free: 0.9219 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00394/1.06, allocations: 3.278 MB / 1.454 GB, free: 13.63 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/1.062, allocations: 1.143 MB / 1.455 GB, free: 12.47 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002359/1.064, allocations: 1.361 MB / 1.457 GB, free: 11.11 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/1.066, allocations: 1.081 MB / 1.458 GB, free: 10.03 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002014/1.066, allocations: 128 kB / 1.458 GB, free: 9.902 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00443/1.071, allocations: 2.35 MB / 1.46 GB, free: 7.547 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005764/1.072, allocations: 0.5143 MB / 1.461 GB, free: 7.031 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008835/1.072, allocations: 0.743 MB / 1.462 GB, free: 6.285 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004115/1.077, allocations: 2.809 MB / 1.464 GB, free: 3.469 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.077, allocations: 0 / 1.464 GB, free: 3.469 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.413e-06/1.077, allocations: 0 / 1.464 GB, free: 3.469 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.767e-05/1.077, allocations: 0 / 1.464 GB, free: 3.469 MB / 1.154 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.004198/1.081, allocations: 1.809 MB / 1.466 GB, free: 1.602 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/1.081, allocations: 8.031 kB / 1.466 GB, free: 1.594 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002166/1.081, allocations: 164.6 kB / 1.466 GB, free: 1.422 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002319/1.083, allocations: 354.9 kB / 1.467 GB, free: 1.074 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/1.085, allocations: 0.8785 MB / 1.467 GB, free: 156 kB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.819e-05/1.085, allocations: 74.02 kB / 1.467 GB, free: 80 kB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/1.085, allocations: 112 kB / 1.468 GB, free: 15.96 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/1.087, allocations: 1.187 MB / 1.469 GB, free: 14.75 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/1.087, allocations: 0 / 1.469 GB, free: 14.75 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/1.087, allocations: 47.92 kB / 1.469 GB, free: 14.7 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.102e-05/1.087, allocations: 58.06 kB / 1.469 GB, free: 14.64 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/1.089, allocations: 1.257 MB / 1.47 GB, free: 13.38 MB / 1.17 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.007105/1.097, allocations: 5.262 MB / 1.475 GB, free: 7.621 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/1.098, allocations: 1.154 MB / 1.476 GB, free: 6.387 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007856/1.099, allocations: 0.4981 MB / 1.477 GB, free: 5.883 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 6.809e-05/1.099, allocations: 24.78 kB / 1.477 GB, free: 5.859 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007937/1.1, allocations: 490.1 kB / 1.477 GB, free: 5.367 MB / 1.17 GB Notification: Performance of pre-optimization done (n=76): time 2.545e-06/1.1, allocations: 0 / 1.477 GB, free: 5.367 MB / 1.17 GB Notification: Performance of matching and sorting (n=76): time 0.002067/1.102, allocations: 1.157 MB / 1.478 GB, free: 4.203 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/1.102, allocations: 64.06 kB / 1.478 GB, free: 4.129 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007108/1.103, allocations: 0.5706 MB / 1.479 GB, free: 3.547 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.513e-05/1.103, allocations: 41.7 kB / 1.479 GB, free: 3.5 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/1.103, allocations: 476.5 kB / 1.48 GB, free: 3.027 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/1.104, allocations: 285.6 kB / 1.48 GB, free: 2.746 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/1.104, allocations: 130.6 kB / 1.48 GB, free: 2.613 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001939/1.104, allocations: 382.8 kB / 1.48 GB, free: 2.23 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005282/1.105, allocations: 333.8 kB / 1.481 GB, free: 1.902 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/1.105, allocations: 452.7 kB / 1.481 GB, free: 1.426 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/1.106, allocations: 0.8194 MB / 1.482 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.106, allocations: 0 / 1.482 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001491/1.108, allocations: 0.934 MB / 1.483 GB, free: 15.62 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/1.108, allocations: 8 kB / 1.483 GB, free: 15.61 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.108, allocations: 4 kB / 1.483 GB, free: 15.61 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/1.108, allocations: 16.2 kB / 1.483 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/1.109, allocations: 163.8 kB / 1.483 GB, free: 15.43 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/1.109, allocations: 4 kB / 1.483 GB, free: 15.43 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006778/1.109, allocations: 63.5 kB / 1.483 GB, free: 15.37 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/1.109, allocations: 28 kB / 1.483 GB, free: 15.34 MB / 1.186 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.0004497/1.11, allocations: 334.3 kB / 1.483 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/1.11, allocations: 79.53 kB / 1.483 GB, free: 14.93 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/1.11, allocations: 115.7 kB / 1.484 GB, free: 14.81 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/1.11, allocations: 12 kB / 1.484 GB, free: 14.8 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.11, allocations: 0 / 1.484 GB, free: 14.8 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001403/1.112, allocations: 1.086 MB / 1.485 GB, free: 13.62 MB / 1.186 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.003242/1.115, allocations: 2.31 MB / 1.487 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/1.115, allocations: 0 / 1.487 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008793/1.116, allocations: 175.8 kB / 1.487 GB, free: 11.06 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/1.116, allocations: 8.031 kB / 1.487 GB, free: 11.05 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/1.116, allocations: 19.98 kB / 1.487 GB, free: 11.04 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/1.116, allocations: 5.875 kB / 1.487 GB, free: 11.03 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.116, allocations: 0 / 1.487 GB, free: 11.03 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/1.118, allocations: 1.36 MB / 1.488 GB, free: 9.648 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/1.118, allocations: 248.5 kB / 1.489 GB, free: 9.387 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/1.118, allocations: 19.98 kB / 1.489 GB, free: 9.367 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006103/1.119, allocations: 24 kB / 1.489 GB, free: 9.344 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/1.119, allocations: 40.59 kB / 1.489 GB, free: 9.305 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.247e-05/1.119, allocations: 23.98 kB / 1.489 GB, free: 9.281 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005111/1.12, allocations: 415.1 kB / 1.489 GB, free: 8.879 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.51e-07/1.12, allocations: 0 / 1.489 GB, free: 8.879 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008303/1.121, allocations: 371.3 kB / 1.489 GB, free: 8.516 MB / 1.186 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.00245/1.123, allocations: 1.987 MB / 1.491 GB, free: 6.504 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001297/1.124, allocations: 0.7942 MB / 1.492 GB, free: 5.707 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.124, allocations: 0 / 1.492 GB, free: 5.707 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006033/1.125, allocations: 427.5 kB / 1.493 GB, free: 5.293 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/1.128, allocations: 0.593 MB / 1.493 GB, free: 4.723 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/1.138, allocations: 7.286 MB / 1.5 GB, free: 13.27 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008581/1.139, allocations: 1.136 MB / 1.501 GB, free: 12.11 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009382/1.14, allocations: 279.1 kB / 1.502 GB, free: 11.83 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005814/1.14, allocations: 379.3 kB / 1.502 GB, free: 11.46 MB / 1.201 GB Notification: Performance of SimCode: time 3.908e-06/1.14, allocations: 0 / 1.502 GB, free: 11.46 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06257/1.203, allocations: 25.93 MB / 1.527 GB, free: 1.836 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.184/10.39, allocations: 11 kB / 1.527 GB, free: 1.828 MB / 1.217 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 400 --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