Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_latest_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.001231/0.001231, 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.001259/0.001259, allocations: 192.1 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.185/1.185, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.377/2.377, allocations: 469.4 MB / 0.742 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 69.31 kB / 0.9082 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2333, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.1686/0.4019, allocations: 188.4 MB / 1.248 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4334/0.8354, allocations: 6.074 MB / 1.254 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.8365, allocations: 36.56 kB / 1.254 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.8377, allocations: 0.5141 MB / 1.254 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003515/0.8412, allocations: 1.89 MB / 1.256 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.8431, allocations: 0.9475 MB / 1.257 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002329/0.8454, allocations: 2.491 MB / 1.259 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007974/0.8462, allocations: 0.7633 MB / 1.26 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009972/0.8472, allocations: 0.8623 MB / 1.261 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.8484, allocations: 0.7774 MB / 1.262 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.8485, allocations: 90.78 kB / 1.262 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.851, allocations: 1.584 MB / 1.263 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003597/0.8513, allocations: 369.8 kB / 1.264 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005159/0.8519, allocations: 0.5499 MB / 1.264 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002325/0.8542, allocations: 1.902 MB / 1.266 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8542, allocations: 0.8438 kB / 1.266 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8542, allocations: 0.7812 kB / 1.266 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.8542, allocations: 0 / 1.266 GB, free: 4.402 MB / 0.9981 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.002068/0.8563, allocations: 1.374 MB / 1.267 GB, free: 19.65 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.8563, allocations: 12.25 kB / 1.267 GB, free: 19.65 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/0.8565, allocations: 113.8 kB / 1.268 GB, free: 19.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001861/0.8583, allocations: 314.2 kB / 1.268 GB, free: 19.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009873/0.8593, allocations: 0.7466 MB / 1.269 GB, free: 19.24 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.8594, allocations: 51.31 kB / 1.269 GB, free: 19.24 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.124e-05/0.8595, allocations: 71.09 kB / 1.269 GB, free: 19.24 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.8607, allocations: 0.7883 MB / 1.269 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.8607, allocations: 4.594 kB / 1.269 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.075e-05/0.8608, allocations: 27.16 kB / 1.269 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.492e-05/0.8609, allocations: 28.8 kB / 1.269 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.862, allocations: 0.636 MB / 1.27 GB, free: 19.14 MB / 1.014 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.003715/0.8658, allocations: 3.385 MB / 1.273 GB, free: 17.26 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008111/0.8666, allocations: 0.5003 MB / 1.274 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004312/0.867, allocations: 288.2 kB / 1.274 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005715/0.8676, allocations: 0.6779 MB / 1.275 GB, free: 16.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.8676, allocations: 39.91 kB / 1.275 GB, free: 16.44 MB / 1.014 GB Notification: Performance of pre-optimization done (n=51): time 2.053e-06/0.8677, allocations: 0 / 1.275 GB, free: 16.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=51): time 0.001578/0.8692, allocations: 0.7753 MB / 1.276 GB, free: 16.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.8693, allocations: 59.3 kB / 1.276 GB, free: 16.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007522/0.87, allocations: 0.5964 MB / 1.276 GB, free: 16.17 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.8701, allocations: 37.73 kB / 1.276 GB, free: 16.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.8703, allocations: 389.2 kB / 1.277 GB, free: 15.97 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.8705, allocations: 178.1 kB / 1.277 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.8706, allocations: 96.86 kB / 1.277 GB, free: 15.84 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.8708, allocations: 382 kB / 1.277 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.8712, allocations: 209.9 kB / 1.278 GB, free: 15.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.8717, allocations: 277.2 kB / 1.278 GB, free: 15.47 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000748/0.8724, allocations: 0.5092 MB / 1.278 GB, free: 15.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.8724, allocations: 1 kB / 1.278 GB, free: 15.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009495/0.8734, allocations: 0.6212 MB / 1.279 GB, free: 15.33 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.8734, allocations: 5.906 kB / 1.279 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.8734, allocations: 2.797 kB / 1.279 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.8734, allocations: 7.688 kB / 1.279 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/0.874, allocations: 132.3 kB / 1.279 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.874, allocations: 4.828 kB / 1.279 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000642/0.8746, allocations: 53.34 kB / 1.279 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.8747, allocations: 16.94 kB / 1.279 GB, free: 15.3 MB / 1.014 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.0003132/0.875, allocations: 253.5 kB / 1.279 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.8751, allocations: 73.09 kB / 1.279 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.8761, allocations: 0.6044 MB / 1.28 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.8762, allocations: 4.438 kB / 1.28 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.8762, allocations: 1.062 kB / 1.28 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008854/0.8771, allocations: 0.8093 MB / 1.281 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.8792, allocations: 1.558 MB / 1.282 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.8792, allocations: 1.438 kB / 1.282 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007054/0.8799, allocations: 151.8 kB / 1.282 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.8799, allocations: 4.141 kB / 1.282 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.88, allocations: 18.06 kB / 1.282 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.88, allocations: 6.5 kB / 1.282 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.88, allocations: 3.078 kB / 1.282 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.8813, allocations: 0.9512 MB / 1.283 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.8816, allocations: 214.9 kB / 1.284 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.02e-05/0.8817, allocations: 11.81 kB / 1.284 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005307/0.8822, allocations: 25.22 kB / 1.284 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.156e-05/0.8823, allocations: 33.05 kB / 1.284 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.8823, allocations: 22.59 kB / 1.284 GB, free: 13.95 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004416/0.8828, allocations: 424.7 kB / 1.284 GB, free: 13.86 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.8828, allocations: 0.8438 kB / 1.284 GB, free: 13.86 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006972/0.8835, allocations: 276.5 kB / 1.284 GB, free: 13.82 MB / 1.014 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.001758/0.8853, allocations: 1.6 MB / 1.286 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.8863, allocations: 0.5804 MB / 1.287 GB, free: 13.06 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.8863, allocations: 2.156 kB / 1.287 GB, free: 13.06 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003754/0.8867, allocations: 273.4 kB / 1.287 GB, free: 13.05 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.8885, allocations: 495.7 kB / 1.287 GB, free: 12.99 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007085/0.8956, allocations: 6.154 MB / 1.293 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.8962, allocations: 1.025 MB / 1.294 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007224/0.8969, allocations: 181.5 kB / 1.294 GB, free: 9.992 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/0.8972, allocations: 306.3 kB / 1.295 GB, free: 9.984 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/0.8972, allocations: 0 / 1.295 GB, free: 9.984 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.067/2.964, allocations: 21.83 MB / 1.316 GB, free: 7.867 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.541/12.51, allocations: 6.688 kB / 1.316 GB, free: 7.863 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches