Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001799/0.001799, allocations: 78.5 kB / 19.01 MB, free: 2.859 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.002175/0.002175, allocations: 159.2 kB / 22.25 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.515/1.515, allocations: 177.2 MB / 202.6 MB, free: 9.273 MB / 190.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 2.876/2.876, allocations: 394.5 MB / 0.6383 GB, free: 11.78 MB / 0.6075 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_latest_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_latest_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.002172/0.002172, allocations: 67.91 kB / 1.009 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 181.9 MB / 1.187 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2196/1.247, allocations: 160.6 MB / 1.343 GB, free: 4.664 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01/1.257, allocations: 5.065 MB / 1.348 GB, free: 15.59 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/1.258, allocations: 51.62 kB / 1.348 GB, free: 15.54 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0015/1.26, allocations: 433.4 kB / 1.349 GB, free: 15.11 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005021/1.265, allocations: 1.747 MB / 1.35 GB, free: 13.36 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002366/1.267, allocations: 0.8207 MB / 1.351 GB, free: 12.54 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003455/1.271, allocations: 2.277 MB / 1.353 GB, free: 10.26 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/1.272, allocations: 0.5258 MB / 1.354 GB, free: 9.723 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002709/1.274, allocations: 1.277 MB / 1.355 GB, free: 8.441 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/1.276, allocations: 0.7029 MB / 1.356 GB, free: 7.754 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002147/1.277, allocations: 76 kB / 1.356 GB, free: 7.68 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/1.279, allocations: 1.145 MB / 1.357 GB, free: 6.531 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005175/1.28, allocations: 335 kB / 1.357 GB, free: 6.203 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007542/1.281, allocations: 390.4 kB / 1.358 GB, free: 5.82 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003296/1.284, allocations: 1.635 MB / 1.359 GB, free: 4.18 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.284, allocations: 0 / 1.359 GB, free: 4.18 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.813e-06/1.284, allocations: 4 kB / 1.359 GB, free: 4.176 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.021e-05/1.284, allocations: 0 / 1.359 GB, free: 4.176 MB / 1.201 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.002503/1.286, allocations: 1.131 MB / 1.361 GB, free: 3.008 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.287, allocations: 8.031 kB / 1.361 GB, free: 3 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/1.289, allocations: 283.1 kB / 1.361 GB, free: 2.723 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/1.29, allocations: 0.6422 MB / 1.361 GB, free: 2.055 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-05/1.29, allocations: 45.31 kB / 1.361 GB, free: 2.008 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/1.29, allocations: 60 kB / 1.362 GB, free: 1.949 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/1.292, allocations: 0.7812 MB / 1.362 GB, free: 1.113 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/1.292, allocations: 4 kB / 1.362 GB, free: 1.109 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/1.292, allocations: 28 kB / 1.362 GB, free: 1.082 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/1.292, allocations: 25.3 kB / 1.362 GB, free: 1.055 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/1.293, allocations: 0.4931 MB / 1.363 GB, free: 0.5625 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003696/1.297, allocations: 1.481 MB / 1.364 GB, free: 15.05 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009212/1.298, allocations: 415.8 kB / 1.365 GB, free: 14.64 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003885/1.298, allocations: 208.7 kB / 1.365 GB, free: 14.43 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/1.298, allocations: 27.98 kB / 1.365 GB, free: 14.4 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/1.298, allocations: 39.28 kB / 1.365 GB, free: 14.36 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.384e-06/1.298, allocations: 0 / 1.365 GB, free: 14.36 MB / 1.217 GB Notification: Performance of matching and sorting (n=48): time 0.003516/1.302, allocations: 1.373 MB / 1.366 GB, free: 12.95 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/1.302, allocations: 63.84 kB / 1.366 GB, free: 12.88 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007454/1.303, allocations: 474.8 kB / 1.367 GB, free: 12.4 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/1.303, allocations: 37.7 kB / 1.367 GB, free: 12.36 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/1.303, allocations: 340.9 kB / 1.367 GB, free: 12.02 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/1.303, allocations: 174.4 kB / 1.367 GB, free: 11.85 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/1.303, allocations: 94.19 kB / 1.367 GB, free: 11.75 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.00021/1.304, allocations: 366.7 kB / 1.368 GB, free: 11.38 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/1.304, allocations: 176.9 kB / 1.368 GB, free: 11.21 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004873/1.304, allocations: 363.1 kB / 1.368 GB, free: 10.8 MB / 1.217 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.003705/1.308, allocations: 1.296 MB / 1.37 GB, free: 9.5 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.308, allocations: 0 / 1.37 GB, free: 9.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001022/1.309, allocations: 0.5283 MB / 1.37 GB, free: 8.961 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.309, allocations: 8 kB / 1.37 GB, free: 8.953 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.309, allocations: 0 / 1.37 GB, free: 8.953 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/1.309, allocations: 4 kB / 1.37 GB, free: 8.949 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/1.31, allocations: 92.05 kB / 1.37 GB, free: 8.859 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/1.31, allocations: 8 kB / 1.37 GB, free: 8.852 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006281/1.31, allocations: 14.66 kB / 1.37 GB, free: 8.84 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/1.31, allocations: 16 kB / 1.37 GB, free: 8.824 MB / 1.217 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.0004688/1.311, allocations: 262.2 kB / 1.37 GB, free: 8.559 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/1.311, allocations: 67.58 kB / 1.371 GB, free: 8.492 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/1.311, allocations: 73.83 kB / 1.371 GB, free: 8.418 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/1.311, allocations: 8 kB / 1.371 GB, free: 8.41 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.311, allocations: 0 / 1.371 GB, free: 8.41 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008231/1.312, allocations: 0.5081 MB / 1.371 GB, free: 7.871 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/1.315, allocations: 1.375 MB / 1.372 GB, free: 6.398 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.315, allocations: 8 kB / 1.372 GB, free: 6.391 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/1.315, allocations: 107.9 kB / 1.373 GB, free: 6.285 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/1.315, allocations: 8 kB / 1.373 GB, free: 6.277 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/1.315, allocations: 15.98 kB / 1.373 GB, free: 6.262 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.726e-05/1.315, allocations: 19.81 kB / 1.373 GB, free: 6.242 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.315, allocations: 4 kB / 1.373 GB, free: 6.238 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/1.317, allocations: 0.9009 MB / 1.373 GB, free: 5.258 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003586/1.317, allocations: 123.6 kB / 1.374 GB, free: 5.137 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.814e-05/1.317, allocations: 12.14 kB / 1.374 GB, free: 5.125 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005507/1.318, allocations: 22.62 kB / 1.374 GB, free: 5.105 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.916e-05/1.318, allocations: 55.8 kB / 1.374 GB, free: 5.051 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/1.318, allocations: 20 kB / 1.374 GB, free: 5.031 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004538/1.318, allocations: 334.8 kB / 1.374 GB, free: 4.707 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/1.318, allocations: 0 / 1.374 GB, free: 4.707 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007336/1.319, allocations: 199.9 kB / 1.374 GB, free: 4.512 MB / 1.217 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.0003235/1.319, allocations: 175 kB / 1.374 GB, free: 4.332 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008719/1.32, allocations: 426.4 kB / 1.375 GB, free: 3.918 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.32, allocations: 0 / 1.375 GB, free: 3.918 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0004119/1.321, allocations: 223.6 kB / 1.375 GB, free: 3.699 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/1.323, allocations: 441.5 kB / 1.375 GB, free: 3.277 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/1.326, allocations: 1.55 MB / 1.377 GB, free: 1.633 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/1.326, allocations: 386.7 kB / 1.377 GB, free: 1.227 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0006104/1.327, allocations: 153.2 kB / 1.377 GB, free: 1.074 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/1.327, allocations: 52.5 kB / 1.377 GB, free: 1.023 MB / 1.217 GB Notification: Performance of SimCode: time 4.51e-07/1.327, allocations: 0 / 1.377 GB, free: 1.023 MB / 1.217 GB Notification: Performance of Templates: time 0.02678/1.354, allocations: 14.43 MB / 1.392 GB, free: 2.938 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.925414331257343]