Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.001411/0.001411, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001742/0.001742, allocations: 217 kB / 22.25 MB, free: 4.855 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.781 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 3.072/3.072, allocations: 476 MB / 0.7699 GB, free: 4.77 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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [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.002182/0.002182, allocations: 67.34 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4702/0.4724, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2315/0.7039, allocations: 150.7 MB / 1.43 GB, free: 4.707 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007284/0.7112, allocations: 3.212 MB / 1.433 GB, free: 1.492 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.7122, allocations: 31.69 kB / 1.433 GB, free: 1.461 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.7134, allocations: 302.1 kB / 1.434 GB, free: 1.164 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.7166, allocations: 1.047 MB / 1.435 GB, free: 116 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.7188, allocations: 0.692 MB / 1.435 GB, free: 15.43 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002568/0.7213, allocations: 1.556 MB / 1.437 GB, free: 13.87 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008305/0.7222, allocations: 366 kB / 1.437 GB, free: 13.51 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.7236, allocations: 0.607 MB / 1.438 GB, free: 12.9 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.7251, allocations: 482.1 kB / 1.438 GB, free: 12.43 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.7252, allocations: 56 kB / 1.438 GB, free: 12.37 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00202/0.7272, allocations: 0.6973 MB / 1.439 GB, free: 11.67 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003604/0.7276, allocations: 251.2 kB / 1.439 GB, free: 11.43 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004703/0.7281, allocations: 282.8 kB / 1.439 GB, free: 11.15 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.7303, allocations: 1.11 MB / 1.441 GB, free: 10.04 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.7303, allocations: 0 / 1.441 GB, free: 10.04 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7303, allocations: 0 / 1.441 GB, free: 10.04 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.7303, allocations: 0 / 1.441 GB, free: 10.04 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001788/0.7321, allocations: 0.8587 MB / 1.441 GB, free: 9.141 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.7321, allocations: 8.031 kB / 1.441 GB, free: 9.133 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.7334, allocations: 179.5 kB / 1.442 GB, free: 8.957 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.7345, allocations: 474.4 kB / 1.442 GB, free: 8.469 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.7345, allocations: 29 kB / 1.442 GB, free: 8.441 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-05/0.7346, allocations: 44 kB / 1.442 GB, free: 8.398 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.7357, allocations: 0.7181 MB / 1.443 GB, free: 7.613 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.7358, allocations: 0 / 1.443 GB, free: 7.613 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.271e-05/0.7358, allocations: 31.92 kB / 1.443 GB, free: 7.582 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/0.7359, allocations: 17 kB / 1.443 GB, free: 7.566 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007416/0.7366, allocations: 407.7 kB / 1.443 GB, free: 7.168 MB / 1.139 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.002638/0.7392, allocations: 1.137 MB / 1.444 GB, free: 5.996 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005816/0.7398, allocations: 278.6 kB / 1.445 GB, free: 5.715 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.7401, allocations: 170.5 kB / 1.445 GB, free: 5.547 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/0.7403, allocations: 23.98 kB / 1.445 GB, free: 5.523 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.505e-05/0.7403, allocations: 38.56 kB / 1.445 GB, free: 5.477 MB / 1.139 GB Notification: Performance of pre-optimization done (n=31): time 4.869e-06/0.7403, allocations: 7.922 kB / 1.445 GB, free: 5.469 MB / 1.139 GB Notification: Performance of matching and sorting (n=33): time 0.002387/0.7427, allocations: 0.9906 MB / 1.446 GB, free: 4.445 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.7428, allocations: 55.41 kB / 1.446 GB, free: 4.379 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004657/0.7433, allocations: 361.6 kB / 1.446 GB, free: 4.02 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.7433, allocations: 29.7 kB / 1.446 GB, free: 3.984 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.7436, allocations: 264.5 kB / 1.446 GB, free: 3.723 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.7437, allocations: 127 kB / 1.447 GB, free: 3.598 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.7438, allocations: 65.7 kB / 1.447 GB, free: 3.527 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.744, allocations: 350.8 kB / 1.447 GB, free: 3.176 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.7443, allocations: 127.9 kB / 1.447 GB, free: 3.051 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/0.7446, allocations: 256.9 kB / 1.447 GB, free: 2.766 MB / 1.139 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002065/0.7467, allocations: 0.7784 MB / 1.448 GB, free: 1.969 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.7467, allocations: 4 kB / 1.448 GB, free: 1.965 MB / 1.139 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007474/0.7475, allocations: 408.8 kB / 1.449 GB, free: 1.559 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.7475, allocations: 9.719 kB / 1.449 GB, free: 1.551 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.7475, allocations: 0 / 1.449 GB, free: 1.551 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.7475, allocations: 4 kB / 1.449 GB, free: 1.547 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.7479, allocations: 75.84 kB / 1.449 GB, free: 1.473 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.7479, allocations: 4 kB / 1.449 GB, free: 1.469 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003899/0.7483, allocations: 8.188 kB / 1.449 GB, free: 1.461 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.7483, allocations: 27.97 kB / 1.449 GB, free: 1.434 MB / 1.139 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0004014/0.7487, allocations: 211 kB / 1.449 GB, free: 1.219 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.7488, allocations: 47.7 kB / 1.449 GB, free: 1.172 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.7489, allocations: 48.25 kB / 1.449 GB, free: 1.125 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.749, allocations: 4 kB / 1.449 GB, free: 1.121 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.749, allocations: 4 kB / 1.449 GB, free: 1.117 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000601/0.7496, allocations: 412.9 kB / 1.449 GB, free: 0.6836 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.7516, allocations: 1.085 MB / 1.45 GB, free: 15.51 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.7516, allocations: 4 kB / 1.45 GB, free: 15.51 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.752, allocations: 67.91 kB / 1.45 GB, free: 15.44 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.752, allocations: 12.44 kB / 1.45 GB, free: 15.43 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.752, allocations: 15.94 kB / 1.45 GB, free: 15.41 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.217e-06/0.752, allocations: 11.94 kB / 1.451 GB, free: 15.4 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.752, allocations: 4 kB / 1.451 GB, free: 15.4 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009884/0.753, allocations: 0.7002 MB / 1.451 GB, free: 14.63 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.7532, allocations: 87.64 kB / 1.451 GB, free: 14.55 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.708e-05/0.7533, allocations: 12 kB / 1.451 GB, free: 14.54 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.7537, allocations: 19.92 kB / 1.451 GB, free: 14.52 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.7537, allocations: 27.91 kB / 1.451 GB, free: 14.49 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/0.7538, allocations: 28.05 kB / 1.451 GB, free: 14.46 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003108/0.7541, allocations: 247.2 kB / 1.452 GB, free: 14.22 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7541, allocations: 4 kB / 1.452 GB, free: 14.21 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006262/0.7547, allocations: 143.9 kB / 1.452 GB, free: 14.07 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * 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.0003476/0.7551, allocations: 159 kB / 1.452 GB, free: 13.91 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006357/0.7557, allocations: 311.6 kB / 1.452 GB, free: 13.6 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7557, allocations: 0 / 1.452 GB, free: 13.6 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.756, allocations: 163.3 kB / 1.452 GB, free: 13.45 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.7574, allocations: 275.3 kB / 1.453 GB, free: 13.18 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.7597, allocations: 1.123 MB / 1.454 GB, free: 11.98 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.7601, allocations: 288.5 kB / 1.454 GB, free: 11.68 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0004599/0.7605, allocations: 112.2 kB / 1.454 GB, free: 11.57 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.7606, allocations: 39.42 kB / 1.454 GB, free: 11.53 MB / 1.154 GB Notification: Performance of SimCode: time 1.152e-06/0.7606, allocations: 0 / 1.454 GB, free: 11.53 MB / 1.154 GB Notification: Performance of Templates: time 0.02179/0.7824, allocations: 10.34 MB / 1.464 GB, free: 1.449 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.345428615808487]