Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001893/0.001893, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.00234/0.00234, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.415/1.415, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.091/3.091, allocations: 0.505 GB / 0.8066 GB, free: 23.01 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_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.002163/0.002163, allocations: 61.83 kB / 1.172 GB, free: 17.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3439, allocations: 180.2 MB / 1.348 GB, free: 9.84 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2115/0.5555, allocations: 182.8 MB / 1.526 GB, free: 2.332 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01663/0.5721, allocations: 11.04 MB / 1.537 GB, free: 7.258 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002922/0.575, allocations: 127 kB / 1.537 GB, free: 7.133 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.005583/0.5806, allocations: 2.017 MB / 1.539 GB, free: 5.105 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004726/0.5853, allocations: 1.681 MB / 1.541 GB, free: 3.418 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.5877, allocations: 0.7996 MB / 1.542 GB, free: 2.621 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004764/0.5925, allocations: 3.145 MB / 1.545 GB, free: 15.47 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.5941, allocations: 1.039 MB / 1.546 GB, free: 14.4 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.5964, allocations: 1.326 MB / 1.547 GB, free: 13.07 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00203/0.5984, allocations: 1.149 MB / 1.548 GB, free: 11.92 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002629/0.5987, allocations: 128 kB / 1.548 GB, free: 11.8 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.6006, allocations: 0.9667 MB / 1.549 GB, free: 10.83 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005188/0.6011, allocations: 489.9 kB / 1.55 GB, free: 10.35 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.6023, allocations: 1.088 MB / 1.551 GB, free: 9.254 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.004733/0.607, allocations: 3.51 MB / 1.554 GB, free: 5.73 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.607, allocations: 0 / 1.554 GB, free: 5.73 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.593e-06/0.607, allocations: 0 / 1.554 GB, free: 5.73 MB / 1.248 GB Notification: Performance of Transformations before backend: time 4.156e-05/0.6071, allocations: 0 / 1.554 GB, free: 5.73 MB / 1.248 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.004156/0.6112, allocations: 2.902 MB / 1.557 GB, free: 2.762 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.6113, allocations: 19.98 kB / 1.557 GB, free: 2.742 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001575/0.6114, allocations: 122.7 kB / 1.557 GB, free: 2.613 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.6129, allocations: 378.1 kB / 1.558 GB, free: 2.242 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003135/0.616, allocations: 2.058 MB / 1.56 GB, free: 124 kB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.285e-05/0.6161, allocations: 58 kB / 1.56 GB, free: 64 kB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.6162, allocations: 76.08 kB / 1.56 GB, free: 15.98 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.6177, allocations: 0.9406 MB / 1.561 GB, free: 15 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.6177, allocations: 3.938 kB / 1.561 GB, free: 15 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.306e-05/0.6178, allocations: 32 kB / 1.561 GB, free: 14.97 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/0.6178, allocations: 32.94 kB / 1.561 GB, free: 14.94 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.6189, allocations: 0.6986 MB / 1.561 GB, free: 14.24 MB / 1.264 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.005843/0.6248, allocations: 4.461 MB / 1.566 GB, free: 9.566 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004883/0.6253, allocations: 298.6 kB / 1.566 GB, free: 9.266 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.6255, allocations: 171 kB / 1.566 GB, free: 9.098 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.6257, allocations: 101.1 kB / 1.566 GB, free: 8.98 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.6257, allocations: 34.56 kB / 1.566 GB, free: 8.938 MB / 1.264 GB Notification: Performance of pre-optimization done (n=30): time 2.104e-06/0.6257, allocations: 0 / 1.566 GB, free: 8.938 MB / 1.264 GB Notification: Performance of matching and sorting (n=32): time 0.003075/0.6288, allocations: 1.747 MB / 1.568 GB, free: 7.109 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.6288, allocations: 55.41 kB / 1.568 GB, free: 7.043 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004216/0.6331, allocations: 2.945 MB / 1.571 GB, free: 4.082 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/0.6331, allocations: 33.7 kB / 1.571 GB, free: 4.043 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009973/0.6341, allocations: 1.063 MB / 1.572 GB, free: 2.973 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.6342, allocations: 130.9 kB / 1.572 GB, free: 2.844 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.6344, allocations: 114.2 kB / 1.572 GB, free: 2.727 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6345, allocations: 330 kB / 1.573 GB, free: 2.398 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.6348, allocations: 161 kB / 1.573 GB, free: 2.238 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.6352, allocations: 370.3 kB / 1.573 GB, free: 1.789 MB / 1.264 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.00218/0.6374, allocations: 1.071 MB / 1.574 GB, free: 0.6133 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.6374, allocations: 4 kB / 1.574 GB, free: 0.6094 MB / 1.264 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001304/0.6387, allocations: 0.8092 MB / 1.575 GB, free: 15.79 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.6387, allocations: 8.844 kB / 1.575 GB, free: 15.78 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.6388, allocations: 4 kB / 1.575 GB, free: 15.78 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.6389, allocations: 68.81 kB / 1.575 GB, free: 15.71 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.6393, allocations: 103.8 kB / 1.575 GB, free: 15.61 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.641, allocations: 1.865 MB / 1.577 GB, free: 13.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008509/0.6419, allocations: 27.89 kB / 1.577 GB, free: 13.57 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/0.6419, allocations: 27.98 kB / 1.577 GB, free: 13.55 MB / 1.279 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.00107/0.643, allocations: 0.7941 MB / 1.578 GB, free: 12.74 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/0.6433, allocations: 254.3 kB / 1.578 GB, free: 12.49 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000459/0.6438, allocations: 251.7 kB / 1.578 GB, free: 12.25 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.6438, allocations: 4 kB / 1.578 GB, free: 12.24 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6438, allocations: 0 / 1.578 GB, free: 12.24 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00072/0.6445, allocations: 0.6008 MB / 1.579 GB, free: 11.57 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/0.6479, allocations: 2.038 MB / 1.581 GB, free: 9.426 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.6479, allocations: 4 kB / 1.581 GB, free: 9.422 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/0.6482, allocations: 63.91 kB / 1.581 GB, free: 9.359 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001605/0.6484, allocations: 56.81 kB / 1.581 GB, free: 9.301 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.6484, allocations: 12 kB / 1.581 GB, free: 9.289 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.6501, allocations: 1.862 MB / 1.583 GB, free: 7.285 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.6501, allocations: 12.03 kB / 1.583 GB, free: 7.273 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.6514, allocations: 0.9279 MB / 1.584 GB, free: 6.285 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007898/0.6522, allocations: 427.4 kB / 1.584 GB, free: 5.848 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/0.6525, allocations: 12 kB / 1.584 GB, free: 5.836 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006693/0.6532, allocations: 16.8 kB / 1.584 GB, free: 5.82 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.6533, allocations: 31.84 kB / 1.584 GB, free: 5.789 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.6533, allocations: 15.94 kB / 1.584 GB, free: 5.773 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003462/0.6567, allocations: 2.087 MB / 1.586 GB, free: 3.684 MB / 1.279 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6567, allocations: 4 kB / 1.586 GB, free: 3.68 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001243/0.658, allocations: 303.9 kB / 1.586 GB, free: 3.383 MB / 1.279 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.00191/0.6599, allocations: 1.554 MB / 1.588 GB, free: 1.762 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0009804/0.6609, allocations: 0.511 MB / 1.588 GB, free: 1.238 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6609, allocations: 0 / 1.588 GB, free: 1.238 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0004252/0.6613, allocations: 300.4 kB / 1.589 GB, free: 0.9336 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003892/0.6652, allocations: 0.9483 MB / 1.59 GB, free: 8 kB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6654/1.331, allocations: 17.14 MB / 1.606 GB, free: 251.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002157/1.333, allocations: 1.952 MB / 1.608 GB, free: 250.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001286/1.334, allocations: 342.3 kB / 1.609 GB, free: 250.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009738/1.335, allocations: 0.8029 MB / 1.609 GB, free: 250.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.252e-06/1.335, allocations: 0 / 1.609 GB, free: 250.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/1.437, allocations: 51.37 MB / 1.66 GB, free: 225.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/15.3, allocations: 5.938 kB / 1.66 GB, free: 225.9 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv --start-time 0 --stop-time 3600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv. Warning: Get data of variable air.vol.T from file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv failed! Error: Could not read variable air.vol.Xi[1] in file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv. Warning: Get data of variable air.vol.Xi[1] from file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.06583649595268]