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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007337/0.007337, allocations: 99.47 kB / 15.73 MB, free: 6.441 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.001719/0.001719, allocations: 199.7 kB / 16.67 MB, free: 6.352 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.637/2.637, allocations: 469.4 MB / 0.7421 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 64.09 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2768, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.7899/1.067, allocations: 204.2 MB / 1.419 GB, free: 5.41 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.009642/1.076, allocations: 6.365 MB / 1.425 GB, free: 224 kB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/1.078, allocations: 38 kB / 1.425 GB, free: 212 kB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001943/1.08, allocations: 0.7623 MB / 1.426 GB, free: 15.59 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006525/1.086, allocations: 2.769 MB / 1.429 GB, free: 13.49 MB / 1.123 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.001798/1.088, allocations: 0.7129 MB / 1.43 GB, free: 12.92 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003821/1.092, allocations: 3.282 MB / 1.433 GB, free: 11.05 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/1.094, allocations: 1.139 MB / 1.434 GB, free: 10.38 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/1.096, allocations: 1.287 MB / 1.435 GB, free: 9.488 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/1.098, allocations: 1.1 MB / 1.436 GB, free: 8.391 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003268/1.099, allocations: 128 kB / 1.436 GB, free: 8.266 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004498/1.103, allocations: 2.366 MB / 1.439 GB, free: 5.895 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006933/1.104, allocations: 0.5143 MB / 1.439 GB, free: 5.379 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001369/1.105, allocations: 0.7391 MB / 1.44 GB, free: 4.637 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004817/1.11, allocations: 2.803 MB / 1.443 GB, free: 1.828 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.11, allocations: 0 / 1.443 GB, free: 1.828 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.854e-06/1.11, allocations: 0 / 1.443 GB, free: 1.828 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.269e-05/1.11, allocations: 0 / 1.443 GB, free: 1.828 MB / 1.123 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.004577/1.115, allocations: 1.813 MB / 1.444 GB, free: 15.95 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.115, allocations: 8.031 kB / 1.444 GB, free: 15.95 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002862/1.115, allocations: 168.5 kB / 1.444 GB, free: 15.77 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002297/1.118, allocations: 350.9 kB / 1.445 GB, free: 15.43 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/1.119, allocations: 0.8863 MB / 1.446 GB, free: 14.5 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/1.119, allocations: 74.02 kB / 1.446 GB, free: 14.42 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/1.119, allocations: 104 kB / 1.446 GB, free: 14.32 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/1.121, allocations: 1.183 MB / 1.447 GB, free: 13.11 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/1.121, allocations: 0 / 1.447 GB, free: 13.11 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/1.122, allocations: 40 kB / 1.447 GB, free: 13.07 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.49e-05/1.122, allocations: 62.06 kB / 1.447 GB, free: 13 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/1.123, allocations: 1.257 MB / 1.448 GB, free: 11.74 MB / 1.139 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.006307/1.13, allocations: 5.119 MB / 1.453 GB, free: 6.16 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/1.131, allocations: 1.155 MB / 1.454 GB, free: 4.922 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006865/1.132, allocations: 0.5051 MB / 1.455 GB, free: 4.418 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/1.132, allocations: 12.8 kB / 1.455 GB, free: 4.406 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006885/1.133, allocations: 489.1 kB / 1.455 GB, free: 3.914 MB / 1.139 GB Notification: Performance of pre-optimization done (n=76): time 2.905e-06/1.133, allocations: 0 / 1.455 GB, free: 3.914 MB / 1.139 GB Notification: Performance of matching and sorting (n=76): time 0.001856/1.135, allocations: 1.169 MB / 1.457 GB, free: 2.738 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/1.135, allocations: 60.06 kB / 1.457 GB, free: 2.668 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006527/1.135, allocations: 0.5744 MB / 1.457 GB, free: 2.086 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/1.135, allocations: 41.7 kB / 1.457 GB, free: 2.039 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/1.136, allocations: 468.6 kB / 1.458 GB, free: 1.574 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/1.136, allocations: 281.6 kB / 1.458 GB, free: 1.297 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/1.136, allocations: 126.6 kB / 1.458 GB, free: 1.164 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.136, allocations: 390.8 kB / 1.458 GB, free: 0.7734 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004488/1.137, allocations: 333.8 kB / 1.459 GB, free: 460 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005241/1.137, allocations: 444.7 kB / 1.459 GB, free: 15.98 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/1.138, allocations: 0.8271 MB / 1.46 GB, free: 15.12 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/1.138, allocations: 4 kB / 1.46 GB, free: 15.11 MB / 1.154 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001324/1.14, allocations: 0.9303 MB / 1.461 GB, free: 14.18 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.14, allocations: 9.938 kB / 1.461 GB, free: 14.17 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.14, allocations: 5.688 kB / 1.461 GB, free: 14.16 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/1.14, allocations: 11.92 kB / 1.461 GB, free: 14.15 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/1.14, allocations: 159.7 kB / 1.461 GB, free: 14 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/1.14, allocations: 4 kB / 1.461 GB, free: 13.99 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007364/1.141, allocations: 63.52 kB / 1.461 GB, free: 13.93 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/1.141, allocations: 24 kB / 1.461 GB, free: 13.91 MB / 1.154 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.0004228/1.142, allocations: 338.6 kB / 1.461 GB, free: 13.57 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/1.142, allocations: 95.52 kB / 1.462 GB, free: 13.47 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/1.142, allocations: 107.7 kB / 1.462 GB, free: 13.36 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/1.142, allocations: 8 kB / 1.462 GB, free: 13.36 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.142, allocations: 0 / 1.462 GB, free: 13.36 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001132/1.143, allocations: 1.089 MB / 1.463 GB, free: 12.18 MB / 1.154 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.002995/1.146, allocations: 2.307 MB / 1.465 GB, free: 9.777 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.146, allocations: 0 / 1.465 GB, free: 9.777 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008074/1.147, allocations: 176.3 kB / 1.465 GB, free: 9.605 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/1.147, allocations: 4 kB / 1.465 GB, free: 9.602 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/1.147, allocations: 23.94 kB / 1.465 GB, free: 9.578 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/1.147, allocations: 0 / 1.465 GB, free: 9.578 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.147, allocations: 9.062 kB / 1.465 GB, free: 9.57 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/1.149, allocations: 1.36 MB / 1.467 GB, free: 8.191 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000429/1.149, allocations: 256.4 kB / 1.467 GB, free: 7.922 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/1.149, allocations: 12 kB / 1.467 GB, free: 7.91 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006465/1.15, allocations: 26.05 kB / 1.467 GB, free: 7.887 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/1.15, allocations: 40.59 kB / 1.467 GB, free: 7.848 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/1.15, allocations: 28 kB / 1.467 GB, free: 7.82 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004324/1.151, allocations: 411 kB / 1.467 GB, free: 7.422 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.4e-07/1.151, allocations: 0 / 1.467 GB, free: 7.422 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008335/1.151, allocations: 371.3 kB / 1.468 GB, free: 7.059 MB / 1.154 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.002074/1.153, allocations: 1.984 MB / 1.47 GB, free: 5.047 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001119/1.155, allocations: 0.8019 MB / 1.47 GB, free: 4.242 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.155, allocations: 0 / 1.47 GB, free: 4.242 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005192/1.155, allocations: 424.2 kB / 1.471 GB, free: 3.832 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/1.158, allocations: 0.5978 MB / 1.471 GB, free: 3.246 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009218/1.167, allocations: 7.285 MB / 1.478 GB, free: 11.8 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/1.168, allocations: 1.147 MB / 1.48 GB, free: 10.62 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008416/1.168, allocations: 263.2 kB / 1.48 GB, free: 10.36 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005306/1.169, allocations: 383.3 kB / 1.48 GB, free: 9.988 MB / 1.17 GB Notification: Performance of SimCode: time 3.71e-07/1.169, allocations: 0 / 1.48 GB, free: 9.988 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05057/1.22, allocations: 25.91 MB / 1.505 GB, free: 384 kB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.458/9.677, allocations: 16.2 kB / 1.506 GB, free: 372 kB / 1.186 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