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.001408/0.001408, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001728/0.001728, allocations: 213.2 kB / 22.24 MB, free: 5.262 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.637/1.637, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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 3.462/3.462, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 MB / 0.6231 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.00213/0.00213, allocations: 68.66 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4581/0.4603, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.222/0.6823, allocations: 160.7 MB / 1.482 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.693, allocations: 5.076 MB / 1.487 GB, free: 11.48 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.6948, allocations: 43.62 kB / 1.487 GB, free: 11.44 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.6964, allocations: 429.4 kB / 1.488 GB, free: 11.02 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006071/0.7024, allocations: 1.743 MB / 1.49 GB, free: 9.266 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.7052, allocations: 0.8218 MB / 1.49 GB, free: 8.449 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003919/0.7091, allocations: 2.257 MB / 1.493 GB, free: 6.188 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.7105, allocations: 0.5412 MB / 1.493 GB, free: 5.633 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.7133, allocations: 0.9888 MB / 1.494 GB, free: 4.641 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002731/0.716, allocations: 0.7003 MB / 1.495 GB, free: 3.949 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003005/0.7163, allocations: 76 kB / 1.495 GB, free: 3.875 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003476/0.7198, allocations: 1.145 MB / 1.496 GB, free: 2.727 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007159/0.7205, allocations: 327 kB / 1.496 GB, free: 2.406 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.7217, allocations: 398.3 kB / 1.497 GB, free: 2.016 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004551/0.7262, allocations: 1.628 MB / 1.498 GB, free: 392 kB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.7262, allocations: 0 / 1.498 GB, free: 392 kB / 1.186 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7262, allocations: 3.938 kB / 1.498 GB, free: 388 kB / 1.186 GB Notification: Performance of Transformations before backend: time 4.854e-05/0.7263, allocations: 0 / 1.498 GB, free: 388 kB / 1.186 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.003251/0.7295, allocations: 1.138 MB / 1.499 GB, free: 15.2 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.7296, allocations: 8.031 kB / 1.499 GB, free: 15.2 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.7317, allocations: 283.1 kB / 1.5 GB, free: 14.92 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.7333, allocations: 0.6383 MB / 1.5 GB, free: 14.25 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/0.7334, allocations: 53.31 kB / 1.5 GB, free: 14.2 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.7335, allocations: 59.98 kB / 1.5 GB, free: 14.14 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.7348, allocations: 0.7851 MB / 1.501 GB, free: 13.3 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.7348, allocations: 0 / 1.501 GB, free: 13.3 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-05/0.7349, allocations: 20 kB / 1.501 GB, free: 13.28 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.165e-05/0.7349, allocations: 21.31 kB / 1.501 GB, free: 13.26 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009463/0.7359, allocations: 0.5009 MB / 1.502 GB, free: 12.75 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003341/0.7392, allocations: 1.481 MB / 1.503 GB, free: 11.24 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009041/0.7401, allocations: 414.8 kB / 1.503 GB, free: 10.83 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003788/0.7405, allocations: 210.2 kB / 1.504 GB, free: 10.62 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/0.7407, allocations: 19.98 kB / 1.504 GB, free: 10.6 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.7407, allocations: 38.56 kB / 1.504 GB, free: 10.55 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 2.405e-06/0.7407, allocations: 4 kB / 1.504 GB, free: 10.55 MB / 1.201 GB Notification: Performance of matching and sorting (n=48): time 0.003257/0.744, allocations: 1.373 MB / 1.505 GB, free: 9.145 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.953e-05/0.7441, allocations: 55.84 kB / 1.505 GB, free: 9.074 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006737/0.7447, allocations: 478.9 kB / 1.506 GB, free: 8.594 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.279e-05/0.7448, allocations: 41.7 kB / 1.506 GB, free: 8.547 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.7451, allocations: 336.9 kB / 1.506 GB, free: 8.215 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.7453, allocations: 182.4 kB / 1.506 GB, free: 8.035 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.7455, allocations: 90.14 kB / 1.506 GB, free: 7.941 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002188/0.7457, allocations: 370.7 kB / 1.507 GB, free: 7.57 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.746, allocations: 172.9 kB / 1.507 GB, free: 7.402 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004733/0.7465, allocations: 362.9 kB / 1.507 GB, free: 7.004 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: 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.003522/0.75, allocations: 1.294 MB / 1.508 GB, free: 5.695 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.75, allocations: 0 / 1.508 GB, free: 5.695 MB / 1.201 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001042/0.7511, allocations: 0.523 MB / 1.509 GB, free: 5.164 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.7511, allocations: 4 kB / 1.509 GB, free: 5.16 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.7511, allocations: 8.156 kB / 1.509 GB, free: 5.152 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.7511, allocations: 0 / 1.509 GB, free: 5.152 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.7516, allocations: 95.84 kB / 1.509 GB, free: 5.059 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.7516, allocations: 7.984 kB / 1.509 GB, free: 5.051 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007055/0.7523, allocations: 18.03 kB / 1.509 GB, free: 5.035 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.7523, allocations: 19.94 kB / 1.509 GB, free: 5.016 MB / 1.201 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.0005023/0.7528, allocations: 245.7 kB / 1.509 GB, free: 4.766 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.753, allocations: 63.62 kB / 1.509 GB, free: 4.703 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.7532, allocations: 73.81 kB / 1.509 GB, free: 4.629 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.7532, allocations: 11.94 kB / 1.509 GB, free: 4.617 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.7532, allocations: 0 / 1.509 GB, free: 4.617 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008395/0.7541, allocations: 0.5106 MB / 1.51 GB, free: 4.078 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/0.7568, allocations: 1.37 MB / 1.511 GB, free: 2.609 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.7568, allocations: 4 kB / 1.511 GB, free: 2.605 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/0.7574, allocations: 119.8 kB / 1.511 GB, free: 2.488 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/0.7574, allocations: 4 kB / 1.511 GB, free: 2.484 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.7575, allocations: 23.98 kB / 1.511 GB, free: 2.461 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.7575, allocations: 4.531 kB / 1.511 GB, free: 2.457 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/0.7575, allocations: 11.94 kB / 1.511 GB, free: 2.445 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.7589, allocations: 0.899 MB / 1.512 GB, free: 1.465 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003969/0.7593, allocations: 115.6 kB / 1.512 GB, free: 1.352 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.7594, allocations: 20 kB / 1.512 GB, free: 1.332 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005868/0.76, allocations: 21 kB / 1.512 GB, free: 1.312 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/0.7601, allocations: 39.83 kB / 1.512 GB, free: 1.273 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.233e-05/0.7602, allocations: 27.98 kB / 1.512 GB, free: 1.246 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000494/0.7607, allocations: 338.8 kB / 1.513 GB, free: 0.918 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7607, allocations: 3.938 kB / 1.513 GB, free: 0.9141 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008881/0.7616, allocations: 200 kB / 1.513 GB, free: 0.7188 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.0004299/0.762, allocations: 171.1 kB / 1.513 GB, free: 0.543 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009823/0.763, allocations: 429.2 kB / 1.514 GB, free: 128 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.763, allocations: 4 kB / 1.514 GB, free: 124 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0004445/0.7634, allocations: 224.7 kB / 1.514 GB, free: 15.9 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/0.7657, allocations: 456.4 kB / 1.514 GB, free: 15.46 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.7693, allocations: 1.566 MB / 1.516 GB, free: 13.8 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006432/0.77, allocations: 382.7 kB / 1.516 GB, free: 13.41 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008355/0.7708, allocations: 149.3 kB / 1.516 GB, free: 13.26 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.771, allocations: 55.42 kB / 1.516 GB, free: 13.2 MB / 1.217 GB Notification: Performance of SimCode: time 1.232e-06/0.771, allocations: 0 / 1.516 GB, free: 13.2 MB / 1.217 GB Notification: Performance of Templates: time 0.03027/0.8013, allocations: 15.52 MB / 1.531 GB, free: 14.04 MB / 1.232 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 -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/jenkins/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: 10.777272887527943]