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.004088/0.004088, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001028/0.001028, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.224/1.224, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.277/2.277, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 59.84 kB / 1.018 GB, free: 9.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6798/0.6811, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.188/0.8691, allocations: 204.2 MB / 1.366 GB, free: 6.871 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.009504/0.8787, allocations: 6.39 MB / 1.372 GB, free: 476 kB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.8799, allocations: 35.81 kB / 1.372 GB, free: 440 kB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.8816, allocations: 0.7578 MB / 1.373 GB, free: 15.67 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006151/0.8878, allocations: 2.758 MB / 1.375 GB, free: 12.9 MB / 1.107 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.001681/0.8895, allocations: 0.7239 MB / 1.376 GB, free: 12.18 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003728/0.8933, allocations: 3.268 MB / 1.379 GB, free: 8.898 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.8946, allocations: 1.14 MB / 1.38 GB, free: 7.738 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001984/0.8966, allocations: 1.295 MB / 1.382 GB, free: 6.441 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.8984, allocations: 1.109 MB / 1.383 GB, free: 5.336 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.8985, allocations: 128 kB / 1.383 GB, free: 5.211 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004109/0.9027, allocations: 2.354 MB / 1.385 GB, free: 2.852 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005081/0.9032, allocations: 0.5143 MB / 1.386 GB, free: 2.336 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007988/0.904, allocations: 0.7352 MB / 1.386 GB, free: 1.598 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004005/0.908, allocations: 2.813 MB / 1.389 GB, free: 14.78 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.908, allocations: 0 / 1.389 GB, free: 14.78 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.783e-06/0.908, allocations: 0 / 1.389 GB, free: 14.78 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.38e-05/0.9081, allocations: 0 / 1.389 GB, free: 14.78 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.003815/0.9119, allocations: 1.809 MB / 1.391 GB, free: 12.91 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.9119, allocations: 8.625 kB / 1.391 GB, free: 12.9 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/0.9121, allocations: 164.6 kB / 1.391 GB, free: 12.73 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/0.9142, allocations: 354.9 kB / 1.391 GB, free: 12.38 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.9156, allocations: 0.8708 MB / 1.392 GB, free: 11.47 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/0.9157, allocations: 85.92 kB / 1.392 GB, free: 11.38 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.9158, allocations: 111.9 kB / 1.392 GB, free: 11.27 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.9176, allocations: 1.191 MB / 1.393 GB, free: 10.05 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.9177, allocations: 8 kB / 1.393 GB, free: 10.04 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-05/0.9178, allocations: 36 kB / 1.393 GB, free: 10.01 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.888e-05/0.9178, allocations: 58.08 kB / 1.394 GB, free: 9.949 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.9196, allocations: 1.25 MB / 1.395 GB, free: 8.691 MB / 1.123 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.005925/0.9256, allocations: 5.119 MB / 1.4 GB, free: 3.113 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.9269, allocations: 1.15 MB / 1.401 GB, free: 1.879 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000664/0.9276, allocations: 0.505 MB / 1.401 GB, free: 1.371 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 6.097e-05/0.9277, allocations: 16.64 kB / 1.401 GB, free: 1.355 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006864/0.9284, allocations: 488.2 kB / 1.402 GB, free: 0.8633 MB / 1.123 GB Notification: Performance of pre-optimization done (n=76): time 3.026e-06/0.9284, allocations: 0 / 1.402 GB, free: 0.8633 MB / 1.123 GB Notification: Performance of matching and sorting (n=76): time 0.001838/0.9302, allocations: 1.161 MB / 1.403 GB, free: 15.7 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.9303, allocations: 64.06 kB / 1.403 GB, free: 15.62 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006879/0.931, allocations: 0.5706 MB / 1.404 GB, free: 15.05 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.06e-05/0.931, allocations: 41.7 kB / 1.404 GB, free: 15 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.9313, allocations: 476.7 kB / 1.404 GB, free: 14.53 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.9316, allocations: 281.6 kB / 1.404 GB, free: 14.25 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.9318, allocations: 130.6 kB / 1.405 GB, free: 14.11 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.9319, allocations: 382.8 kB / 1.405 GB, free: 13.73 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00046/0.9324, allocations: 333.8 kB / 1.405 GB, free: 13.41 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/0.9329, allocations: 448.8 kB / 1.406 GB, free: 12.93 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.934, allocations: 0.8233 MB / 1.406 GB, free: 12.07 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.934, allocations: 0 / 1.406 GB, free: 12.07 MB / 1.139 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001313/0.9353, allocations: 0.9339 MB / 1.407 GB, free: 11.13 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.9353, allocations: 11.94 kB / 1.407 GB, free: 11.12 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.9353, allocations: 4 kB / 1.407 GB, free: 11.12 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.9354, allocations: 4.344 kB / 1.407 GB, free: 11.11 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.936, allocations: 155.8 kB / 1.408 GB, free: 10.96 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.936, allocations: 7.938 kB / 1.408 GB, free: 10.95 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006952/0.9367, allocations: 71.44 kB / 1.408 GB, free: 10.88 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.554e-05/0.9368, allocations: 28 kB / 1.408 GB, free: 10.86 MB / 1.139 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.0004311/0.9372, allocations: 329.5 kB / 1.408 GB, free: 10.52 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.9374, allocations: 83.47 kB / 1.408 GB, free: 10.44 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.9376, allocations: 107.8 kB / 1.408 GB, free: 10.33 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.026e-06/0.9376, allocations: 12 kB / 1.408 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.9376, allocations: 0 / 1.408 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001139/0.9388, allocations: 1.089 MB / 1.409 GB, free: 9.145 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 postOpt removeSimpleEquations (simulation): time 0.003157/0.9419, allocations: 2.311 MB / 1.411 GB, free: 6.742 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.942, allocations: 0 / 1.411 GB, free: 6.742 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007869/0.9427, allocations: 171.8 kB / 1.412 GB, free: 6.574 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.9428, allocations: 8.031 kB / 1.412 GB, free: 6.566 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/0.9428, allocations: 19.98 kB / 1.412 GB, free: 6.547 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.9428, allocations: 4 kB / 1.412 GB, free: 6.543 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9429, allocations: 3.938 kB / 1.412 GB, free: 6.539 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.9446, allocations: 1.36 MB / 1.413 GB, free: 5.16 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004558/0.945, allocations: 256.4 kB / 1.413 GB, free: 4.891 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.9452, allocations: 16 kB / 1.413 GB, free: 4.875 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006231/0.9458, allocations: 25.11 kB / 1.413 GB, free: 4.852 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.9459, allocations: 40.59 kB / 1.413 GB, free: 4.809 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.988e-05/0.946, allocations: 31.92 kB / 1.413 GB, free: 4.777 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004569/0.9464, allocations: 415 kB / 1.414 GB, free: 4.375 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9464, allocations: 0 / 1.414 GB, free: 4.375 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008971/0.9473, allocations: 371.3 kB / 1.414 GB, free: 4.012 MB / 1.139 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.002107/0.9494, allocations: 1.977 MB / 1.416 GB, free: 2.004 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.9506, allocations: 0.798 MB / 1.417 GB, free: 1.207 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9506, allocations: 0 / 1.417 GB, free: 1.207 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005203/0.9511, allocations: 423.5 kB / 1.417 GB, free: 0.793 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/0.9536, allocations: 0.5968 MB / 1.418 GB, free: 208 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009236/0.9628, allocations: 7.281 MB / 1.425 GB, free: 8.758 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007404/0.9636, allocations: 1.136 MB / 1.426 GB, free: 7.598 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008718/0.9645, allocations: 275.2 kB / 1.426 GB, free: 7.324 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005106/0.965, allocations: 383.3 kB / 1.427 GB, free: 6.949 MB / 1.154 GB Notification: Performance of SimCode: time 2.144e-06/0.965, allocations: 0 / 1.427 GB, free: 6.949 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04901/1.014, allocations: 25.91 MB / 1.452 GB, free: 13.34 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.762/9.776, allocations: 12 kB / 1.452 GB, free: 13.32 MB / 1.186 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