Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001568/0.001568, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002119/0.002119, allocations: 219 kB / 22.26 MB, free: 5.125 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.992 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.979/2.979, allocations: 0.4899 GB / 0.7951 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 177] 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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [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.00197/0.00197, allocations: 68.88 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3082, allocations: 176.1 MB / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1998/0.508, allocations: 191.3 MB / 1.513 GB, free: 1.43 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01574/0.5238, allocations: 13.24 MB / 1.526 GB, free: 4.148 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.5248, allocations: 51.62 kB / 1.526 GB, free: 4.098 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.526, allocations: 441.1 kB / 1.527 GB, free: 3.664 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002659/0.5287, allocations: 1.211 MB / 1.528 GB, free: 2.449 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.5304, allocations: 0.7468 MB / 1.528 GB, free: 1.707 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002475/0.5328, allocations: 2.06 MB / 1.53 GB, free: 15.64 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008763/0.5337, allocations: 0.6255 MB / 1.531 GB, free: 14.99 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004002/0.5377, allocations: 2.043 MB / 1.533 GB, free: 12.94 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.5393, allocations: 0.7017 MB / 1.534 GB, free: 12.24 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.5394, allocations: 83.98 kB / 1.534 GB, free: 12.16 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.5411, allocations: 0.9238 MB / 1.535 GB, free: 11.23 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004029/0.5415, allocations: 398.8 kB / 1.535 GB, free: 10.84 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0005158/0.542, allocations: 0.4976 MB / 1.536 GB, free: 10.34 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.544, allocations: 1.506 MB / 1.537 GB, free: 8.828 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.544, allocations: 4 kB / 1.537 GB, free: 8.824 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.262e-06/0.544, allocations: 0 / 1.537 GB, free: 8.824 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.544, allocations: 0 / 1.537 GB, free: 8.824 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001741/0.5457, allocations: 1.182 MB / 1.538 GB, free: 7.609 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.5458, allocations: 8.031 kB / 1.538 GB, free: 7.602 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.5469, allocations: 227.1 kB / 1.538 GB, free: 7.379 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.5479, allocations: 0.6116 MB / 1.539 GB, free: 6.738 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/0.548, allocations: 58 kB / 1.539 GB, free: 6.684 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.5481, allocations: 87.94 kB / 1.539 GB, free: 6.598 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.5494, allocations: 0.9326 MB / 1.54 GB, free: 5.578 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.5494, allocations: 4 kB / 1.54 GB, free: 5.574 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.399e-05/0.5494, allocations: 31.94 kB / 1.54 GB, free: 5.543 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.5495, allocations: 33.31 kB / 1.54 GB, free: 5.512 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009442/0.5504, allocations: 0.6138 MB / 1.541 GB, free: 4.898 MB / 1.232 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.004652/0.5551, allocations: 4.614 MB / 1.545 GB, free: 15.97 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007588/0.5558, allocations: 458.7 kB / 1.546 GB, free: 15.5 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/0.5562, allocations: 228.5 kB / 1.546 GB, free: 15.27 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/0.5563, allocations: 27.98 kB / 1.546 GB, free: 15.24 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.5563, allocations: 46.48 kB / 1.546 GB, free: 15.19 MB / 1.248 GB Notification: Performance of pre-optimization done (n=43): time 1.764e-06/0.5563, allocations: 4 kB / 1.546 GB, free: 15.18 MB / 1.248 GB Notification: Performance of matching and sorting (n=45): time 0.002633/0.559, allocations: 1.539 MB / 1.548 GB, free: 13.61 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.559, allocations: 119.1 kB / 1.548 GB, free: 13.47 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008116/0.5599, allocations: 0.7077 MB / 1.548 GB, free: 12.75 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.5599, allocations: 37.7 kB / 1.548 GB, free: 12.71 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/0.5602, allocations: 428.5 kB / 1.549 GB, free: 12.28 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.5604, allocations: 166.5 kB / 1.549 GB, free: 12.12 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.5605, allocations: 122.3 kB / 1.549 GB, free: 11.99 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.5607, allocations: 326 kB / 1.549 GB, free: 11.67 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.5609, allocations: 185.2 kB / 1.55 GB, free: 11.49 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/0.5614, allocations: 429 kB / 1.55 GB, free: 10.97 MB / 1.248 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 (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002153/0.5636, allocations: 1.101 MB / 1.551 GB, free: 9.785 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.5636, allocations: 4 kB / 1.551 GB, free: 9.781 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009693/0.5646, allocations: 0.6794 MB / 1.552 GB, free: 9.094 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.5646, allocations: 12.72 kB / 1.552 GB, free: 9.082 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.5646, allocations: 4 kB / 1.552 GB, free: 9.078 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.5646, allocations: 16 kB / 1.552 GB, free: 9.062 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004496/0.5651, allocations: 119.8 kB / 1.552 GB, free: 8.945 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/0.5651, allocations: 19.92 kB / 1.552 GB, free: 8.926 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.5656, allocations: 20 kB / 1.552 GB, free: 8.906 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.5656, allocations: 31.98 kB / 1.552 GB, free: 8.875 MB / 1.248 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: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003497/0.566, allocations: 273.5 kB / 1.552 GB, free: 8.598 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.5661, allocations: 91.38 kB / 1.552 GB, free: 8.508 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.5663, allocations: 95.61 kB / 1.552 GB, free: 8.414 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5663, allocations: 8.031 kB / 1.552 GB, free: 8.406 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5663, allocations: 3.984 kB / 1.552 GB, free: 8.402 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007255/0.567, allocations: 0.7041 MB / 1.553 GB, free: 7.613 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/0.5695, allocations: 1.614 MB / 1.555 GB, free: 5.898 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.5695, allocations: 4 kB / 1.555 GB, free: 5.895 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005466/0.5701, allocations: 99.89 kB / 1.555 GB, free: 5.797 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.5701, allocations: 8 kB / 1.555 GB, free: 5.789 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.5701, allocations: 16 kB / 1.555 GB, free: 5.773 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.429e-05/0.5701, allocations: 15.92 kB / 1.555 GB, free: 5.758 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.5701, allocations: 4 kB / 1.555 GB, free: 5.754 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.5712, allocations: 0.8691 MB / 1.556 GB, free: 4.816 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/0.5715, allocations: 135.4 kB / 1.556 GB, free: 4.684 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.5716, allocations: 19.98 kB / 1.556 GB, free: 4.664 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/0.572, allocations: 20 kB / 1.556 GB, free: 4.645 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/0.5721, allocations: 35.88 kB / 1.556 GB, free: 4.609 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.5721, allocations: 20 kB / 1.556 GB, free: 4.59 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000657/0.5728, allocations: 0.5068 MB / 1.556 GB, free: 4.086 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.5728, allocations: 7.938 kB / 1.556 GB, free: 4.078 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0006989/0.5735, allocations: 207.9 kB / 1.557 GB, free: 3.875 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.0004326/0.5739, allocations: 172 kB / 1.557 GB, free: 3.707 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0007869/0.5747, allocations: 457.4 kB / 1.557 GB, free: 3.262 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5747, allocations: 8 kB / 1.557 GB, free: 3.254 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.575, allocations: 199.9 kB / 1.557 GB, free: 3.059 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.5769, allocations: 483.8 kB / 1.558 GB, free: 2.598 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.5794, allocations: 1.679 MB / 1.559 GB, free: 0.8398 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006419/0.5801, allocations: 1.028 MB / 1.56 GB, free: 15.79 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0005307/0.5806, allocations: 199 kB / 1.561 GB, free: 15.59 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.5808, allocations: 71.42 kB / 1.561 GB, free: 15.52 MB / 1.264 GB Notification: Performance of SimCode: time 3.01e-07/0.5808, allocations: 0 / 1.561 GB, free: 15.52 MB / 1.264 GB Notification: Performance of Templates: time 0.02456/0.6053, allocations: 15.59 MB / 1.576 GB, free: 164 kB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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: 8.777523933909833]