Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ClosedDoors",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.007221/0.007221, allocations: 102.9 kB / 15.74 MB, free: 6.043 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.001665/0.001665, allocations: 202.5 kB / 16.68 MB, free: 5.965 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.747/2.747, allocations: 437.1 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3776, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 1.051/1.429, allocations: 218.5 MB / 1.38 GB, free: 14.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03174/1.461, allocations: 20.43 MB / 1.4 GB, free: 13.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004345/1.465, allocations: 58.78 kB / 1.4 GB, free: 13.8 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004462/1.47, allocations: 1.242 MB / 1.401 GB, free: 12.79 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01469/1.485, allocations: 4.084 MB / 1.405 GB, free: 9.641 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005192/1.49, allocations: 1.549 MB / 1.406 GB, free: 8.41 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01104/1.501, allocations: 6.971 MB / 1.413 GB, free: 4.379 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004364/1.505, allocations: 2.356 MB / 1.415 GB, free: 2.906 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005848/1.511, allocations: 2.365 MB / 1.418 GB, free: 1.59 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006064/1.517, allocations: 2.456 MB / 1.42 GB, free: 132 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0008959/1.518, allocations: 342.4 kB / 1.42 GB, free: 132 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0097/1.528, allocations: 3.463 MB / 1.424 GB, free: 12.94 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002574/1.53, allocations: 1.45 MB / 1.425 GB, free: 11.48 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0039/1.534, allocations: 1.867 MB / 1.427 GB, free: 9.609 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01309/1.547, allocations: 5.784 MB / 1.433 GB, free: 3.812 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/1.548, allocations: 3.984 kB / 1.433 GB, free: 3.809 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.455e-06/1.548, allocations: 0 / 1.433 GB, free: 3.809 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001558/1.548, allocations: 4 kB / 1.433 GB, free: 3.805 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.0118/1.56, allocations: 4.034 MB / 1.437 GB, free: 15.7 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/1.56, allocations: 12.02 kB / 1.437 GB, free: 15.69 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006057/1.56, allocations: 383.8 kB / 1.437 GB, free: 15.3 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005843/1.566, allocations: 0.8447 MB / 1.438 GB, free: 14.46 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004816/1.571, allocations: 1.946 MB / 1.44 GB, free: 12.46 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/1.571, allocations: 197.4 kB / 1.44 GB, free: 12.26 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005432/1.572, allocations: 275.9 kB / 1.44 GB, free: 11.99 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006466/1.578, allocations: 3.275 MB / 1.443 GB, free: 8.676 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.748e-05/1.578, allocations: 12 kB / 1.443 GB, free: 8.664 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002716/1.579, allocations: 108 kB / 1.443 GB, free: 8.559 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001534/1.579, allocations: 129.4 kB / 1.444 GB, free: 8.43 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008126/1.587, allocations: 4.623 MB / 1.448 GB, free: 3.793 MB / 1.107 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.01877/1.606, allocations: 10.94 MB / 1.459 GB, free: 8.18 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00698/1.613, allocations: 4.867 MB / 1.464 GB, free: 3.281 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004184/1.617, allocations: 2.528 MB / 1.466 GB, free: 0.75 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001283/1.618, allocations: 0.8642 MB / 1.467 GB, free: 15.72 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.881e-05/1.618, allocations: 77.7 kB / 1.467 GB, free: 15.63 MB / 1.139 GB Notification: Performance of pre-optimization done (n=399): time 5.921e-06/1.618, allocations: 0 / 1.467 GB, free: 15.63 MB / 1.139 GB Notification: Performance of matching and sorting (n=399): time 0.01088/1.629, allocations: 6.036 MB / 1.473 GB, free: 9.512 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/1.629, allocations: 90.55 kB / 1.473 GB, free: 9.41 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/1.631, allocations: 1.236 MB / 1.474 GB, free: 8.168 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002642/1.632, allocations: 93.7 kB / 1.474 GB, free: 8.07 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007347/1.632, allocations: 0.8307 MB / 1.475 GB, free: 7.23 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001474/1.634, allocations: 1.398 MB / 1.476 GB, free: 5.82 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000919/1.635, allocations: 0.5469 MB / 1.477 GB, free: 5.266 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.635, allocations: 301.1 kB / 1.477 GB, free: 4.969 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002682/1.638, allocations: 1.603 MB / 1.479 GB, free: 3.363 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002984/1.641, allocations: 1.913 MB / 1.481 GB, free: 1.406 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007141/1.648, allocations: 3.838 MB / 1.484 GB, free: 13.51 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.759e-06/1.648, allocations: 0 / 1.484 GB, free: 13.51 MB / 1.154 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007457/1.655, allocations: 4.204 MB / 1.489 GB, free: 9.281 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/1.655, allocations: 12.06 kB / 1.489 GB, free: 9.27 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/1.655, allocations: 4 kB / 1.489 GB, free: 9.266 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.675e-05/1.655, allocations: 16 kB / 1.489 GB, free: 9.25 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/1.658, allocations: 0.6826 MB / 1.489 GB, free: 8.566 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.915e-05/1.658, allocations: 16 kB / 1.489 GB, free: 8.551 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/1.661, allocations: 246.1 kB / 1.489 GB, free: 8.309 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002563/1.661, allocations: 120 kB / 1.49 GB, free: 8.191 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * 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.001514/1.663, allocations: 0.7273 MB / 1.49 GB, free: 7.453 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006661/1.663, allocations: 258.4 kB / 1.491 GB, free: 7.199 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008399/1.672, allocations: 4.632 MB / 1.495 GB, free: 2.523 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-05/1.672, allocations: 40 kB / 1.495 GB, free: 2.484 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.818e-05/1.672, allocations: 0 / 1.495 GB, free: 2.484 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006485/1.678, allocations: 3.958 MB / 1.499 GB, free: 14.46 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/1.693, allocations: 8.278 MB / 1.507 GB, free: 6.102 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/1.693, allocations: 0 / 1.507 GB, free: 6.102 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002961/1.696, allocations: 0.667 MB / 1.508 GB, free: 5.434 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005054/1.696, allocations: 134.5 kB / 1.508 GB, free: 5.293 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002461/1.697, allocations: 91.97 kB / 1.508 GB, free: 5.203 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004669/1.701, allocations: 5.035 MB / 1.513 GB, free: 15.75 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.701, allocations: 3.984 kB / 1.513 GB, free: 15.75 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01206/1.713, allocations: 6.837 MB / 1.52 GB, free: 8.852 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002005/1.716, allocations: 0.7719 MB / 1.52 GB, free: 8.059 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004283/1.716, allocations: 67.98 kB / 1.52 GB, free: 7.992 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/1.718, allocations: 85.09 kB / 1.52 GB, free: 7.914 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004743/1.718, allocations: 230.8 kB / 1.521 GB, free: 7.688 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002399/1.719, allocations: 116 kB / 1.521 GB, free: 7.574 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001403/1.72, allocations: 0.8606 MB / 1.522 GB, free: 6.711 MB / 1.186 GB Notification: Performance of sort global known variables: time 3.51e-07/1.72, allocations: 0 / 1.522 GB, free: 6.711 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003115/1.723, allocations: 1.073 MB / 1.523 GB, free: 5.637 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0118/1.735, allocations: 7.631 MB / 1.53 GB, free: 13.94 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006863/1.742, allocations: 4.063 MB / 1.534 GB, free: 9.863 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.742, allocations: 4 kB / 1.534 GB, free: 9.859 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.004017/1.746, allocations: 2.552 MB / 1.537 GB, free: 7.27 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005033/1.751, allocations: 1.071 MB / 1.538 GB, free: 6.211 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04173/1.793, allocations: 23.09 MB / 1.56 GB, free: 14.82 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001948/1.795, allocations: 1.935 MB / 1.562 GB, free: 12.84 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00374/1.798, allocations: 1.223 MB / 1.563 GB, free: 11.61 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001953/1.8, allocations: 1.089 MB / 1.564 GB, free: 10.52 MB / 1.232 GB Notification: Performance of SimCode: time 1.153e-06/1.8, allocations: 0 / 1.564 GB, free: 10.52 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1496/1.95, allocations: 66.72 MB / 1.629 GB, free: 8.492 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.19/18.14, allocations: 11.53 kB / 1.629 GB, free: 8.484 MB / 1.295 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_10_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches