Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_latest_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.00126/0.00126, allocations: 112.5 kB / 15.73 MB, free: 76 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.001335/0.001335, allocations: 190.9 kB / 16.66 MB, free: 6.582 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.674/2.674, allocations: 469.4 MB / 0.7421 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.91 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2648, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.7237/0.9885, allocations: 166.9 MB / 1.383 GB, free: 3.652 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01173/1, allocations: 8.502 MB / 1.391 GB, free: 12.7 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/1.002, allocations: 37.84 kB / 1.391 GB, free: 12.69 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001509/1.003, allocations: 0.573 MB / 1.392 GB, free: 12.2 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003936/1.007, allocations: 1.563 MB / 1.393 GB, free: 10.95 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002483/1.01, allocations: 0.9996 MB / 1.394 GB, free: 10.17 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004572/1.014, allocations: 4.109 MB / 1.398 GB, free: 7.77 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001986/1.016, allocations: 1.32 MB / 1.399 GB, free: 6.922 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003579/1.02, allocations: 1.52 MB / 1.401 GB, free: 6.07 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002633/1.023, allocations: 1.51 MB / 1.402 GB, free: 5.184 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005891/1.023, allocations: 186.8 kB / 1.403 GB, free: 5.184 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002931/1.026, allocations: 1.11 MB / 1.404 GB, free: 4.715 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009349/1.027, allocations: 0.6701 MB / 1.404 GB, free: 4.238 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002204/1.029, allocations: 1.027 MB / 1.405 GB, free: 3.57 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004508/1.034, allocations: 2.776 MB / 1.408 GB, free: 1.734 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.034, allocations: 0 / 1.408 GB, free: 1.734 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.823e-06/1.034, allocations: 0 / 1.408 GB, free: 1.734 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001008/1.034, allocations: 0 / 1.408 GB, free: 1.734 MB / 1.092 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.005029/1.039, allocations: 2.31 MB / 1.41 GB, free: 148 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/1.039, allocations: 10.66 kB / 1.41 GB, free: 148 kB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00027/1.039, allocations: 223.3 kB / 1.411 GB, free: 15.96 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004952/1.04, allocations: 209.8 kB / 1.411 GB, free: 15.86 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/1.042, allocations: 1.184 MB / 1.412 GB, free: 14.97 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.005e-05/1.042, allocations: 111.5 kB / 1.412 GB, free: 14.92 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/1.042, allocations: 158.2 kB / 1.412 GB, free: 14.86 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/1.045, allocations: 1.92 MB / 1.414 GB, free: 13.74 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/1.045, allocations: 4.672 kB / 1.414 GB, free: 13.74 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/1.045, allocations: 71.16 kB / 1.414 GB, free: 13.68 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/1.045, allocations: 35.28 kB / 1.414 GB, free: 13.68 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003437/1.049, allocations: 2.475 MB / 1.417 GB, free: 12.36 MB / 1.107 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.007699/1.056, allocations: 6.121 MB / 1.422 GB, free: 5.859 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00328/1.06, allocations: 2.806 MB / 1.425 GB, free: 3.043 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/1.062, allocations: 1.432 MB / 1.427 GB, free: 1.605 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/1.063, allocations: 1.738 MB / 1.428 GB, free: 15.5 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/1.063, allocations: 56.56 kB / 1.428 GB, free: 15.43 MB / 1.123 GB Notification: Performance of pre-optimization done (n=237): time 3.907e-06/1.063, allocations: 0 / 1.428 GB, free: 15.43 MB / 1.123 GB Notification: Performance of matching and sorting (n=237): time 0.005142/1.068, allocations: 3.438 MB / 1.432 GB, free: 11.95 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/1.068, allocations: 77.41 kB / 1.432 GB, free: 11.86 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009334/1.069, allocations: 0.7744 MB / 1.433 GB, free: 11.08 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/1.069, allocations: 69.7 kB / 1.433 GB, free: 11 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000296/1.07, allocations: 495.2 kB / 1.433 GB, free: 10.51 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005552/1.07, allocations: 0.8365 MB / 1.434 GB, free: 9.668 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004396/1.071, allocations: 343.7 kB / 1.434 GB, free: 9.324 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/1.071, allocations: 305.1 kB / 1.435 GB, free: 9.023 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/1.072, allocations: 0.9069 MB / 1.435 GB, free: 8.113 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/1.074, allocations: 1.117 MB / 1.437 GB, free: 6.938 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003034/1.077, allocations: 2.227 MB / 1.439 GB, free: 4.664 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/1.077, allocations: 4 kB / 1.439 GB, free: 4.66 MB / 1.123 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.0036/1.08, allocations: 2.441 MB / 1.441 GB, free: 2.211 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/1.08, allocations: 7.938 kB / 1.441 GB, free: 2.203 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.08, allocations: 8 kB / 1.441 GB, free: 2.195 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/1.08, allocations: 12 kB / 1.441 GB, free: 2.184 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.082, allocations: 443.4 kB / 1.442 GB, free: 1.75 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/1.082, allocations: 12 kB / 1.442 GB, free: 1.738 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/1.083, allocations: 159.5 kB / 1.442 GB, free: 1.582 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/1.083, allocations: 71.98 kB / 1.442 GB, free: 1.512 MB / 1.123 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.0006459/1.084, allocations: 449.7 kB / 1.442 GB, free: 1.062 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002691/1.084, allocations: 151 kB / 1.442 GB, free: 0.9141 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004078/1.088, allocations: 2.731 MB / 1.445 GB, free: 14.17 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/1.088, allocations: 27.94 kB / 1.445 GB, free: 14.14 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.088, allocations: 7.922 kB / 1.445 GB, free: 14.13 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003107/1.091, allocations: 2.381 MB / 1.447 GB, free: 11.7 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005768/1.097, allocations: 4.295 MB / 1.452 GB, free: 7.332 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/1.097, allocations: 0 / 1.452 GB, free: 7.332 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/1.099, allocations: 407.4 kB / 1.452 GB, free: 6.934 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005106/1.099, allocations: 101.7 kB / 1.452 GB, free: 6.828 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/1.099, allocations: 49.17 kB / 1.452 GB, free: 6.781 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006321/1.1, allocations: 1.124 MB / 1.453 GB, free: 5.605 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.1, allocations: 4 kB / 1.453 GB, free: 5.602 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005525/1.106, allocations: 4.066 MB / 1.457 GB, free: 1.508 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009286/1.107, allocations: 483.4 kB / 1.458 GB, free: 1.016 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/1.107, allocations: 40 kB / 1.458 GB, free: 0.9766 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008673/1.108, allocations: 55.97 kB / 1.458 GB, free: 0.9219 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/1.108, allocations: 133.8 kB / 1.458 GB, free: 0.793 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/1.108, allocations: 71.97 kB / 1.458 GB, free: 0.7227 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006455/1.109, allocations: 0.5459 MB / 1.458 GB, free: 176 kB / 1.139 GB Notification: Performance of sort global known variables: time 2.31e-07/1.109, allocations: 0 / 1.458 GB, free: 176 kB / 1.139 GB Notification: Performance of remove unused functions: time 0.001378/1.11, allocations: 0.6552 MB / 1.459 GB, free: 15.52 MB / 1.154 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.006339/1.116, allocations: 4.911 MB / 1.464 GB, free: 10.57 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003381/1.12, allocations: 2.325 MB / 1.466 GB, free: 8.246 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.12, allocations: 0.9375 kB / 1.466 GB, free: 8.246 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001804/1.122, allocations: 1.284 MB / 1.467 GB, free: 6.969 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/1.124, allocations: 0.5709 MB / 1.468 GB, free: 6.406 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01903/1.143, allocations: 13.68 MB / 1.481 GB, free: 8.453 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009508/1.144, allocations: 1.339 MB / 1.483 GB, free: 7.082 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001869/1.146, allocations: 0.7189 MB / 1.483 GB, free: 6.355 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009575/1.147, allocations: 0.6242 MB / 1.484 GB, free: 5.73 MB / 1.17 GB Notification: Performance of SimCode: time 1.042e-06/1.147, allocations: 4 kB / 1.484 GB, free: 5.727 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06717/1.214, allocations: 39.81 MB / 1.523 GB, free: 14.36 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/14.21, allocations: 3.938 kB / 1.523 GB, free: 14.35 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches