Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.001429/0.001429, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001756/0.001756, allocations: 219.6 kB / 22.26 MB, free: 5.117 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 8.016 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.975/2.975, allocations: 476.7 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 176] 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.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.002135/0.002135, allocations: 67.84 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3476, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2406/0.5883, allocations: 185.7 MB / 1.465 GB, free: 1.309 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.009844/0.5981, allocations: 5.398 MB / 1.47 GB, free: 11.91 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.5993, allocations: 47.62 kB / 1.47 GB, free: 11.86 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.6008, allocations: 473.3 kB / 1.47 GB, free: 11.39 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005224/0.606, allocations: 1.762 MB / 1.472 GB, free: 9.625 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002599/0.6086, allocations: 0.8475 MB / 1.473 GB, free: 8.781 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003716/0.6123, allocations: 2.271 MB / 1.475 GB, free: 6.5 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.6135, allocations: 0.5451 MB / 1.476 GB, free: 5.945 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.6152, allocations: 0.79 MB / 1.477 GB, free: 5.152 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.6173, allocations: 0.7339 MB / 1.477 GB, free: 4.426 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002473/0.6176, allocations: 76 kB / 1.477 GB, free: 4.352 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003407/0.621, allocations: 1.516 MB / 1.479 GB, free: 2.832 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005503/0.6215, allocations: 335 kB / 1.479 GB, free: 2.504 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0009265/0.6225, allocations: 469.8 kB / 1.48 GB, free: 2.043 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00335/0.6258, allocations: 1.663 MB / 1.481 GB, free: 384 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6258, allocations: 0 / 1.481 GB, free: 384 kB / 1.17 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6258, allocations: 4 kB / 1.481 GB, free: 380 kB / 1.17 GB Notification: Performance of Transformations before backend: time 5.584e-05/0.6259, allocations: 0 / 1.481 GB, free: 380 kB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.003212/0.6291, allocations: 1.138 MB / 1.482 GB, free: 15.2 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.6291, allocations: 8.031 kB / 1.482 GB, free: 15.19 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/0.6293, allocations: 106.5 kB / 1.482 GB, free: 15.07 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/0.6314, allocations: 279.2 kB / 1.483 GB, free: 14.8 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.633, allocations: 0.6422 MB / 1.483 GB, free: 14.14 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.633, allocations: 45.31 kB / 1.483 GB, free: 14.09 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.6332, allocations: 56 kB / 1.483 GB, free: 14.04 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.6345, allocations: 0.5882 MB / 1.484 GB, free: 13.44 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.6345, allocations: 0 / 1.484 GB, free: 13.44 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.328e-05/0.6345, allocations: 23.98 kB / 1.484 GB, free: 13.42 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.263e-05/0.6346, allocations: 21.31 kB / 1.484 GB, free: 13.39 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.6356, allocations: 0.5048 MB / 1.485 GB, free: 12.89 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.004074/0.6397, allocations: 2.341 MB / 1.487 GB, free: 10.36 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009362/0.6406, allocations: 410.9 kB / 1.487 GB, free: 9.953 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.641, allocations: 212.8 kB / 1.487 GB, free: 9.742 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.6412, allocations: 23.98 kB / 1.487 GB, free: 9.719 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.579e-05/0.6413, allocations: 42.56 kB / 1.487 GB, free: 9.668 MB / 1.186 GB Notification: Performance of pre-optimization done (n=43): time 3.176e-06/0.6413, allocations: 0 / 1.487 GB, free: 9.668 MB / 1.186 GB Notification: Performance of matching and sorting (n=48): time 0.003315/0.6446, allocations: 1.369 MB / 1.489 GB, free: 8.266 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.6446, allocations: 59.84 kB / 1.489 GB, free: 8.195 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008427/0.6455, allocations: 0.5421 MB / 1.489 GB, free: 7.641 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.571e-05/0.6455, allocations: 37.7 kB / 1.489 GB, free: 7.598 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/0.6459, allocations: 321.2 kB / 1.49 GB, free: 7.281 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.6461, allocations: 194.4 kB / 1.49 GB, free: 7.09 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.6462, allocations: 86.19 kB / 1.49 GB, free: 7 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.6464, allocations: 374.7 kB / 1.49 GB, free: 6.625 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/0.6467, allocations: 172.9 kB / 1.491 GB, free: 6.457 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/0.6472, allocations: 260.1 kB / 1.491 GB, free: 6.18 MB / 1.186 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003441/0.6506, allocations: 1.289 MB / 1.492 GB, free: 4.879 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6506, allocations: 0 / 1.492 GB, free: 4.879 MB / 1.186 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009651/0.6516, allocations: 0.5346 MB / 1.493 GB, free: 4.336 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.6516, allocations: 4 kB / 1.493 GB, free: 4.332 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.6516, allocations: 4 kB / 1.493 GB, free: 4.328 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.6516, allocations: 160 / 1.493 GB, free: 4.328 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.652, allocations: 103.8 kB / 1.493 GB, free: 4.227 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.6521, allocations: 4 kB / 1.493 GB, free: 4.223 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006046/0.6527, allocations: 21.92 kB / 1.493 GB, free: 4.203 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.6527, allocations: 16 kB / 1.493 GB, free: 4.188 MB / 1.186 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0003845/0.6531, allocations: 257.7 kB / 1.493 GB, free: 3.93 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.6532, allocations: 71.58 kB / 1.493 GB, free: 3.859 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.6534, allocations: 78.39 kB / 1.493 GB, free: 3.781 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.6534, allocations: 12 kB / 1.493 GB, free: 3.77 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.6534, allocations: 0 / 1.493 GB, free: 3.77 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007786/0.6542, allocations: 0.5105 MB / 1.494 GB, free: 3.227 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/0.6568, allocations: 1.557 MB / 1.495 GB, free: 1.559 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.6568, allocations: 4 kB / 1.495 GB, free: 1.555 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/0.6573, allocations: 115.8 kB / 1.495 GB, free: 1.441 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.491e-05/0.6573, allocations: 11.94 kB / 1.495 GB, free: 1.43 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.6574, allocations: 12 kB / 1.495 GB, free: 1.418 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.6574, allocations: 8 kB / 1.495 GB, free: 1.41 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/0.6574, allocations: 16.36 kB / 1.495 GB, free: 1.395 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.6587, allocations: 0.9139 MB / 1.496 GB, free: 412 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003351/0.659, allocations: 123.7 kB / 1.496 GB, free: 288 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.556e-05/0.6591, allocations: 19.94 kB / 1.496 GB, free: 268 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005219/0.6597, allocations: 16 kB / 1.496 GB, free: 252 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.311e-05/0.6597, allocations: 59.73 kB / 1.496 GB, free: 192 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.6598, allocations: 23.98 kB / 1.496 GB, free: 168 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000526/0.6603, allocations: 398.8 kB / 1.497 GB, free: 15.78 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.6603, allocations: 0 / 1.497 GB, free: 15.78 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007168/0.661, allocations: 199.9 kB / 1.497 GB, free: 15.58 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.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 (49): * Single equations (assignments): 49 * 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 Backend phase and start with SimCode phase: time 0.001819/0.6628, allocations: 1.518 MB / 1.498 GB, free: 13.98 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0008328/0.6637, allocations: 425.2 kB / 1.499 GB, free: 13.56 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6637, allocations: 0 / 1.499 GB, free: 13.56 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.6641, allocations: 228.8 kB / 1.499 GB, free: 13.34 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/0.6662, allocations: 498.9 kB / 1.5 GB, free: 12.87 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008134/0.6743, allocations: 5.486 MB / 1.505 GB, free: 7.148 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000702/0.675, allocations: 0.9773 MB / 1.506 GB, free: 6.141 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0006845/0.6757, allocations: 165.8 kB / 1.506 GB, free: 5.977 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/0.6761, allocations: 247.4 kB / 1.506 GB, free: 5.734 MB / 1.201 GB Notification: Performance of SimCode: time 8.11e-07/0.6761, allocations: 0 / 1.506 GB, free: 5.734 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06336/0.7395, allocations: 20.84 MB / 1.527 GB, free: 1.242 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.22, allocations: 6.234 kB / 1.527 GB, free: 1.238 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.158327179960907]