Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001303/0.001303, allocations: 78.09 kB / 19.76 MB, free: 2.027 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.001388/0.001388, allocations: 159.1 kB / 23.01 MB, free: 4.949 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.393/1.393, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.799/2.799, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") [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.002104/0.002104, allocations: 67.89 kB / 0.982 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.062, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2275/1.29, allocations: 160.7 MB / 1.311 GB, free: 4.406 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01056/1.3, allocations: 5.078 MB / 1.316 GB, free: 392 kB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/1.302, allocations: 46.62 kB / 1.316 GB, free: 368 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/1.303, allocations: 431 kB / 1.316 GB, free: 12 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006484/1.31, allocations: 1.741 MB / 1.318 GB, free: 14.68 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003552/1.313, allocations: 0.8224 MB / 1.319 GB, free: 14.04 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005913/1.319, allocations: 2.262 MB / 1.321 GB, free: 12.71 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/1.321, allocations: 0.5345 MB / 1.321 GB, free: 12.32 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003531/1.324, allocations: 0.9927 MB / 1.322 GB, free: 11.74 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003311/1.327, allocations: 0.7072 MB / 1.323 GB, free: 11.33 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002709/1.328, allocations: 75.88 kB / 1.323 GB, free: 11.33 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004406/1.332, allocations: 1.149 MB / 1.324 GB, free: 10.18 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006753/1.333, allocations: 331 kB / 1.325 GB, free: 9.855 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001007/1.334, allocations: 394.3 kB / 1.325 GB, free: 9.469 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004549/1.338, allocations: 1.631 MB / 1.327 GB, free: 7.832 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.338, allocations: 0 / 1.327 GB, free: 7.832 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.705e-06/1.338, allocations: 0 / 1.327 GB, free: 7.832 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.884e-05/1.338, allocations: 0 / 1.327 GB, free: 7.832 MB / 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.003149/1.342, allocations: 1.138 MB / 1.328 GB, free: 6.656 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/1.342, allocations: 8.031 kB / 1.328 GB, free: 6.648 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003479/1.345, allocations: 275.2 kB / 1.328 GB, free: 6.379 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/1.347, allocations: 0.65 MB / 1.329 GB, free: 5.703 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.563e-05/1.348, allocations: 45.31 kB / 1.329 GB, free: 5.656 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/1.348, allocations: 56 kB / 1.329 GB, free: 5.602 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/1.35, allocations: 0.7851 MB / 1.33 GB, free: 4.762 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/1.35, allocations: 0 / 1.33 GB, free: 4.762 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/1.35, allocations: 24 kB / 1.33 GB, free: 4.738 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.977e-05/1.35, allocations: 25.3 kB / 1.33 GB, free: 4.711 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/1.352, allocations: 0.5009 MB / 1.33 GB, free: 4.211 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005537/1.357, allocations: 1.478 MB / 1.331 GB, free: 2.703 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/1.359, allocations: 414.7 kB / 1.332 GB, free: 2.289 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006085/1.359, allocations: 212.7 kB / 1.332 GB, free: 2.078 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/1.36, allocations: 24 kB / 1.332 GB, free: 2.055 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/1.36, allocations: 38.55 kB / 1.332 GB, free: 2.008 MB / 1.17 GB Notification: Performance of pre-optimization done (n=43): time 1.302e-05/1.36, allocations: 0 / 1.332 GB, free: 2.008 MB / 1.17 GB Notification: Performance of matching and sorting (n=48): time 0.005329/1.365, allocations: 1.37 MB / 1.333 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/1.365, allocations: 59.91 kB / 1.334 GB, free: 0.5352 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/1.366, allocations: 478.9 kB / 1.334 GB, free: 56 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.534e-05/1.366, allocations: 41.64 kB / 1.334 GB, free: 8 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004481/1.367, allocations: 332.9 kB / 1.334 GB, free: 15.68 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002944/1.367, allocations: 182.4 kB / 1.335 GB, free: 15.5 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002497/1.367, allocations: 90.14 kB / 1.335 GB, free: 15.41 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002961/1.368, allocations: 366.7 kB / 1.335 GB, free: 15.04 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005901/1.368, allocations: 184.8 kB / 1.335 GB, free: 14.86 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008772/1.369, allocations: 359 kB / 1.335 GB, free: 14.46 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.006319/1.375, allocations: 1.296 MB / 1.337 GB, free: 13.15 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.375, allocations: 0 / 1.337 GB, free: 13.15 MB / 1.186 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001833/1.377, allocations: 0.5246 MB / 1.337 GB, free: 12.62 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/1.377, allocations: 12 kB / 1.337 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.377, allocations: 0 / 1.337 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/1.377, allocations: 4 kB / 1.337 GB, free: 12.6 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007995/1.378, allocations: 99.83 kB / 1.337 GB, free: 12.5 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/1.378, allocations: 4 kB / 1.337 GB, free: 12.5 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/1.379, allocations: 19.94 kB / 1.337 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/1.379, allocations: 16 kB / 1.337 GB, free: 12.46 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.0006583/1.38, allocations: 247.3 kB / 1.338 GB, free: 12.21 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/1.38, allocations: 67.62 kB / 1.338 GB, free: 12.15 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/1.38, allocations: 73.81 kB / 1.338 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/1.38, allocations: 4 kB / 1.338 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.38, allocations: 0 / 1.338 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001452/1.382, allocations: 0.512 MB / 1.338 GB, free: 11.53 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004336/1.386, allocations: 1.374 MB / 1.34 GB, free: 10.06 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/1.386, allocations: 4 kB / 1.34 GB, free: 10.05 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009787/1.387, allocations: 111.8 kB / 1.34 GB, free: 9.945 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.136e-05/1.387, allocations: 8.625 kB / 1.34 GB, free: 9.938 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.991e-05/1.387, allocations: 19.98 kB / 1.34 GB, free: 9.918 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.526e-05/1.387, allocations: 12 kB / 1.34 GB, free: 9.906 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.428e-05/1.387, allocations: 7.938 kB / 1.34 GB, free: 9.898 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/1.39, allocations: 0.901 MB / 1.341 GB, free: 8.918 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000556/1.39, allocations: 115.6 kB / 1.341 GB, free: 8.805 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/1.39, allocations: 16 kB / 1.341 GB, free: 8.789 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009629/1.391, allocations: 25.81 kB / 1.341 GB, free: 8.766 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/1.392, allocations: 47.81 kB / 1.341 GB, free: 8.719 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.415e-05/1.392, allocations: 20 kB / 1.341 GB, free: 8.699 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000753/1.392, allocations: 338.8 kB / 1.341 GB, free: 8.371 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.8e-07/1.392, allocations: 0 / 1.341 GB, free: 8.371 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001348/1.394, allocations: 199.9 kB / 1.341 GB, free: 8.176 MB / 1.186 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.0005482/1.394, allocations: 176 kB / 1.342 GB, free: 7.996 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001577/1.396, allocations: 430 kB / 1.342 GB, free: 7.578 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/1.396, allocations: 0 / 1.342 GB, free: 7.578 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007483/1.397, allocations: 229.1 kB / 1.342 GB, free: 7.355 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00378/1.4, allocations: 449 kB / 1.343 GB, free: 6.926 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005211/1.406, allocations: 1.55 MB / 1.344 GB, free: 5.281 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008154/1.406, allocations: 386.8 kB / 1.344 GB, free: 4.879 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.00114/1.408, allocations: 149.3 kB / 1.345 GB, free: 4.73 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/1.408, allocations: 56.5 kB / 1.345 GB, free: 4.672 MB / 1.186 GB Notification: Performance of SimCode: time 1.312e-06/1.408, allocations: 0 / 1.345 GB, free: 4.672 MB / 1.186 GB Notification: Performance of Templates: time 0.05149/1.459, allocations: 14.42 MB / 1.359 GB, free: 6.629 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.685608914936893]