Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 225.6 MB / 249.3 MB, free: 3.043 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.467/2.467, allocations: 476.7 MB / 0.7628 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] 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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 67.89 kB / 1.107 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7354/0.7372, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1958/0.933, allocations: 180.1 MB / 1.447 GB, free: 0.5508 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.9495, allocations: 11.04 MB / 1.458 GB, free: 5.48 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002564/0.9521, allocations: 95.5 kB / 1.458 GB, free: 5.387 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.004957/0.9571, allocations: 2.028 MB / 1.46 GB, free: 3.348 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004306/0.9614, allocations: 1.671 MB / 1.462 GB, free: 1.668 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.9635, allocations: 0.8209 MB / 1.463 GB, free: 0.8516 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004149/0.9676, allocations: 3.157 MB / 1.466 GB, free: 13.68 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.9689, allocations: 0.8243 MB / 1.467 GB, free: 12.83 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.9706, allocations: 1.155 MB / 1.468 GB, free: 11.67 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.9727, allocations: 1.155 MB / 1.469 GB, free: 10.51 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003032/0.973, allocations: 124 kB / 1.469 GB, free: 10.39 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.9748, allocations: 0.9705 MB / 1.47 GB, free: 9.418 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005298/0.9753, allocations: 493.9 kB / 1.47 GB, free: 8.934 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.9766, allocations: 1.091 MB / 1.471 GB, free: 7.836 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004106/0.9807, allocations: 3.494 MB / 1.475 GB, free: 4.328 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.9807, allocations: 0 / 1.475 GB, free: 4.328 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9807, allocations: 0 / 1.475 GB, free: 4.328 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.127e-05/0.9808, allocations: 0 / 1.475 GB, free: 4.328 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004013/0.9848, allocations: 2.89 MB / 1.478 GB, free: 1.371 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.9848, allocations: 11.97 kB / 1.478 GB, free: 1.359 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/0.985, allocations: 126.7 kB / 1.478 GB, free: 1.227 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.9863, allocations: 394 kB / 1.478 GB, free: 0.8398 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002867/0.9891, allocations: 2.035 MB / 1.48 GB, free: 14.74 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.934e-05/0.9892, allocations: 58 kB / 1.48 GB, free: 14.68 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.9893, allocations: 79.94 kB / 1.48 GB, free: 14.61 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.9906, allocations: 0.9446 MB / 1.481 GB, free: 13.62 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.9907, allocations: 0 / 1.481 GB, free: 13.62 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.828e-05/0.9907, allocations: 32 kB / 1.481 GB, free: 13.59 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.873e-05/0.9908, allocations: 28.94 kB / 1.481 GB, free: 13.56 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.9918, allocations: 0.7025 MB / 1.482 GB, free: 12.86 MB / 1.17 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.005225/0.9971, allocations: 4.453 MB / 1.486 GB, free: 8.191 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/0.9975, allocations: 302.6 kB / 1.487 GB, free: 7.887 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.9978, allocations: 165.3 kB / 1.487 GB, free: 7.723 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.998, allocations: 109 kB / 1.487 GB, free: 7.598 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.998, allocations: 30.56 kB / 1.487 GB, free: 7.559 MB / 1.17 GB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.998, allocations: 4 kB / 1.487 GB, free: 7.555 MB / 1.17 GB Notification: Performance of matching and sorting (n=32): time 0.002729/1.001, allocations: 1.745 MB / 1.489 GB, free: 5.727 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/1.001, allocations: 55.41 kB / 1.489 GB, free: 5.66 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003647/1.004, allocations: 2.945 MB / 1.491 GB, free: 2.699 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/1.004, allocations: 37.7 kB / 1.492 GB, free: 2.656 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009675/1.005, allocations: 1.071 MB / 1.493 GB, free: 1.578 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/1.006, allocations: 115 kB / 1.493 GB, free: 1.465 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/1.006, allocations: 114.2 kB / 1.493 GB, free: 1.348 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.006, allocations: 326 kB / 1.493 GB, free: 1.023 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/1.006, allocations: 161 kB / 1.493 GB, free: 0.8633 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004085/1.006, allocations: 378.3 kB / 1.494 GB, free: 420 kB / 1.17 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/1.009, allocations: 1.077 MB / 1.495 GB, free: 15.23 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.009, allocations: 4 kB / 1.495 GB, free: 15.23 MB / 1.186 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001148/1.01, allocations: 0.8129 MB / 1.495 GB, free: 14.4 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/1.01, allocations: 8 kB / 1.495 GB, free: 14.39 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/1.01, allocations: 8 kB / 1.495 GB, free: 14.39 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/1.01, allocations: 60.81 kB / 1.496 GB, free: 14.32 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/1.01, allocations: 103.8 kB / 1.496 GB, free: 14.22 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/1.012, allocations: 1.861 MB / 1.497 GB, free: 12.23 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006495/1.013, allocations: 27.92 kB / 1.497 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/1.013, allocations: 28.06 kB / 1.498 GB, free: 12.17 MB / 1.186 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009082/1.013, allocations: 0.7862 MB / 1.498 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/1.014, allocations: 250.4 kB / 1.499 GB, free: 11.13 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003423/1.014, allocations: 255.6 kB / 1.499 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.014, allocations: 4 kB / 1.499 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/1.014, allocations: 0 / 1.499 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006814/1.015, allocations: 0.601 MB / 1.499 GB, free: 10.2 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/1.018, allocations: 2.046 MB / 1.501 GB, free: 8.051 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.018, allocations: 4 kB / 1.501 GB, free: 8.047 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/1.018, allocations: 63.91 kB / 1.501 GB, free: 7.984 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001393/1.018, allocations: 61.22 kB / 1.501 GB, free: 7.922 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/1.018, allocations: 15.94 kB / 1.501 GB, free: 7.906 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/1.02, allocations: 1.869 MB / 1.503 GB, free: 5.895 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.02, allocations: 4 kB / 1.503 GB, free: 5.891 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/1.021, allocations: 0.9358 MB / 1.504 GB, free: 4.895 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000565/1.021, allocations: 419.3 kB / 1.505 GB, free: 4.465 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/1.021, allocations: 19.98 kB / 1.505 GB, free: 4.445 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005513/1.022, allocations: 8 kB / 1.505 GB, free: 4.438 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/1.022, allocations: 35.97 kB / 1.505 GB, free: 4.402 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/1.022, allocations: 11.94 kB / 1.505 GB, free: 4.391 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002756/1.025, allocations: 2.091 MB / 1.507 GB, free: 2.297 MB / 1.186 GB Notification: Performance of sort global known variables: time 8.1e-08/1.025, allocations: 0 / 1.507 GB, free: 2.297 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008836/1.026, allocations: 299.9 kB / 1.507 GB, free: 2.004 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001699/1.027, allocations: 1.554 MB / 1.509 GB, free: 400 kB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0008419/1.028, allocations: 0.5154 MB / 1.509 GB, free: 15.86 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.028, allocations: 0 / 1.509 GB, free: 15.86 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000389/1.029, allocations: 303.1 kB / 1.509 GB, free: 15.55 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/1.032, allocations: 0.9449 MB / 1.51 GB, free: 14.64 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02333/1.055, allocations: 17.16 MB / 1.527 GB, free: 13.05 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001887/1.057, allocations: 1.949 MB / 1.529 GB, free: 11.07 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009707/1.058, allocations: 346.8 kB / 1.529 GB, free: 10.73 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009879/1.059, allocations: 0.8038 MB / 1.53 GB, free: 9.922 MB / 1.217 GB Notification: Performance of SimCode: time 8.22e-07/1.059, allocations: 0 / 1.53 GB, free: 9.922 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09736/1.156, allocations: 51.44 MB / 1.58 GB, free: 7.113 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.74, allocations: 6.188 kB / 1.58 GB, free: 7.109 MB / 1.264 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable air.vol.T in file Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv. Warning: Get data of variable air.vol.T from file Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv failed! Error: Could not read variable air.vol.Xi[1] in file Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv. Warning: Get data of variable air.vol.Xi[1] from file Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.088570059997437]