Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_11_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.007548/0.007548, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.002096/0.002096, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 59.91 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6704/0.6723, allocations: 159.1 MB / 1.22 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1847/0.8571, allocations: 166.9 MB / 1.383 GB, free: 10.48 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01311/0.8702, allocations: 8.511 MB / 1.391 GB, free: 1.945 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.8715, allocations: 35.81 kB / 1.391 GB, free: 1.91 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.8732, allocations: 0.5589 MB / 1.392 GB, free: 1.348 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004084/0.8773, allocations: 1.545 MB / 1.394 GB, free: 15.8 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.8799, allocations: 0.9962 MB / 1.395 GB, free: 14.8 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004895/0.8848, allocations: 4.101 MB / 1.399 GB, free: 10.69 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/0.8867, allocations: 1.315 MB / 1.4 GB, free: 9.355 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003143/0.8899, allocations: 1.492 MB / 1.401 GB, free: 7.863 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/0.8921, allocations: 1.503 MB / 1.403 GB, free: 6.355 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000319/0.8924, allocations: 188 kB / 1.403 GB, free: 6.172 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.8948, allocations: 1.1 MB / 1.404 GB, free: 5.07 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006969/0.8955, allocations: 0.6739 MB / 1.405 GB, free: 4.395 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.8967, allocations: 1.031 MB / 1.406 GB, free: 3.359 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003341/0.9, allocations: 2.764 MB / 1.408 GB, free: 0.5898 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.9001, allocations: 4 kB / 1.408 GB, free: 0.5859 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9001, allocations: 0 / 1.408 GB, free: 0.5859 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.881e-05/0.9001, allocations: 0 / 1.408 GB, free: 0.5859 MB / 1.123 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.004786/0.9049, allocations: 2.322 MB / 1.411 GB, free: 14.2 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.905, allocations: 8.031 kB / 1.411 GB, free: 14.2 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002876/0.9052, allocations: 227.9 kB / 1.411 GB, free: 13.96 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005141/0.9058, allocations: 203.7 kB / 1.411 GB, free: 13.76 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.9078, allocations: 1.197 MB / 1.412 GB, free: 12.52 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.686e-05/0.9079, allocations: 115 kB / 1.412 GB, free: 12.41 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/0.9082, allocations: 156 kB / 1.412 GB, free: 12.25 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003222/0.9114, allocations: 1.919 MB / 1.414 GB, free: 10.29 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.844e-05/0.9115, allocations: 3.938 kB / 1.414 GB, free: 10.29 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.9116, allocations: 60 kB / 1.414 GB, free: 10.23 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.9117, allocations: 40 kB / 1.414 GB, free: 10.19 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004203/0.9159, allocations: 2.475 MB / 1.417 GB, free: 7.711 MB / 1.139 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.008667/0.9246, allocations: 6.125 MB / 1.423 GB, free: 1.211 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004025/0.9286, allocations: 2.806 MB / 1.426 GB, free: 14.4 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002273/0.9309, allocations: 1.425 MB / 1.427 GB, free: 12.97 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001825/0.9327, allocations: 1.734 MB / 1.429 GB, free: 10.87 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.9328, allocations: 56.56 kB / 1.429 GB, free: 10.8 MB / 1.154 GB Notification: Performance of pre-optimization done (n=237): time 3.837e-06/0.9328, allocations: 3.938 kB / 1.429 GB, free: 10.8 MB / 1.154 GB Notification: Performance of matching and sorting (n=237): time 0.006353/0.9392, allocations: 3.446 MB / 1.432 GB, free: 7.305 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.9393, allocations: 73.41 kB / 1.432 GB, free: 7.223 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.9405, allocations: 0.7822 MB / 1.433 GB, free: 6.43 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.9406, allocations: 61.7 kB / 1.433 GB, free: 6.363 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/0.941, allocations: 499.2 kB / 1.433 GB, free: 5.867 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007255/0.9417, allocations: 0.8326 MB / 1.434 GB, free: 5.027 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005351/0.9423, allocations: 347.7 kB / 1.435 GB, free: 4.68 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.9424, allocations: 301.1 kB / 1.435 GB, free: 4.383 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/0.944, allocations: 0.898 MB / 1.436 GB, free: 3.48 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/0.9458, allocations: 1.129 MB / 1.437 GB, free: 2.293 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003656/0.9495, allocations: 2.227 MB / 1.439 GB, free: 24 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.9495, allocations: 0 / 1.439 GB, free: 24 kB / 1.154 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004303/0.9538, allocations: 2.445 MB / 1.441 GB, free: 13.57 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.9539, allocations: 8 kB / 1.441 GB, free: 13.56 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.9539, allocations: 3.984 kB / 1.441 GB, free: 13.55 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.9539, allocations: 16 kB / 1.441 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.9557, allocations: 427.4 kB / 1.442 GB, free: 13.12 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.482e-05/0.9558, allocations: 15.94 kB / 1.442 GB, free: 13.11 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.9568, allocations: 162.8 kB / 1.442 GB, free: 12.95 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.957, allocations: 84.02 kB / 1.442 GB, free: 12.86 MB / 1.17 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.0006989/0.9577, allocations: 433.3 kB / 1.443 GB, free: 12.43 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/0.958, allocations: 155 kB / 1.443 GB, free: 12.28 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004982/0.963, allocations: 2.733 MB / 1.445 GB, free: 9.52 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.466e-05/0.963, allocations: 27.98 kB / 1.445 GB, free: 9.492 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.963, allocations: 0 / 1.445 GB, free: 9.492 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003855/0.9669, allocations: 2.381 MB / 1.448 GB, free: 7.059 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006775/0.9737, allocations: 4.298 MB / 1.452 GB, free: 2.691 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.9737, allocations: 0 / 1.452 GB, free: 2.691 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/0.9755, allocations: 407.6 kB / 1.452 GB, free: 2.293 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005594/0.976, allocations: 101.6 kB / 1.452 GB, free: 2.188 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001456/0.9762, allocations: 51.98 kB / 1.452 GB, free: 2.137 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008273/0.977, allocations: 1.12 MB / 1.454 GB, free: 0.9648 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.977, allocations: 3.938 kB / 1.454 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006629/0.9837, allocations: 4.07 MB / 1.458 GB, free: 12.86 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008224/0.9845, allocations: 483.4 kB / 1.458 GB, free: 12.37 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.9847, allocations: 39.98 kB / 1.458 GB, free: 12.33 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008925/0.9856, allocations: 59.92 kB / 1.458 GB, free: 12.27 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000284/0.9859, allocations: 137.8 kB / 1.458 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.9861, allocations: 71.97 kB / 1.458 GB, free: 12.07 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007518/0.9869, allocations: 0.542 MB / 1.459 GB, free: 11.53 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9869, allocations: 0 / 1.459 GB, free: 11.53 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001416/0.9883, allocations: 0.6591 MB / 1.459 GB, free: 10.87 MB / 1.186 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.007526/0.9958, allocations: 4.904 MB / 1.464 GB, free: 5.93 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003959/0.9998, allocations: 2.325 MB / 1.466 GB, free: 3.602 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.9998, allocations: 4.25 kB / 1.466 GB, free: 3.598 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002171/1.002, allocations: 1.284 MB / 1.468 GB, free: 2.316 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/1.005, allocations: 0.5808 MB / 1.468 GB, free: 1.746 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0207/1.025, allocations: 13.67 MB / 1.482 GB, free: 3.801 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/1.026, allocations: 1.339 MB / 1.483 GB, free: 2.426 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001997/1.028, allocations: 0.7189 MB / 1.484 GB, free: 1.699 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/1.03, allocations: 0.6242 MB / 1.484 GB, free: 1.074 MB / 1.201 GB Notification: Performance of SimCode: time 5.21e-07/1.03, allocations: 0 / 1.484 GB, free: 1.074 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07921/1.109, allocations: 39.81 MB / 1.523 GB, free: 9.723 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.72, allocations: 6.25 kB / 1.523 GB, free: 9.719 MB / 1.248 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.csv --start-time 0 --stop-time 7200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_11_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches