Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_9_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.004978/0.004978, allocations: 102.4 kB / 15.73 MB, free: 6.441 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.001265/0.001265, allocations: 198.3 kB / 16.67 MB, free: 6.355 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 61.92 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2341, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.7555/0.9896, allocations: 218.5 MB / 1.301 GB, free: 2.949 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0239/1.014, allocations: 20.43 MB / 1.321 GB, free: 2.68 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003266/1.017, allocations: 55 kB / 1.321 GB, free: 2.68 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00303/1.02, allocations: 1.243 MB / 1.322 GB, free: 2.656 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009805/1.03, allocations: 4.094 MB / 1.326 GB, free: 2.473 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003915/1.034, allocations: 1.538 MB / 1.328 GB, free: 2.441 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008272/1.042, allocations: 6.96 MB / 1.334 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003372/1.045, allocations: 2.36 MB / 1.337 GB, free: 2.18 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005376/1.051, allocations: 2.363 MB / 1.339 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004711/1.056, allocations: 2.463 MB / 1.341 GB, free: 1.715 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006645/1.056, allocations: 347.9 kB / 1.342 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007922/1.064, allocations: 3.457 MB / 1.345 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00183/1.066, allocations: 1.453 MB / 1.347 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003946/1.07, allocations: 1.912 MB / 1.348 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009662/1.08, allocations: 5.772 MB / 1.354 GB, free: 13.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/1.08, allocations: 0 / 1.354 GB, free: 13.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.907e-06/1.08, allocations: 0 / 1.354 GB, free: 13.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001003/1.08, allocations: 3.938 kB / 1.354 GB, free: 13.98 MB / 1.029 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.009152/1.089, allocations: 3.935 MB / 1.358 GB, free: 11.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.089, allocations: 14.25 kB / 1.358 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004677/1.089, allocations: 389.5 kB / 1.358 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004663/1.094, allocations: 0.8221 MB / 1.359 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003546/1.098, allocations: 1.945 MB / 1.361 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/1.098, allocations: 204.3 kB / 1.361 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003903/1.098, allocations: 273.9 kB / 1.361 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00479/1.103, allocations: 3.284 MB / 1.365 GB, free: 9.234 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.573e-05/1.103, allocations: 0 / 1.365 GB, free: 9.234 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/1.103, allocations: 108.1 kB / 1.365 GB, free: 9.152 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/1.103, allocations: 127.7 kB / 1.365 GB, free: 9.137 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006305/1.11, allocations: 4.625 MB / 1.369 GB, free: 7.367 MB / 1.029 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.01498/1.125, allocations: 10.93 MB / 1.38 GB, free: 15.14 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005693/1.131, allocations: 4.853 MB / 1.385 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003334/1.134, allocations: 2.532 MB / 1.387 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009755/1.135, allocations: 0.8584 MB / 1.388 GB, free: 10.15 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.599e-05/1.135, allocations: 76.7 kB / 1.388 GB, free: 10.08 MB / 1.045 GB Notification: Performance of pre-optimization done (n=399): time 5.48e-06/1.135, allocations: 0 / 1.388 GB, free: 10.08 MB / 1.045 GB Notification: Performance of matching and sorting (n=399): time 0.009408/1.144, allocations: 6.034 MB / 1.394 GB, free: 5.934 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/1.144, allocations: 97.08 kB / 1.394 GB, free: 5.828 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/1.146, allocations: 1.232 MB / 1.395 GB, free: 4.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0004735/1.147, allocations: 93.7 kB / 1.395 GB, free: 4.492 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000522/1.147, allocations: 0.8121 MB / 1.396 GB, free: 3.672 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001167/1.149, allocations: 1.331 MB / 1.398 GB, free: 2.352 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008415/1.149, allocations: 0.5468 MB / 1.398 GB, free: 1.797 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.483e-05/1.15, allocations: 305.1 kB / 1.398 GB, free: 1.496 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002483/1.152, allocations: 1.606 MB / 1.4 GB, free: 15.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002655/1.155, allocations: 1.908 MB / 1.402 GB, free: 13.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005449/1.16, allocations: 3.829 MB / 1.406 GB, free: 10.06 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/1.16, allocations: 0 / 1.406 GB, free: 10.06 MB / 1.061 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006651/1.167, allocations: 4.196 MB / 1.41 GB, free: 5.863 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/1.167, allocations: 8 kB / 1.41 GB, free: 5.855 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/1.167, allocations: 4 kB / 1.41 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/1.167, allocations: 16 kB / 1.41 GB, free: 5.836 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002841/1.17, allocations: 0.6767 MB / 1.41 GB, free: 5.199 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.605e-05/1.17, allocations: 22.53 kB / 1.41 GB, free: 5.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/1.172, allocations: 249.3 kB / 1.411 GB, free: 4.934 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/1.173, allocations: 112 kB / 1.411 GB, free: 4.824 MB / 1.061 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.001312/1.174, allocations: 0.7325 MB / 1.411 GB, free: 4.121 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000531/1.174, allocations: 241.1 kB / 1.412 GB, free: 3.883 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007368/1.182, allocations: 4.631 MB / 1.416 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/1.182, allocations: 40 kB / 1.416 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/1.182, allocations: 0 / 1.416 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005528/1.187, allocations: 3.959 MB / 1.42 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/1.199, allocations: 8.285 MB / 1.428 GB, free: 2.891 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/1.2, allocations: 0 / 1.428 GB, free: 2.891 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002821/1.202, allocations: 0.658 MB / 1.429 GB, free: 2.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/1.203, allocations: 142.5 kB / 1.429 GB, free: 2.121 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/1.203, allocations: 79.98 kB / 1.429 GB, free: 2.043 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003469/1.206, allocations: 5.045 MB / 1.434 GB, free: 12.61 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.207, allocations: 3.938 kB / 1.434 GB, free: 12.61 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009788/1.216, allocations: 6.82 MB / 1.441 GB, free: 5.734 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001763/1.218, allocations: 0.7588 MB / 1.441 GB, free: 4.953 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000492/1.219, allocations: 71.98 kB / 1.441 GB, free: 4.883 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/1.221, allocations: 88.91 kB / 1.441 GB, free: 4.801 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004471/1.221, allocations: 222.8 kB / 1.442 GB, free: 4.582 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002468/1.221, allocations: 119.9 kB / 1.442 GB, free: 4.465 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001285/1.223, allocations: 0.8567 MB / 1.443 GB, free: 3.605 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.223, allocations: 0 / 1.443 GB, free: 3.605 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002536/1.225, allocations: 1.069 MB / 1.444 GB, free: 2.535 MB / 1.092 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.01035/1.236, allocations: 7.613 MB / 1.451 GB, free: 10.9 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005942/1.242, allocations: 4.056 MB / 1.455 GB, free: 6.883 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.242, allocations: 4 kB / 1.455 GB, free: 6.879 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003391/1.245, allocations: 2.555 MB / 1.458 GB, free: 4.359 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004927/1.25, allocations: 1.068 MB / 1.459 GB, free: 3.305 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.034/1.284, allocations: 23 MB / 1.481 GB, free: 12.08 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/1.286, allocations: 1.95 MB / 1.483 GB, free: 10.09 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.003375/1.289, allocations: 1.219 MB / 1.484 GB, free: 8.859 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00179/1.291, allocations: 1.085 MB / 1.485 GB, free: 7.773 MB / 1.139 GB Notification: Performance of SimCode: time 6.41e-07/1.291, allocations: 0 / 1.485 GB, free: 7.773 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1038/1.395, allocations: 66.72 MB / 1.55 GB, free: 5.719 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/16.01, allocations: 6.797 kB / 1.55 GB, free: 5.715 MB / 1.201 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches