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.00128/0.00128, 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.001315/0.001316, allocations: 194.3 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.239/1.239, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.373/2.373, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.91 kB / 0.8693 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5582/0.5594, allocations: 151.6 MB / 1.017 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2073/0.7668, allocations: 218.5 MB / 1.231 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0237/0.7906, allocations: 20.43 MB / 1.251 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/0.7926, allocations: 63.69 kB / 1.251 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002896/0.7956, allocations: 1.243 MB / 1.252 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.5285/1.324, allocations: 4.074 MB / 1.256 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004103/1.328, allocations: 1.525 MB / 1.257 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009613/1.338, allocations: 6.962 MB / 1.264 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004907/1.343, allocations: 2.353 MB / 1.267 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005445/1.348, allocations: 2.359 MB / 1.269 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005536/1.354, allocations: 2.456 MB / 1.271 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001408/1.355, allocations: 343.1 kB / 1.272 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008272/1.364, allocations: 3.457 MB / 1.275 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002375/1.366, allocations: 1.456 MB / 1.276 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004041/1.37, allocations: 1.867 MB / 1.278 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008373/1.378, allocations: 5.733 MB / 1.284 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.378, allocations: 0 / 1.284 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/1.378, allocations: 0 / 1.284 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001063/1.378, allocations: 0.8438 kB / 1.284 GB, free: 2.812 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.009295/1.388, allocations: 3.938 MB / 1.288 GB, free: 17.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/1.388, allocations: 11.06 kB / 1.288 GB, free: 17.32 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004102/1.388, allocations: 393.6 kB / 1.288 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00432/1.393, allocations: 0.8219 MB / 1.289 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/1.395, allocations: 1.885 MB / 1.291 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/1.395, allocations: 204.1 kB / 1.291 GB, free: 16.6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/1.396, allocations: 269.7 kB / 1.291 GB, free: 16.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004303/1.4, allocations: 3.279 MB / 1.294 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.857e-05/1.4, allocations: 3.844 kB / 1.294 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002459/1.4, allocations: 113.1 kB / 1.294 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.036e-05/1.401, allocations: 121.1 kB / 1.295 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005586/1.406, allocations: 4.624 MB / 1.299 GB, free: 16.43 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.01318/1.419, allocations: 10.99 MB / 1.31 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004878/1.424, allocations: 4.862 MB / 1.315 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002805/1.427, allocations: 2.52 MB / 1.317 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/1.428, allocations: 0.8609 MB / 1.318 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/1.428, allocations: 84.42 kB / 1.318 GB, free: 11.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 5.811e-06/1.428, allocations: 0 / 1.318 GB, free: 11.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.008344/1.436, allocations: 6.02 MB / 1.324 GB, free: 10.81 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.655e-05/1.437, allocations: 92.42 kB / 1.324 GB, free: 10.74 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/1.438, allocations: 1.232 MB / 1.325 GB, free: 10.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001919/1.438, allocations: 96.23 kB / 1.325 GB, free: 10.56 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004886/1.439, allocations: 0.8154 MB / 1.326 GB, free: 10.23 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009849/1.44, allocations: 1.328 MB / 1.327 GB, free: 9.359 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007207/1.44, allocations: 0.5483 MB / 1.328 GB, free: 9.332 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.441, allocations: 306.5 kB / 1.328 GB, free: 9.035 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/1.443, allocations: 1.604 MB / 1.33 GB, free: 9.027 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/1.445, allocations: 1.904 MB / 1.332 GB, free: 8.875 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004777/1.45, allocations: 3.839 MB / 1.335 GB, free: 8.047 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/1.45, allocations: 0 / 1.335 GB, free: 8.047 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005795/1.455, allocations: 4.193 MB / 1.339 GB, free: 6.453 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.455, allocations: 6.469 kB / 1.339 GB, free: 6.453 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/1.456, allocations: 6.469 kB / 1.339 GB, free: 6.449 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.161e-05/1.456, allocations: 23.12 kB / 1.339 GB, free: 6.445 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/1.458, allocations: 0.6818 MB / 1.34 GB, free: 6.418 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.798e-05/1.458, allocations: 21.19 kB / 1.34 GB, free: 6.418 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/1.46, allocations: 237.2 kB / 1.34 GB, free: 6.238 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/1.461, allocations: 114.2 kB / 1.34 GB, free: 6.211 MB / 1.014 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.001226/1.462, allocations: 0.7298 MB / 1.341 GB, free: 5.836 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004299/1.462, allocations: 240.9 kB / 1.341 GB, free: 5.715 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006547/1.469, allocations: 4.635 MB / 1.346 GB, free: 3.836 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/1.469, allocations: 37.88 kB / 1.346 GB, free: 3.836 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/1.469, allocations: 4.875 kB / 1.346 GB, free: 3.832 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005219/1.474, allocations: 3.956 MB / 1.35 GB, free: 2.148 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/1.486, allocations: 8.274 MB / 1.358 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/1.486, allocations: 0 / 1.358 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002764/1.489, allocations: 0.664 MB / 1.359 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004504/1.489, allocations: 137.2 kB / 1.359 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002167/1.49, allocations: 80.98 kB / 1.359 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00384/1.493, allocations: 5.058 MB / 1.364 GB, free: 4.227 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.493, allocations: 0 / 1.364 GB, free: 4.227 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009597/1.503, allocations: 6.81 MB / 1.37 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/1.504, allocations: 0.7628 MB / 1.371 GB, free: 12.58 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004343/1.505, allocations: 72.89 kB / 1.371 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002019/1.507, allocations: 90.64 kB / 1.371 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004055/1.507, allocations: 219.6 kB / 1.372 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002141/1.508, allocations: 116 kB / 1.372 GB, free: 12.1 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001159/1.509, allocations: 0.8576 MB / 1.372 GB, free: 11.24 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/1.509, allocations: 4 kB / 1.372 GB, free: 11.23 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002354/1.511, allocations: 1.073 MB / 1.374 GB, free: 10.16 MB / 1.045 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.01001/1.521, allocations: 7.618 MB / 1.381 GB, free: 2.543 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02135/1.543, allocations: 11.48 MB / 1.392 GB, free: 7.133 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.543, allocations: 0 / 1.392 GB, free: 7.133 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.003417/1.546, allocations: 2.557 MB / 1.395 GB, free: 4.613 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004954/1.551, allocations: 1.078 MB / 1.396 GB, free: 3.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03405/1.585, allocations: 24.96 MB / 1.42 GB, free: 9.465 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/1.587, allocations: 1.943 MB / 1.422 GB, free: 7.48 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.003555/1.59, allocations: 1.215 MB / 1.423 GB, free: 6.258 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00167/1.592, allocations: 1.097 MB / 1.424 GB, free: 5.164 MB / 1.092 GB Notification: Performance of SimCode: time 6.11e-07/1.592, allocations: 0 / 1.424 GB, free: 5.164 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/1.701, allocations: 66.15 MB / 1.489 GB, free: 3.805 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/12.24, allocations: 20.3 kB / 1.489 GB, free: 3.789 MB / 1.154 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