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.006804/0.006804, allocations: 102 kB / 15.73 MB, free: 6.02 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.001519/0.001519, allocations: 194.3 kB / 16.67 MB, free: 5.93 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.223/1.223, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.197/2.197, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 67.91 kB / 1.018 GB, free: 9.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6928/0.6939, allocations: 151.6 MB / 1.166 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2071/0.901, allocations: 218.5 MB / 1.38 GB, free: 8.574 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02451/0.9256, allocations: 20.43 MB / 1.399 GB, free: 4.086 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002876/0.9285, allocations: 59.69 kB / 1.4 GB, free: 4.027 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.003322/0.9319, allocations: 1.309 MB / 1.401 GB, free: 2.711 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.009549/0.9415, allocations: 4.194 MB / 1.405 GB, free: 14.5 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003631/0.9451, allocations: 1.56 MB / 1.406 GB, free: 12.94 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.007031/0.9522, allocations: 6.977 MB / 1.413 GB, free: 5.941 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00319/0.9554, allocations: 2.36 MB / 1.416 GB, free: 3.539 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0038/0.9592, allocations: 2.43 MB / 1.418 GB, free: 1.102 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004126/0.9633, allocations: 2.461 MB / 1.42 GB, free: 14.64 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0009177/0.9642, allocations: 340 kB / 1.421 GB, free: 14.31 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007045/0.9713, allocations: 3.489 MB / 1.424 GB, free: 10.81 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001841/0.9732, allocations: 1.45 MB / 1.425 GB, free: 9.359 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.00341/0.9766, allocations: 1.871 MB / 1.427 GB, free: 7.48 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.009657/0.9863, allocations: 5.782 MB / 1.433 GB, free: 1.684 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.9863, allocations: 0 / 1.433 GB, free: 1.684 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9863, allocations: 0 / 1.433 GB, free: 1.684 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001812/0.9865, allocations: 0 / 1.433 GB, free: 1.684 MB / 1.154 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.01058/0.9971, allocations: 4.045 MB / 1.437 GB, free: 13.57 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.9971, allocations: 8.922 kB / 1.437 GB, free: 13.56 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000474/0.9976, allocations: 383.8 kB / 1.437 GB, free: 13.18 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004627/1.002, allocations: 0.8448 MB / 1.438 GB, free: 12.33 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003407/1.006, allocations: 1.946 MB / 1.44 GB, free: 10.33 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/1.006, allocations: 201.4 kB / 1.44 GB, free: 10.13 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003826/1.006, allocations: 275.9 kB / 1.44 GB, free: 9.859 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004715/1.011, allocations: 3.275 MB / 1.444 GB, free: 6.543 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.065e-05/1.011, allocations: 7.938 kB / 1.444 GB, free: 6.535 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/1.011, allocations: 115.9 kB / 1.444 GB, free: 6.422 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/1.011, allocations: 121.4 kB / 1.444 GB, free: 6.301 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006169/1.018, allocations: 4.619 MB / 1.448 GB, free: 1.668 MB / 1.17 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.01369/1.031, allocations: 10.95 MB / 1.459 GB, free: 6.043 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005383/1.037, allocations: 4.854 MB / 1.464 GB, free: 1.152 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003119/1.04, allocations: 2.528 MB / 1.466 GB, free: 14.62 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009228/1.041, allocations: 0.8602 MB / 1.467 GB, free: 13.59 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.916e-05/1.041, allocations: 81.64 kB / 1.467 GB, free: 13.5 MB / 1.201 GB Notification: Performance of pre-optimization done (n=399): time 5.23e-06/1.041, allocations: 4 kB / 1.467 GB, free: 13.5 MB / 1.201 GB Notification: Performance of matching and sorting (n=399): time 0.008726/1.05, allocations: 6.028 MB / 1.473 GB, free: 7.387 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/1.05, allocations: 90.55 kB / 1.473 GB, free: 7.285 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/1.051, allocations: 1.24 MB / 1.474 GB, free: 6.039 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001835/1.051, allocations: 89.7 kB / 1.474 GB, free: 5.945 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004998/1.052, allocations: 0.8307 MB / 1.475 GB, free: 5.105 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009218/1.053, allocations: 1.398 MB / 1.477 GB, free: 3.695 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007475/1.053, allocations: 0.547 MB / 1.477 GB, free: 3.141 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/1.054, allocations: 301.1 kB / 1.477 GB, free: 2.844 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002159/1.056, allocations: 1.607 MB / 1.479 GB, free: 1.234 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002414/1.058, allocations: 1.913 MB / 1.481 GB, free: 15.28 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004974/1.063, allocations: 3.838 MB / 1.485 GB, free: 11.38 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/1.063, allocations: 0 / 1.485 GB, free: 11.38 MB / 1.217 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005729/1.069, allocations: 4.212 MB / 1.489 GB, free: 7.145 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/1.069, allocations: 11.94 kB / 1.489 GB, free: 7.133 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/1.069, allocations: 4 kB / 1.489 GB, free: 7.129 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/1.069, allocations: 16 kB / 1.489 GB, free: 7.113 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002627/1.072, allocations: 0.6831 MB / 1.489 GB, free: 6.43 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.884e-05/1.072, allocations: 19.94 kB / 1.49 GB, free: 6.41 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/1.074, allocations: 250 kB / 1.49 GB, free: 6.164 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/1.074, allocations: 116 kB / 1.49 GB, free: 6.051 MB / 1.217 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.001069/1.075, allocations: 0.7256 MB / 1.491 GB, free: 5.316 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000389/1.075, allocations: 254.4 kB / 1.491 GB, free: 5.066 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006436/1.082, allocations: 4.634 MB / 1.495 GB, free: 396 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/1.082, allocations: 40 kB / 1.495 GB, free: 356 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/1.082, allocations: 0 / 1.495 GB, free: 356 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005174/1.087, allocations: 3.954 MB / 1.499 GB, free: 12.34 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/1.099, allocations: 8.278 MB / 1.507 GB, free: 3.969 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/1.099, allocations: 3.938 kB / 1.507 GB, free: 3.965 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002792/1.101, allocations: 0.6593 MB / 1.508 GB, free: 3.305 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004309/1.102, allocations: 142.4 kB / 1.508 GB, free: 3.156 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001981/1.102, allocations: 79.98 kB / 1.508 GB, free: 3.078 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003325/1.105, allocations: 5.047 MB / 1.513 GB, free: 13.61 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.105, allocations: 0 / 1.513 GB, free: 13.61 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008802/1.114, allocations: 6.833 MB / 1.52 GB, free: 6.723 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/1.116, allocations: 0.7719 MB / 1.521 GB, free: 5.93 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003177/1.116, allocations: 67.98 kB / 1.521 GB, free: 5.863 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/1.118, allocations: 94.55 kB / 1.521 GB, free: 5.773 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003602/1.118, allocations: 218.8 kB / 1.521 GB, free: 5.559 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000203/1.118, allocations: 116 kB / 1.521 GB, free: 5.445 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001119/1.119, allocations: 0.8606 MB / 1.522 GB, free: 4.582 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/1.119, allocations: 0 / 1.522 GB, free: 4.582 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002157/1.122, allocations: 1.069 MB / 1.523 GB, free: 3.512 MB / 1.248 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.00936/1.131, allocations: 7.64 MB / 1.53 GB, free: 11.8 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00551/1.137, allocations: 4.059 MB / 1.534 GB, free: 7.73 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/1.137, allocations: 4 kB / 1.534 GB, free: 7.727 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003036/1.14, allocations: 2.56 MB / 1.537 GB, free: 5.129 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004192/1.144, allocations: 1.07 MB / 1.538 GB, free: 4.074 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5564/1.7, allocations: 23.09 MB / 1.56 GB, free: 381.4 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001557/1.702, allocations: 1.945 MB / 1.562 GB, free: 380.7 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.003112/1.705, allocations: 1.22 MB / 1.564 GB, free: 380.6 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001352/1.706, allocations: 1.088 MB / 1.565 GB, free: 379.8 MB / 1.279 GB Notification: Performance of SimCode: time 5.81e-07/1.706, allocations: 0 / 1.565 GB, free: 379.8 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07805/1.784, allocations: 66.72 MB / 1.63 GB, free: 323.1 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/15.07, allocations: 9.609 kB / 1.63 GB, free: 323.1 MB / 1.279 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