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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 103.3 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002196/0.002196, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 252.8 MB, free: 9 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.718/2.718, allocations: 476.7 MB / 0.7672 GB, free: 5.242 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 74.25 kB / 1.112 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8158/0.8178, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2017/1.019, allocations: 182.8 MB / 1.457 GB, free: 5.93 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01817/1.038, allocations: 11.04 MB / 1.468 GB, free: 10.86 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002979/1.041, allocations: 127 kB / 1.468 GB, free: 10.73 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.006126/1.047, allocations: 2.021 MB / 1.47 GB, free: 8.703 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005211/1.052, allocations: 1.674 MB / 1.471 GB, free: 7.02 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002745/1.055, allocations: 0.7964 MB / 1.472 GB, free: 6.227 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005202/1.06, allocations: 3.137 MB / 1.475 GB, free: 3.078 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/1.062, allocations: 1.047 MB / 1.476 GB, free: 2 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/1.064, allocations: 1.198 MB / 1.477 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002592/1.067, allocations: 1.132 MB / 1.479 GB, free: 15.66 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005214/1.067, allocations: 128 kB / 1.479 GB, free: 15.54 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/1.07, allocations: 0.9783 MB / 1.48 GB, free: 14.56 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007898/1.071, allocations: 493.9 kB / 1.48 GB, free: 14.07 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001968/1.073, allocations: 1.095 MB / 1.481 GB, free: 12.97 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005838/1.079, allocations: 3.502 MB / 1.485 GB, free: 9.457 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.079, allocations: 0 / 1.485 GB, free: 9.457 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.773e-06/1.079, allocations: 4 kB / 1.485 GB, free: 9.453 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001192/1.079, allocations: 0 / 1.485 GB, free: 9.453 MB / 1.186 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.005777/1.084, allocations: 2.894 MB / 1.487 GB, free: 6.492 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.084, allocations: 8.031 kB / 1.487 GB, free: 6.484 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002589/1.085, allocations: 126.7 kB / 1.488 GB, free: 6.352 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/1.086, allocations: 394 kB / 1.488 GB, free: 5.965 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004105/1.091, allocations: 2.047 MB / 1.49 GB, free: 3.855 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.571e-05/1.091, allocations: 62 kB / 1.49 GB, free: 3.793 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/1.091, allocations: 79.95 kB / 1.49 GB, free: 3.715 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/1.092, allocations: 0.9406 MB / 1.491 GB, free: 2.73 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/1.092, allocations: 7.938 kB / 1.491 GB, free: 2.723 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.957e-05/1.093, allocations: 32 kB / 1.491 GB, free: 2.691 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/1.093, allocations: 28.94 kB / 1.491 GB, free: 2.664 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/1.094, allocations: 0.6947 MB / 1.492 GB, free: 1.969 MB / 1.186 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.007108/1.101, allocations: 4.469 MB / 1.496 GB, free: 13.29 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005274/1.101, allocations: 295.9 kB / 1.496 GB, free: 12.99 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/1.102, allocations: 173.5 kB / 1.496 GB, free: 12.82 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/1.102, allocations: 93.11 kB / 1.497 GB, free: 12.71 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/1.102, allocations: 42.55 kB / 1.497 GB, free: 12.66 MB / 1.201 GB Notification: Performance of pre-optimization done (n=30): time 2.474e-06/1.102, allocations: 0 / 1.497 GB, free: 12.66 MB / 1.201 GB Notification: Performance of matching and sorting (n=32): time 0.003602/1.106, allocations: 1.736 MB / 1.498 GB, free: 10.84 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/1.106, allocations: 55.41 kB / 1.498 GB, free: 10.78 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004983/1.111, allocations: 2.949 MB / 1.501 GB, free: 7.812 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.145e-05/1.111, allocations: 33.7 kB / 1.501 GB, free: 7.773 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/1.112, allocations: 1.079 MB / 1.502 GB, free: 6.688 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/1.112, allocations: 115 kB / 1.502 GB, free: 6.574 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/1.112, allocations: 118.1 kB / 1.503 GB, free: 6.453 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.112, allocations: 322 kB / 1.503 GB, free: 6.133 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/1.113, allocations: 169 kB / 1.503 GB, free: 5.969 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/1.113, allocations: 374.2 kB / 1.503 GB, free: 5.516 MB / 1.201 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.002221/1.115, allocations: 1.087 MB / 1.504 GB, free: 4.328 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/1.115, allocations: 4 kB / 1.504 GB, free: 4.324 MB / 1.201 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001473/1.117, allocations: 0.7946 MB / 1.505 GB, free: 3.52 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.117, allocations: 12 kB / 1.505 GB, free: 3.508 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.117, allocations: 11.94 kB / 1.505 GB, free: 3.496 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002137/1.117, allocations: 60.81 kB / 1.505 GB, free: 3.434 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/1.117, allocations: 107.8 kB / 1.505 GB, free: 3.328 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/1.119, allocations: 1.857 MB / 1.507 GB, free: 1.336 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/1.12, allocations: 31.88 kB / 1.507 GB, free: 1.305 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/1.12, allocations: 28.06 kB / 1.507 GB, free: 1.277 MB / 1.201 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.001188/1.121, allocations: 0.793 MB / 1.508 GB, free: 488 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004699/1.122, allocations: 246.4 kB / 1.508 GB, free: 240 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006076/1.122, allocations: 251.8 kB / 1.509 GB, free: 15.98 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/1.122, allocations: 4 kB / 1.509 GB, free: 15.98 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.122, allocations: 0 / 1.509 GB, free: 15.98 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007455/1.123, allocations: 0.6009 MB / 1.509 GB, free: 15.31 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003808/1.127, allocations: 2.05 MB / 1.511 GB, free: 13.16 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.127, allocations: 0 / 1.511 GB, free: 13.16 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/1.127, allocations: 71.84 kB / 1.511 GB, free: 13.09 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/1.128, allocations: 53.23 kB / 1.511 GB, free: 13.03 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/1.128, allocations: 16 kB / 1.511 GB, free: 13.02 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/1.129, allocations: 1.857 MB / 1.513 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/1.129, allocations: 7.938 kB / 1.513 GB, free: 11.01 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/1.131, allocations: 0.9398 MB / 1.514 GB, free: 10.01 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008515/1.131, allocations: 419.4 kB / 1.514 GB, free: 9.578 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003852/1.132, allocations: 15.98 kB / 1.514 GB, free: 9.562 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007325/1.133, allocations: 8 kB / 1.514 GB, free: 9.555 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/1.133, allocations: 35.84 kB / 1.514 GB, free: 9.52 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/1.133, allocations: 20.05 kB / 1.514 GB, free: 9.5 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003619/1.136, allocations: 2.083 MB / 1.517 GB, free: 7.414 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.01e-07/1.136, allocations: 0 / 1.517 GB, free: 7.414 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001304/1.138, allocations: 300 kB / 1.517 GB, free: 7.121 MB / 1.217 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.001974/1.14, allocations: 1.542 MB / 1.518 GB, free: 5.508 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001001/1.141, allocations: 0.5224 MB / 1.519 GB, free: 4.973 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.141, allocations: 0 / 1.519 GB, free: 4.973 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0004233/1.141, allocations: 291.7 kB / 1.519 GB, free: 4.676 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004101/1.145, allocations: 0.9408 MB / 1.52 GB, free: 3.762 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0291/1.174, allocations: 17.16 MB / 1.537 GB, free: 2.191 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002353/1.177, allocations: 1.957 MB / 1.539 GB, free: 204 kB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001253/1.178, allocations: 346.8 kB / 1.539 GB, free: 15.86 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/1.179, allocations: 0.8 MB / 1.54 GB, free: 15.05 MB / 1.248 GB Notification: Performance of SimCode: time 1.011e-06/1.179, allocations: 0 / 1.54 GB, free: 15.05 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1103/1.289, allocations: 51.38 MB / 1.59 GB, free: 12.38 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/14.41, allocations: 7.156 kB / 1.59 GB, free: 12.37 MB / 1.295 GB " [Timeout remaining time 285] (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: 20.935129213146865]