Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_11_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.004529/0.004529, allocations: 97.17 kB / 15.73 MB, free: 6.047 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.001214/0.001215, allocations: 196.2 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.645/2.645, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 67.91 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3062, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.8114/1.118, allocations: 218.5 MB / 1.434 GB, free: 9.367 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02879/1.146, allocations: 20.44 MB / 1.453 GB, free: 6.547 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002622/1.149, allocations: 59.69 kB / 1.454 GB, free: 6.488 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00347/1.153, allocations: 1.239 MB / 1.455 GB, free: 5.242 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01138/1.164, allocations: 4.087 MB / 1.459 GB, free: 1.141 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004556/1.169, allocations: 1.549 MB / 1.46 GB, free: 15.6 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.009765/1.178, allocations: 6.951 MB / 1.467 GB, free: 8.621 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003799/1.182, allocations: 2.355 MB / 1.469 GB, free: 6.223 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004688/1.187, allocations: 2.375 MB / 1.472 GB, free: 3.84 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004754/1.192, allocations: 2.444 MB / 1.474 GB, free: 1.398 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0008527/1.193, allocations: 344 kB / 1.474 GB, free: 1.062 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007404/1.2, allocations: 3.469 MB / 1.478 GB, free: 13.59 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.00183/1.202, allocations: 1.446 MB / 1.479 GB, free: 12.14 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002744/1.205, allocations: 1.871 MB / 1.481 GB, free: 10.26 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.008972/1.214, allocations: 5.782 MB / 1.487 GB, free: 4.461 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.214, allocations: 0 / 1.487 GB, free: 4.461 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.523e-06/1.214, allocations: 4 kB / 1.487 GB, free: 4.457 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.262e-05/1.214, allocations: 0 / 1.487 GB, free: 4.457 MB / 1.17 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.009368/1.223, allocations: 4.037 MB / 1.491 GB, free: 360 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.223, allocations: 12.03 kB / 1.491 GB, free: 348 kB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005499/1.224, allocations: 391.8 kB / 1.491 GB, free: 15.95 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004761/1.229, allocations: 0.8409 MB / 1.492 GB, free: 15.11 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004012/1.233, allocations: 1.95 MB / 1.494 GB, free: 13.1 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/1.233, allocations: 205.3 kB / 1.494 GB, free: 12.89 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004803/1.233, allocations: 272 kB / 1.494 GB, free: 12.63 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005733/1.239, allocations: 3.279 MB / 1.497 GB, free: 9.309 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.383e-05/1.239, allocations: 0 / 1.497 GB, free: 9.309 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000264/1.239, allocations: 112 kB / 1.497 GB, free: 9.199 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/1.239, allocations: 133.4 kB / 1.498 GB, free: 9.066 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007366/1.247, allocations: 4.623 MB / 1.502 GB, free: 4.43 MB / 1.186 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.01651/1.263, allocations: 10.94 MB / 1.513 GB, free: 8.812 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006651/1.27, allocations: 4.863 MB / 1.518 GB, free: 3.914 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003909/1.274, allocations: 2.531 MB / 1.52 GB, free: 1.379 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/1.275, allocations: 0.8605 MB / 1.521 GB, free: 360 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.261e-05/1.275, allocations: 69.7 kB / 1.521 GB, free: 280 kB / 1.201 GB Notification: Performance of pre-optimization done (n=399): time 5.521e-06/1.275, allocations: 3.938 kB / 1.521 GB, free: 276 kB / 1.201 GB Notification: Performance of matching and sorting (n=399): time 0.01029/1.286, allocations: 6.043 MB / 1.527 GB, free: 10.14 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/1.286, allocations: 94.55 kB / 1.527 GB, free: 10.04 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/1.288, allocations: 1.232 MB / 1.528 GB, free: 8.797 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003196/1.288, allocations: 93.7 kB / 1.528 GB, free: 8.699 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006805/1.289, allocations: 0.8268 MB / 1.529 GB, free: 7.863 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001426/1.29, allocations: 1.39 MB / 1.53 GB, free: 6.461 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000903/1.291, allocations: 0.5547 MB / 1.531 GB, free: 5.898 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.291, allocations: 301.1 kB / 1.531 GB, free: 5.602 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002584/1.294, allocations: 1.607 MB / 1.533 GB, free: 3.992 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0028/1.296, allocations: 1.905 MB / 1.535 GB, free: 2.043 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005801/1.302, allocations: 3.838 MB / 1.538 GB, free: 14.14 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/1.302, allocations: 0 / 1.538 GB, free: 14.14 MB / 1.232 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006808/1.309, allocations: 4.204 MB / 1.543 GB, free: 9.918 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/1.309, allocations: 10.19 kB / 1.543 GB, free: 9.91 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/1.309, allocations: 3.984 kB / 1.543 GB, free: 9.906 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.97e-05/1.309, allocations: 27.92 kB / 1.543 GB, free: 9.879 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/1.312, allocations: 0.6869 MB / 1.543 GB, free: 9.191 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.308e-05/1.312, allocations: 16 kB / 1.543 GB, free: 9.176 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/1.314, allocations: 242.1 kB / 1.543 GB, free: 8.938 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002734/1.315, allocations: 116 kB / 1.544 GB, free: 8.824 MB / 1.232 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.001365/1.316, allocations: 0.7312 MB / 1.544 GB, free: 8.082 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006337/1.317, allocations: 254.4 kB / 1.545 GB, free: 7.832 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008151/1.325, allocations: 4.633 MB / 1.549 GB, free: 3.156 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.265e-05/1.325, allocations: 36 kB / 1.549 GB, free: 3.121 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/1.325, allocations: 4 kB / 1.549 GB, free: 3.117 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006362/1.331, allocations: 3.961 MB / 1.553 GB, free: 15.09 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/1.345, allocations: 8.282 MB / 1.561 GB, free: 6.727 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/1.346, allocations: 0 / 1.561 GB, free: 6.727 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002922/1.348, allocations: 0.6593 MB / 1.562 GB, free: 6.066 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005182/1.349, allocations: 134.4 kB / 1.562 GB, free: 5.926 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000323/1.349, allocations: 83.97 kB / 1.562 GB, free: 5.844 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004391/1.354, allocations: 5.047 MB / 1.567 GB, free: 388 kB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.354, allocations: 0 / 1.567 GB, free: 388 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/1.366, allocations: 6.837 MB / 1.574 GB, free: 9.484 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/1.368, allocations: 0.7719 MB / 1.574 GB, free: 8.691 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006603/1.369, allocations: 68 kB / 1.574 GB, free: 8.625 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/1.371, allocations: 99.41 kB / 1.574 GB, free: 8.531 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005503/1.372, allocations: 222.8 kB / 1.575 GB, free: 8.312 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003235/1.372, allocations: 120 kB / 1.575 GB, free: 8.195 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001534/1.374, allocations: 0.8567 MB / 1.576 GB, free: 7.336 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.7e-07/1.374, allocations: 0 / 1.576 GB, free: 7.336 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002867/1.377, allocations: 1.077 MB / 1.577 GB, free: 6.258 MB / 1.264 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.01205/1.389, allocations: 7.625 MB / 1.584 GB, free: 14.56 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.006993/1.396, allocations: 4.055 MB / 1.588 GB, free: 10.5 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.396, allocations: 0 / 1.588 GB, free: 10.5 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004278/1.4, allocations: 2.56 MB / 1.591 GB, free: 7.898 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005624/1.406, allocations: 1.064 MB / 1.592 GB, free: 6.848 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04212/1.448, allocations: 23.1 MB / 1.614 GB, free: 15.45 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002264/1.45, allocations: 1.939 MB / 1.616 GB, free: 13.47 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.003995/1.454, allocations: 1.223 MB / 1.617 GB, free: 12.24 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002291/1.456, allocations: 1.093 MB / 1.618 GB, free: 11.15 MB / 1.311 GB Notification: Performance of SimCode: time 1.353e-06/1.456, allocations: 0 / 1.618 GB, free: 11.15 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2157/1.672, allocations: 66.74 MB / 1.683 GB, free: 9.082 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.07/17.74, allocations: 8.812 kB / 1.683 GB, free: 9.074 MB / 1.373 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches