Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_10_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.004986/0.004986, allocations: 97.58 kB / 15.73 MB, free: 6.055 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.001111/0.001111, allocations: 201.5 kB / 16.68 MB, free: 5.977 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.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.477/2.477, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 68.03 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2819, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.7439/1.026, allocations: 188.4 MB / 1.35 GB, free: 4.359 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00929/1.035, allocations: 6.09 MB / 1.356 GB, free: 44 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009635/1.036, allocations: 40.69 kB / 1.356 GB, free: 28 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/1.037, allocations: 0.5239 MB / 1.357 GB, free: 15.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004007/1.042, allocations: 1.967 MB / 1.359 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002027/1.044, allocations: 0.961 MB / 1.36 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00262/1.046, allocations: 2.486 MB / 1.362 GB, free: 12.99 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008806/1.047, allocations: 0.767 MB / 1.363 GB, free: 12.64 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/1.048, allocations: 0.8986 MB / 1.364 GB, free: 12.23 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/1.05, allocations: 0.7764 MB / 1.364 GB, free: 11.9 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001281/1.05, allocations: 88.88 kB / 1.364 GB, free: 11.9 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/1.052, allocations: 1.599 MB / 1.366 GB, free: 11.26 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003537/1.053, allocations: 372.2 kB / 1.366 GB, free: 11.1 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005577/1.053, allocations: 0.5448 MB / 1.367 GB, free: 10.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002331/1.056, allocations: 1.931 MB / 1.369 GB, free: 9.539 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/1.056, allocations: 0 / 1.369 GB, free: 9.539 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.232e-06/1.056, allocations: 0 / 1.369 GB, free: 9.539 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.192e-05/1.056, allocations: 0 / 1.369 GB, free: 9.539 MB / 1.045 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.002/1.058, allocations: 1.417 MB / 1.37 GB, free: 8.438 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/1.058, allocations: 10.56 kB / 1.37 GB, free: 8.438 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/1.058, allocations: 114.3 kB / 1.37 GB, free: 8.34 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/1.06, allocations: 323.8 kB / 1.371 GB, free: 8.191 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/1.061, allocations: 0.7778 MB / 1.371 GB, free: 7.578 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/1.061, allocations: 60.52 kB / 1.371 GB, free: 7.547 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/1.061, allocations: 64.28 kB / 1.371 GB, free: 7.527 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/1.062, allocations: 0.7904 MB / 1.372 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/1.062, allocations: 2.812 kB / 1.372 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/1.062, allocations: 25.91 kB / 1.372 GB, free: 7.027 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.442e-05/1.062, allocations: 37.11 kB / 1.372 GB, free: 7.016 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/1.063, allocations: 0.6369 MB / 1.373 GB, free: 6.707 MB / 1.045 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.003536/1.067, allocations: 3.364 MB / 1.376 GB, free: 3.703 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007931/1.068, allocations: 0.4938 MB / 1.377 GB, free: 3.445 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004232/1.068, allocations: 302.8 kB / 1.377 GB, free: 3.289 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005687/1.069, allocations: 0.6769 MB / 1.378 GB, free: 2.512 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/1.069, allocations: 40.69 kB / 1.378 GB, free: 2.469 MB / 1.045 GB Notification: Performance of pre-optimization done (n=51): time 1.593e-06/1.069, allocations: 0 / 1.378 GB, free: 2.469 MB / 1.045 GB Notification: Performance of matching and sorting (n=51): time 0.001478/1.07, allocations: 0.7754 MB / 1.378 GB, free: 2.074 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/1.07, allocations: 61.31 kB / 1.378 GB, free: 2.008 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005943/1.071, allocations: 0.589 MB / 1.379 GB, free: 1.664 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/1.071, allocations: 39.05 kB / 1.379 GB, free: 1.625 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/1.071, allocations: 394.1 kB / 1.379 GB, free: 1.277 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/1.071, allocations: 191.4 kB / 1.38 GB, free: 1.109 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/1.072, allocations: 103.9 kB / 1.38 GB, free: 1.043 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.072, allocations: 378.5 kB / 1.38 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/1.072, allocations: 213.3 kB / 1.38 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/1.073, allocations: 276.3 kB / 1.381 GB, free: 412 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007915/1.073, allocations: 0.5088 MB / 1.381 GB, free: 112 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.073, allocations: 0 / 1.381 GB, free: 112 kB / 1.045 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000982/1.074, allocations: 0.6244 MB / 1.382 GB, free: 15.78 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/1.074, allocations: 7.375 kB / 1.382 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.074, allocations: 0 / 1.382 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/1.074, allocations: 5.25 kB / 1.382 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/1.075, allocations: 129.3 kB / 1.382 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/1.075, allocations: 9.859 kB / 1.382 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005829/1.076, allocations: 47.84 kB / 1.382 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/1.076, allocations: 17 kB / 1.382 GB, free: 15.71 MB / 1.061 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.0002771/1.076, allocations: 261.9 kB / 1.382 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/1.076, allocations: 76.91 kB / 1.382 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/1.077, allocations: 0.5961 MB / 1.383 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.077, allocations: 9.219 kB / 1.383 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/1.077, allocations: 10.95 kB / 1.383 GB, free: 15.1 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008858/1.078, allocations: 0.8042 MB / 1.384 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/1.08, allocations: 1.553 MB / 1.385 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.08, allocations: 10.28 kB / 1.385 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007093/1.081, allocations: 151.6 kB / 1.385 GB, free: 13.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/1.081, allocations: 6.062 kB / 1.385 GB, free: 13.31 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/1.081, allocations: 10.75 kB / 1.385 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/1.081, allocations: 4.875 kB / 1.385 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.081, allocations: 4 kB / 1.385 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/1.082, allocations: 0.9477 MB / 1.386 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/1.082, allocations: 224.7 kB / 1.386 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.043e-05/1.083, allocations: 12.66 kB / 1.386 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005215/1.083, allocations: 26.52 kB / 1.386 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.766e-05/1.083, allocations: 35.92 kB / 1.386 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/1.083, allocations: 16.19 kB / 1.386 GB, free: 12.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004258/1.084, allocations: 426 kB / 1.387 GB, free: 12.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.21e-07/1.084, allocations: 0 / 1.387 GB, free: 12.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006363/1.084, allocations: 284.8 kB / 1.387 GB, free: 12.19 MB / 1.061 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.001904/1.086, allocations: 1.607 MB / 1.389 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008644/1.087, allocations: 0.507 MB / 1.389 GB, free: 10.8 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.087, allocations: 0 / 1.389 GB, free: 10.8 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000415/1.087, allocations: 276.5 kB / 1.39 GB, free: 10.67 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/1.089, allocations: 483.1 kB / 1.39 GB, free: 10.43 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007137/1.097, allocations: 5.999 MB / 1.396 GB, free: 6.574 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/1.097, allocations: 1.019 MB / 1.397 GB, free: 5.727 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005457/1.098, allocations: 180.1 kB / 1.397 GB, free: 5.645 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/1.098, allocations: 310.2 kB / 1.397 GB, free: 5.391 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/1.098, allocations: 4 kB / 1.397 GB, free: 5.387 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04083/1.139, allocations: 21.97 MB / 1.419 GB, free: 1.648 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/9.34, allocations: 17.64 kB / 1.419 GB, free: 1.633 MB / 1.076 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches