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.001528/0.001528, allocations: 113.5 kB / 17.13 MB, free: 5.926 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.001792/0.001792, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.45/1.45, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.81/2.81, allocations: 0.49 GB / 0.7922 GB, free: 1.297 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.002015/0.002015, allocations: 63.91 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 176.1 MB / 1.322 GB, free: 25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2216/1.229, allocations: 185.5 MB / 1.503 GB, free: 15.04 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0099/1.239, allocations: 5.38 MB / 1.508 GB, free: 10.41 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/1.241, allocations: 47.62 kB / 1.508 GB, free: 10.37 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/1.242, allocations: 477.3 kB / 1.509 GB, free: 9.898 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005441/1.248, allocations: 1.735 MB / 1.511 GB, free: 8.156 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002443/1.25, allocations: 0.8082 MB / 1.511 GB, free: 7.355 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003604/1.254, allocations: 2.207 MB / 1.513 GB, free: 5.141 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/1.255, allocations: 0.5707 MB / 1.514 GB, free: 4.562 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002351/1.257, allocations: 1 MB / 1.515 GB, free: 3.559 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/1.259, allocations: 0.718 MB / 1.516 GB, free: 2.848 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001388/1.259, allocations: 80 kB / 1.516 GB, free: 2.77 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/1.262, allocations: 1.469 MB / 1.517 GB, free: 1.297 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003863/1.263, allocations: 331 kB / 1.518 GB, free: 0.9727 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006656/1.263, allocations: 477.8 kB / 1.518 GB, free: 0.5039 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002916/1.266, allocations: 1.666 MB / 1.52 GB, free: 14.83 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.266, allocations: 0 / 1.52 GB, free: 14.83 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.452e-06/1.266, allocations: 0 / 1.52 GB, free: 14.83 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.4e-05/1.266, allocations: 0 / 1.52 GB, free: 14.83 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.00196/1.268, allocations: 1.21 MB / 1.521 GB, free: 13.57 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/1.268, allocations: 11.98 kB / 1.521 GB, free: 13.55 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/1.27, allocations: 283.2 kB / 1.521 GB, free: 13.28 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/1.271, allocations: 0.7144 MB / 1.522 GB, free: 12.52 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/1.271, allocations: 41.31 kB / 1.522 GB, free: 12.48 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/1.271, allocations: 63.98 kB / 1.522 GB, free: 12.42 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/1.273, allocations: 0.5882 MB / 1.522 GB, free: 11.82 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/1.273, allocations: 0 / 1.522 GB, free: 11.82 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.339e-05/1.273, allocations: 24 kB / 1.522 GB, free: 11.8 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.182e-05/1.273, allocations: 29.3 kB / 1.522 GB, free: 11.77 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009869/1.274, allocations: 0.5009 MB / 1.523 GB, free: 11.27 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003546/1.277, allocations: 2.532 MB / 1.525 GB, free: 8.512 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000868/1.278, allocations: 424.7 kB / 1.526 GB, free: 8.09 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/1.279, allocations: 204.8 kB / 1.526 GB, free: 7.887 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002046/1.279, allocations: 101.1 kB / 1.526 GB, free: 7.77 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/1.279, allocations: 42.55 kB / 1.526 GB, free: 7.719 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 2.505e-06/1.279, allocations: 0 / 1.526 GB, free: 7.719 MB / 1.201 GB Notification: Performance of matching and sorting (n=48): time 0.003198/1.282, allocations: 1.448 MB / 1.528 GB, free: 6.223 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/1.282, allocations: 55.84 kB / 1.528 GB, free: 6.156 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006892/1.283, allocations: 0.5383 MB / 1.528 GB, free: 5.605 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/1.283, allocations: 37.7 kB / 1.528 GB, free: 5.562 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/1.283, allocations: 333.1 kB / 1.529 GB, free: 5.234 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/1.283, allocations: 178.4 kB / 1.529 GB, free: 5.059 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/1.283, allocations: 94.2 kB / 1.529 GB, free: 4.961 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002053/1.284, allocations: 374.7 kB / 1.529 GB, free: 4.586 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/1.284, allocations: 177 kB / 1.529 GB, free: 4.414 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/1.284, allocations: 260.8 kB / 1.53 GB, free: 4.133 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.003633/1.288, allocations: 1.443 MB / 1.531 GB, free: 2.637 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.288, allocations: 4 kB / 1.531 GB, free: 2.633 MB / 1.201 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009756/1.289, allocations: 0.5191 MB / 1.532 GB, free: 2.105 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/1.289, allocations: 13.66 kB / 1.532 GB, free: 2.094 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/1.289, allocations: 0 / 1.532 GB, free: 2.094 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/1.289, allocations: 7.984 kB / 1.532 GB, free: 2.086 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004225/1.289, allocations: 95.84 kB / 1.532 GB, free: 1.992 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/1.289, allocations: 4 kB / 1.532 GB, free: 1.988 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006354/1.29, allocations: 24.09 kB / 1.532 GB, free: 1.965 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/1.29, allocations: 19.94 kB / 1.532 GB, free: 1.945 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.0004338/1.291, allocations: 249.7 kB / 1.532 GB, free: 1.691 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/1.291, allocations: 67.58 kB / 1.532 GB, free: 1.625 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/1.291, allocations: 82.45 kB / 1.532 GB, free: 1.539 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/1.291, allocations: 4 kB / 1.532 GB, free: 1.535 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.291, allocations: 3.938 kB / 1.532 GB, free: 1.531 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007836/1.292, allocations: 0.5106 MB / 1.533 GB, free: 0.9922 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002726/1.294, allocations: 1.586 MB / 1.534 GB, free: 15.29 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.294, allocations: 8 kB / 1.534 GB, free: 15.28 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005429/1.295, allocations: 115.8 kB / 1.534 GB, free: 15.17 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/1.295, allocations: 8 kB / 1.534 GB, free: 15.16 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/1.295, allocations: 16.05 kB / 1.534 GB, free: 15.14 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-05/1.295, allocations: 15.97 kB / 1.534 GB, free: 15.13 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/1.295, allocations: 15.86 kB / 1.534 GB, free: 15.11 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/1.296, allocations: 0.903 MB / 1.535 GB, free: 14.13 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/1.297, allocations: 196.7 kB / 1.535 GB, free: 13.92 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-05/1.297, allocations: 19.98 kB / 1.535 GB, free: 13.9 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005388/1.297, allocations: 16 kB / 1.535 GB, free: 13.88 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/1.297, allocations: 51.77 kB / 1.535 GB, free: 13.83 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/1.297, allocations: 20 kB / 1.535 GB, free: 13.81 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005285/1.298, allocations: 398.8 kB / 1.536 GB, free: 13.43 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/1.298, allocations: 0 / 1.536 GB, free: 13.43 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008548/1.299, allocations: 207.9 kB / 1.536 GB, free: 13.22 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.0004214/1.299, allocations: 174.5 kB / 1.536 GB, free: 13.05 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009717/1.3, allocations: 425.2 kB / 1.537 GB, free: 12.63 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.3, allocations: 0 / 1.537 GB, free: 12.63 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0004257/1.301, allocations: 236.4 kB / 1.537 GB, free: 12.4 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/1.303, allocations: 492.8 kB / 1.537 GB, free: 11.93 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/1.306, allocations: 1.617 MB / 1.539 GB, free: 10.21 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00095/1.307, allocations: 0.9733 MB / 1.54 GB, free: 9.215 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/1.308, allocations: 63.42 kB / 1.54 GB, free: 9.152 MB / 1.217 GB Notification: Performance of SimCode: time 1.844e-06/1.308, allocations: 0 / 1.54 GB, free: 9.152 MB / 1.217 GB Notification: Performance of Templates: time 0.01939/1.327, allocations: 11.72 MB / 1.551 GB, free: 13.53 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/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: 13.75666909100255]