Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",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.001583/0.001583, allocations: 108 kB / 15.61 MB, free: 152 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.001392/0.001392, allocations: 193.2 kB / 16.53 MB, free: 6.664 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.753/1.753, allocations: 222.9 MB / 240.2 MB, free: 4.379 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 5.208/5.208, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.89 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5948/0.596, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.1805/0.7765, allocations: 188.4 MB / 1.134 GB, free: 4.742 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008655/0.7852, allocations: 6.085 MB / 1.14 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.7863, allocations: 35.81 kB / 1.14 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.7876, allocations: 0.5165 MB / 1.14 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003957/0.7915, allocations: 1.894 MB / 1.142 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.7936, allocations: 0.9475 MB / 1.143 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002529/0.7961, allocations: 2.483 MB / 1.145 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000852/0.797, allocations: 0.772 MB / 1.146 GB, free: 7.965 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.7982, allocations: 0.8522 MB / 1.147 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.7995, allocations: 0.7858 MB / 1.148 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.7996, allocations: 88 kB / 1.148 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.8024, allocations: 1.59 MB / 1.149 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003226/0.8028, allocations: 363 kB / 1.15 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005062/0.8033, allocations: 0.5522 MB / 1.15 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002349/0.8056, allocations: 1.897 MB / 1.152 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.8056, allocations: 0 / 1.152 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.82e-07/0.8057, allocations: 0 / 1.152 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.8057, allocations: 0 / 1.152 GB, free: 1.836 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001943/0.8076, allocations: 1.378 MB / 1.153 GB, free: 412 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.8077, allocations: 8.031 kB / 1.153 GB, free: 404 kB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/0.8078, allocations: 110.5 kB / 1.154 GB, free: 284 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/0.8098, allocations: 334.3 kB / 1.154 GB, free: 15.95 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009762/0.8107, allocations: 0.7339 MB / 1.155 GB, free: 15.17 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.8108, allocations: 49.31 kB / 1.155 GB, free: 15.12 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.8109, allocations: 75.91 kB / 1.155 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.8121, allocations: 0.79 MB / 1.156 GB, free: 14.24 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.8121, allocations: 0 / 1.156 GB, free: 14.24 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.263e-05/0.8122, allocations: 28 kB / 1.156 GB, free: 14.21 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/0.8122, allocations: 33.3 kB / 1.156 GB, free: 14.18 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.8133, allocations: 0.6375 MB / 1.156 GB, free: 13.54 MB / 0.92 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.00346/0.8168, allocations: 3.386 MB / 1.159 GB, free: 9.859 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007975/0.8176, allocations: 0.4966 MB / 1.16 GB, free: 9.355 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004274/0.818, allocations: 290 kB / 1.16 GB, free: 9.07 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00055/0.8186, allocations: 0.677 MB / 1.161 GB, free: 8.246 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.8186, allocations: 39 kB / 1.161 GB, free: 8.195 MB / 0.92 GB Notification: Performance of pre-optimization done (n=51): time 1.773e-06/0.8186, allocations: 0 / 1.161 GB, free: 8.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=51): time 0.001526/0.8201, allocations: 0.7715 MB / 1.162 GB, free: 7.422 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.8202, allocations: 63.78 kB / 1.162 GB, free: 7.348 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005985/0.8208, allocations: 0.5902 MB / 1.162 GB, free: 6.746 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.8209, allocations: 37.7 kB / 1.162 GB, free: 6.703 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.8211, allocations: 388.2 kB / 1.163 GB, free: 6.32 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.8213, allocations: 181.3 kB / 1.163 GB, free: 6.141 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.8214, allocations: 94.25 kB / 1.163 GB, free: 6.043 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.8216, allocations: 378.8 kB / 1.163 GB, free: 5.664 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.8219, allocations: 209 kB / 1.164 GB, free: 5.461 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/0.8224, allocations: 283.2 kB / 1.164 GB, free: 5.164 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007908/0.8232, allocations: 0.5075 MB / 1.164 GB, free: 4.637 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8232, allocations: 0 / 1.164 GB, free: 4.637 MB / 0.92 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009952/0.8242, allocations: 0.6269 MB / 1.165 GB, free: 4.004 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.8242, allocations: 4 kB / 1.165 GB, free: 4 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.8242, allocations: 0 / 1.165 GB, free: 4 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.8242, allocations: 4 kB / 1.165 GB, free: 3.996 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005654/0.8248, allocations: 135.7 kB / 1.165 GB, free: 3.863 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.8248, allocations: 12.14 kB / 1.165 GB, free: 3.852 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006191/0.8254, allocations: 43.61 kB / 1.165 GB, free: 3.809 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.8255, allocations: 16 kB / 1.165 GB, free: 3.793 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0002939/0.8258, allocations: 254.4 kB / 1.165 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.8259, allocations: 79.06 kB / 1.165 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.8269, allocations: 0.597 MB / 1.166 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.827, allocations: 11.94 kB / 1.166 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.827, allocations: 4 kB / 1.166 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000905/0.8279, allocations: 0.8106 MB / 1.167 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.8299, allocations: 1.55 MB / 1.168 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8299, allocations: 7.938 kB / 1.168 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000724/0.8307, allocations: 155.8 kB / 1.169 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.8307, allocations: 4 kB / 1.169 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/0.8307, allocations: 15.98 kB / 1.169 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.8307, allocations: 8.094 kB / 1.169 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.8307, allocations: 0 / 1.169 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.8321, allocations: 0.9549 MB / 1.169 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.8324, allocations: 216 kB / 1.17 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.236e-05/0.8325, allocations: 12 kB / 1.17 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005438/0.833, allocations: 27.92 kB / 1.17 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.8331, allocations: 32.39 kB / 1.17 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.8331, allocations: 19.98 kB / 1.17 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004269/0.8336, allocations: 427 kB / 1.17 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8336, allocations: 4 kB / 1.17 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006917/0.8343, allocations: 263.4 kB / 1.17 GB, free: 14.16 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,cra.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * 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.001918/0.8362, allocations: 1.594 MB / 1.172 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.8373, allocations: 0.5756 MB / 1.173 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.8373, allocations: 0 / 1.173 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.8377, allocations: 278.6 kB / 1.173 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.8397, allocations: 497.9 kB / 1.173 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007328/0.8471, allocations: 6.15 MB / 1.179 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.8476, allocations: 1.024 MB / 1.18 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0006855/0.8483, allocations: 178.1 kB / 1.18 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003821/0.8487, allocations: 307.3 kB / 1.181 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of SimCode: time 2.465e-06/0.8487, allocations: 0 / 1.181 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0438/0.8925, allocations: 21.82 MB / 1.202 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.771, allocations: 4.062 kB / 1.202 GB, free: 13.92 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_9_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches