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.005302/0.005302, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001324/0.001324, allocations: 197 kB / 16.67 MB, free: 5.52 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.204/2.204, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 59.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7434/0.7446, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1898/0.9344, allocations: 166.9 MB / 1.25 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0132/0.9477, allocations: 8.499 MB / 1.259 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.9498, allocations: 35.81 kB / 1.259 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002085/0.9519, allocations: 0.5667 MB / 1.259 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004847/0.9568, allocations: 1.535 MB / 1.261 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003158/0.96, allocations: 1.008 MB / 1.262 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005454/0.9654, allocations: 4.1 MB / 1.266 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002362/0.9678, allocations: 1.315 MB / 1.267 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003975/0.9718, allocations: 1.503 MB / 1.269 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00273/0.9746, allocations: 1.503 MB / 1.27 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006211/0.9752, allocations: 188 kB / 1.27 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002784/0.978, allocations: 1.1 MB / 1.271 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009236/0.979, allocations: 0.6701 MB / 1.272 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002015/0.981, allocations: 1.035 MB / 1.273 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004366/0.9854, allocations: 2.754 MB / 1.276 GB, free: 12.98 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.9854, allocations: 0 / 1.276 GB, free: 12.98 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.547e-06/0.9854, allocations: 3.984 kB / 1.276 GB, free: 12.97 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.548e-05/0.9855, allocations: 0 / 1.276 GB, free: 12.97 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.00508/0.9906, allocations: 2.27 MB / 1.278 GB, free: 10.64 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.9906, allocations: 8.031 kB / 1.278 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002568/0.9909, allocations: 223.9 kB / 1.278 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005302/0.9914, allocations: 194.8 kB / 1.278 GB, free: 10.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.9934, allocations: 1.177 MB / 1.279 GB, free: 8.996 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.603e-05/0.9935, allocations: 111 kB / 1.28 GB, free: 8.887 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.9938, allocations: 152 kB / 1.28 GB, free: 8.738 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00286/0.9966, allocations: 1.923 MB / 1.282 GB, free: 6.773 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.9967, allocations: 0 / 1.282 GB, free: 6.773 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.9968, allocations: 63.94 kB / 1.282 GB, free: 6.711 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.9969, allocations: 40 kB / 1.282 GB, free: 6.672 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003695/1.001, allocations: 2.482 MB / 1.284 GB, free: 4.184 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.007987/1.009, allocations: 6.12 MB / 1.29 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00349/1.012, allocations: 2.803 MB / 1.293 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002018/1.014, allocations: 1.421 MB / 1.294 GB, free: 9.457 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001691/1.016, allocations: 1.727 MB / 1.296 GB, free: 7.359 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/1.016, allocations: 56.56 kB / 1.296 GB, free: 7.297 MB / 1.029 GB Notification: Performance of pre-optimization done (n=237): time 3.928e-06/1.016, allocations: 0 / 1.296 GB, free: 7.297 MB / 1.029 GB Notification: Performance of matching and sorting (n=237): time 0.00571/1.022, allocations: 3.445 MB / 1.299 GB, free: 3.805 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/1.022, allocations: 73.41 kB / 1.299 GB, free: 3.719 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/1.023, allocations: 0.7783 MB / 1.3 GB, free: 2.934 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001404/1.023, allocations: 61.7 kB / 1.3 GB, free: 2.867 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/1.023, allocations: 498.1 kB / 1.301 GB, free: 2.371 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006914/1.024, allocations: 0.7853 MB / 1.301 GB, free: 1.574 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005471/1.025, allocations: 355.5 kB / 1.302 GB, free: 1.219 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.025, allocations: 301.1 kB / 1.302 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/1.026, allocations: 0.898 MB / 1.303 GB, free: 20 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/1.028, allocations: 1.129 MB / 1.304 GB, free: 14.83 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003403/1.031, allocations: 2.227 MB / 1.306 GB, free: 12.56 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/1.032, allocations: 0 / 1.306 GB, free: 12.56 MB / 1.045 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004007/1.036, allocations: 2.44 MB / 1.309 GB, free: 10.11 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/1.036, allocations: 10.5 kB / 1.309 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.036, allocations: 0 / 1.309 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/1.036, allocations: 16 kB / 1.309 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/1.037, allocations: 431.4 kB / 1.309 GB, free: 9.664 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.99e-05/1.037, allocations: 15.94 kB / 1.309 GB, free: 9.648 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/1.038, allocations: 158.5 kB / 1.309 GB, free: 9.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/1.039, allocations: 79.98 kB / 1.309 GB, free: 9.414 MB / 1.045 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.0007547/1.039, allocations: 433.3 kB / 1.31 GB, free: 8.98 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/1.04, allocations: 142.2 kB / 1.31 GB, free: 8.84 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004934/1.045, allocations: 2.733 MB / 1.312 GB, free: 6.082 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/1.045, allocations: 24 kB / 1.313 GB, free: 6.059 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/1.045, allocations: 0 / 1.313 GB, free: 6.059 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003455/1.048, allocations: 2.381 MB / 1.315 GB, free: 3.625 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006711/1.055, allocations: 4.29 MB / 1.319 GB, free: 15.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.055, allocations: 7.922 kB / 1.319 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/1.057, allocations: 407.6 kB / 1.319 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005956/1.057, allocations: 97.62 kB / 1.32 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/1.058, allocations: 51.98 kB / 1.32 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008378/1.058, allocations: 1.124 MB / 1.321 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.058, allocations: 4 kB / 1.321 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006596/1.065, allocations: 4.057 MB / 1.325 GB, free: 9.438 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/1.066, allocations: 486.7 kB / 1.325 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002764/1.066, allocations: 36 kB / 1.325 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009901/1.067, allocations: 55.98 kB / 1.325 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/1.068, allocations: 145.7 kB / 1.325 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/1.068, allocations: 67.98 kB / 1.325 GB, free: 8.641 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008139/1.069, allocations: 0.5459 MB / 1.326 GB, free: 8.098 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.069, allocations: 0 / 1.326 GB, free: 8.098 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001546/1.07, allocations: 0.6552 MB / 1.327 GB, free: 7.441 MB / 1.061 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.007023/1.077, allocations: 4.884 MB / 1.331 GB, free: 2.527 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004002/1.081, allocations: 2.329 MB / 1.334 GB, free: 204 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.081, allocations: 8.25 kB / 1.334 GB, free: 196 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002118/1.083, allocations: 1.284 MB / 1.335 GB, free: 14.91 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002814/1.086, allocations: 0.5776 MB / 1.335 GB, free: 14.34 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02125/1.107, allocations: 13.61 MB / 1.349 GB, free: 456 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/1.109, allocations: 1.339 MB / 1.35 GB, free: 15.08 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002031/1.111, allocations: 0.7189 MB / 1.351 GB, free: 14.35 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/1.112, allocations: 0.6281 MB / 1.351 GB, free: 13.72 MB / 1.092 GB Notification: Performance of SimCode: time 1.192e-06/1.112, allocations: 4 kB / 1.351 GB, free: 13.72 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07334/1.185, allocations: 39.8 MB / 1.39 GB, free: 6.375 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.95, allocations: 3.984 kB / 1.39 GB, free: 6.371 MB / 1.123 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