Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.OneOpenDoor,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_OneOpenDoor",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.001266/0.001266, allocations: 108 kB / 15.6 MB, free: 132 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.001265/0.001265, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.227/1.227, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.343/2.343, allocations: 437.1 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.89 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5066/0.5079, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1498/0.6578, allocations: 166.9 MB / 1.18 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01041/0.6682, allocations: 8.499 MB / 1.189 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.6694, allocations: 35.81 kB / 1.189 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.671, allocations: 0.5628 MB / 1.189 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003324/0.6743, allocations: 1.542 MB / 1.191 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.6765, allocations: 0.9944 MB / 1.192 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003727/0.6802, allocations: 4.102 MB / 1.196 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/0.6818, allocations: 1.315 MB / 1.197 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002655/0.6845, allocations: 1.489 MB / 1.199 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/0.6865, allocations: 1.511 MB / 1.2 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004158/0.6869, allocations: 188 kB / 1.2 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.6891, allocations: 1.104 MB / 1.201 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006705/0.6898, allocations: 0.6701 MB / 1.202 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.6912, allocations: 1.027 MB / 1.203 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002925/0.6941, allocations: 2.738 MB / 1.206 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6941, allocations: 0 / 1.206 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6941, allocations: 0 / 1.206 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.677e-05/0.6942, allocations: 0 / 1.206 GB, free: 1.059 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.004547/0.6987, allocations: 2.262 MB / 1.208 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.6988, allocations: 8.031 kB / 1.208 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003038/0.6991, allocations: 223.9 kB / 1.208 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005121/0.6996, allocations: 198.7 kB / 1.208 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.7013, allocations: 1.134 MB / 1.209 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.878e-05/0.7014, allocations: 111 kB / 1.209 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.7016, allocations: 159.8 kB / 1.21 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002747/0.7043, allocations: 1.919 MB / 1.211 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.7044, allocations: 4 kB / 1.211 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.7045, allocations: 63.94 kB / 1.212 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.7046, allocations: 36 kB / 1.212 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003543/0.7081, allocations: 2.486 MB / 1.214 GB, free: 8.309 MB / 0.9669 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.007182/0.7153, allocations: 6.136 MB / 1.22 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003327/0.7186, allocations: 2.813 MB / 1.223 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001863/0.7205, allocations: 1.421 MB / 1.224 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/0.722, allocations: 1.734 MB / 1.226 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.722, allocations: 60.55 kB / 1.226 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=237): time 3.526e-06/0.722, allocations: 0 / 1.226 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=237): time 0.005048/0.7271, allocations: 3.43 MB / 1.229 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.7271, allocations: 77.41 kB / 1.229 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008699/0.728, allocations: 0.7782 MB / 1.23 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.7281, allocations: 65.7 kB / 1.23 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.7284, allocations: 494.1 kB / 1.231 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.00052/0.7289, allocations: 0.7814 MB / 1.231 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004439/0.7294, allocations: 355.6 kB / 1.232 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.151e-05/0.7295, allocations: 301.1 kB / 1.232 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.7308, allocations: 0.9019 MB / 1.233 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.7323, allocations: 1.129 MB / 1.234 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003022/0.7354, allocations: 2.223 MB / 1.236 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.7354, allocations: 0 / 1.236 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003529/0.7389, allocations: 2.432 MB / 1.238 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.7389, allocations: 9.031 kB / 1.238 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.739, allocations: 4 kB / 1.239 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.739, allocations: 12.47 kB / 1.239 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.7406, allocations: 447.4 kB / 1.239 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.938e-05/0.7406, allocations: 15.94 kB / 1.239 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000934/0.7415, allocations: 154.3 kB / 1.239 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.7417, allocations: 71.98 kB / 1.239 GB, free: 13.52 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0005598/0.7423, allocations: 441.2 kB / 1.24 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/0.7425, allocations: 142.2 kB / 1.24 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004166/0.7467, allocations: 2.729 MB / 1.242 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.7467, allocations: 27.94 kB / 1.242 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.7467, allocations: 0 / 1.242 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003453/0.7502, allocations: 2.393 MB / 1.245 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005583/0.7558, allocations: 4.294 MB / 1.249 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.7558, allocations: 0 / 1.249 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.7574, allocations: 403.5 kB / 1.249 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005088/0.7579, allocations: 97.69 kB / 1.249 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/0.7581, allocations: 51.98 kB / 1.249 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006207/0.7587, allocations: 1.128 MB / 1.251 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7587, allocations: 4 kB / 1.251 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4252/1.184, allocations: 4.05 MB / 1.255 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007901/1.185, allocations: 479.9 kB / 1.255 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/1.185, allocations: 37 kB / 1.255 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008494/1.186, allocations: 54.86 kB / 1.255 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002624/1.186, allocations: 139.4 kB / 1.255 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/1.186, allocations: 70.69 kB / 1.255 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006996/1.187, allocations: 0.5493 MB / 1.256 GB, free: 232 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/1.187, allocations: 0 / 1.256 GB, free: 232 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001344/1.188, allocations: 0.6527 MB / 1.256 GB, free: 231.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006682/1.195, allocations: 4.89 MB / 1.261 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008868/1.204, allocations: 4.864 MB / 1.266 GB, free: 229 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.204, allocations: 0 / 1.266 GB, free: 229 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/1.206, allocations: 1.282 MB / 1.267 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/1.208, allocations: 0.5697 MB / 1.268 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/1.224, allocations: 14.27 MB / 1.282 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000743/1.225, allocations: 1.335 MB / 1.283 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001899/1.227, allocations: 0.7269 MB / 1.284 GB, free: 219 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000755/1.228, allocations: 0.6276 MB / 1.284 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of SimCode: time 8.61e-07/1.228, allocations: 0 / 1.284 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05528/1.283, allocations: 39.4 MB / 1.323 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/12.4, allocations: 19.78 kB / 1.323 GB, free: 180.1 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor_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_OneOpenDoor.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches