Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.OneOpenDoor,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_9_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.007138/0.007138, allocations: 96.7 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.001764/0.001764, allocations: 194.3 kB / 16.67 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.444/2.444, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 62.78 kB / 0.9504 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2959, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1922/0.4881, allocations: 166.9 MB / 1.25 GB, free: 10.46 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01323/0.5014, allocations: 8.493 MB / 1.259 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002182/0.5036, allocations: 39.81 kB / 1.259 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001829/0.5054, allocations: 0.5745 MB / 1.259 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.8592/1.365, allocations: 1.563 MB / 1.261 GB, free: 4.82 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003657/1.368, allocations: 0.991 MB / 1.262 GB, free: 4.82 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006746/1.375, allocations: 4.102 MB / 1.266 GB, free: 4.812 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002652/1.378, allocations: 1.313 MB / 1.267 GB, free: 4.734 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004759/1.383, allocations: 1.534 MB / 1.269 GB, free: 4.73 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003707/1.386, allocations: 1.502 MB / 1.27 GB, free: 4.73 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006163/1.387, allocations: 188.2 kB / 1.27 GB, free: 4.73 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003801/1.391, allocations: 1.1 MB / 1.271 GB, free: 4.73 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001098/1.392, allocations: 0.6735 MB / 1.272 GB, free: 4.73 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00237/1.394, allocations: 1.029 MB / 1.273 GB, free: 4.73 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005394/1.4, allocations: 2.771 MB / 1.276 GB, free: 4.547 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/1.4, allocations: 0 / 1.276 GB, free: 4.547 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.665e-06/1.4, allocations: 2.719 kB / 1.276 GB, free: 4.547 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.259e-05/1.4, allocations: 0.875 kB / 1.276 GB, free: 4.547 MB / 1.014 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.006399/1.406, allocations: 2.312 MB / 1.278 GB, free: 3.523 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.406, allocations: 10.19 kB / 1.278 GB, free: 3.523 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003681/1.407, allocations: 226.5 kB / 1.278 GB, free: 3.477 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007283/1.407, allocations: 206.6 kB / 1.278 GB, free: 3.375 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002579/1.41, allocations: 1.186 MB / 1.28 GB, free: 3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/1.41, allocations: 113.4 kB / 1.28 GB, free: 2.996 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/1.41, allocations: 148.8 kB / 1.28 GB, free: 2.996 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003892/1.414, allocations: 1.922 MB / 1.282 GB, free: 2.855 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.59e-05/1.414, allocations: 6.531 kB / 1.282 GB, free: 2.852 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/1.415, allocations: 62.47 kB / 1.282 GB, free: 2.852 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.962e-05/1.415, allocations: 38.12 kB / 1.282 GB, free: 2.852 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004694/1.419, allocations: 2.476 MB / 1.284 GB, free: 2.836 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.01119/1.43, allocations: 6.124 MB / 1.29 GB, free: 16.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004126/1.435, allocations: 2.812 MB / 1.293 GB, free: 16.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002365/1.437, allocations: 1.428 MB / 1.294 GB, free: 16.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00172/1.439, allocations: 1.734 MB / 1.296 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/1.439, allocations: 55.88 kB / 1.296 GB, free: 14.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=237): time 4.799e-06/1.439, allocations: 0 / 1.296 GB, free: 14.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=237): time 0.006345/1.445, allocations: 3.445 MB / 1.299 GB, free: 13.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/1.445, allocations: 76.94 kB / 1.3 GB, free: 13.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/1.447, allocations: 0.7791 MB / 1.3 GB, free: 13.78 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/1.447, allocations: 64.61 kB / 1.3 GB, free: 13.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/1.447, allocations: 499 kB / 1.301 GB, free: 13.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000848/1.448, allocations: 0.8319 MB / 1.302 GB, free: 12.97 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007736/1.449, allocations: 347 kB / 1.302 GB, free: 12.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.449, allocations: 304.9 kB / 1.302 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/1.451, allocations: 0.9041 MB / 1.303 GB, free: 12.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/1.453, allocations: 1.122 MB / 1.304 GB, free: 12.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00385/1.457, allocations: 2.224 MB / 1.306 GB, free: 12.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/1.457, allocations: 5.312 kB / 1.306 GB, free: 12.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004789/1.462, allocations: 2.441 MB / 1.309 GB, free: 12.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/1.462, allocations: 8.797 kB / 1.309 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/1.462, allocations: 8.969 kB / 1.309 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-05/1.462, allocations: 13.78 kB / 1.309 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/1.463, allocations: 436.6 kB / 1.309 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.83e-05/1.463, allocations: 13.56 kB / 1.309 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/1.465, allocations: 164.5 kB / 1.309 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/1.465, allocations: 72.59 kB / 1.309 GB, free: 12.07 MB / 1.029 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.001009/1.466, allocations: 446.9 kB / 1.31 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004427/1.467, allocations: 153.3 kB / 1.31 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004896/1.472, allocations: 2.726 MB / 1.313 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/1.472, allocations: 23.91 kB / 1.313 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.472, allocations: 0 / 1.313 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003655/1.475, allocations: 2.382 MB / 1.315 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007806/1.483, allocations: 4.301 MB / 1.319 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.483, allocations: 0.9688 kB / 1.319 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/1.485, allocations: 410.7 kB / 1.32 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006143/1.486, allocations: 97.48 kB / 1.32 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/1.486, allocations: 56.56 kB / 1.32 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007312/1.486, allocations: 1.119 MB / 1.321 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.486, allocations: 3.25 kB / 1.321 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005936/1.492, allocations: 4.071 MB / 1.325 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/1.494, allocations: 476.6 kB / 1.325 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/1.494, allocations: 43.19 kB / 1.325 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009462/1.495, allocations: 62.94 kB / 1.325 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002517/1.495, allocations: 138.7 kB / 1.326 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/1.495, allocations: 77.64 kB / 1.326 GB, free: 8.012 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007116/1.496, allocations: 0.5411 MB / 1.326 GB, free: 7.777 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/1.496, allocations: 4.031 kB / 1.326 GB, free: 7.777 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001808/1.498, allocations: 0.6492 MB / 1.327 GB, free: 7.637 MB / 1.029 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.006662/1.505, allocations: 4.9 MB / 1.332 GB, free: 5.426 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003478/1.508, allocations: 2.33 MB / 1.334 GB, free: 4.727 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/1.508, allocations: 0.9375 kB / 1.334 GB, free: 4.727 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001801/1.51, allocations: 1.279 MB / 1.335 GB, free: 4.359 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/1.513, allocations: 0.5813 MB / 1.336 GB, free: 4.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/1.533, allocations: 13.67 MB / 1.349 GB, free: 14.03 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008584/1.534, allocations: 1.339 MB / 1.35 GB, free: 13.25 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002065/1.536, allocations: 0.7216 MB / 1.351 GB, free: 13.14 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009508/1.537, allocations: 0.6209 MB / 1.352 GB, free: 12.7 MB / 1.045 GB Notification: Performance of SimCode: time 9.92e-07/1.537, allocations: 3.188 kB / 1.352 GB, free: 12.7 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07831/1.615, allocations: 39.8 MB / 1.391 GB, free: 8.773 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/16.33, allocations: 16.52 kB / 1.391 GB, free: 8.758 MB / 1.076 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches