Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.655/2.655, allocations: 443.4 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 71.89 kB / 1.059 GB, free: 352 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4104, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 1.104/1.515, allocations: 188.3 MB / 1.4 GB, free: 10.45 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02003/1.535, allocations: 13.22 MB / 1.413 GB, free: 15.78 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/1.537, allocations: 33.81 kB / 1.413 GB, free: 15.77 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001809/1.539, allocations: 437.6 kB / 1.413 GB, free: 15.4 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00408/1.543, allocations: 1.213 MB / 1.415 GB, free: 14.45 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002316/1.545, allocations: 0.7208 MB / 1.415 GB, free: 13.89 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003474/1.548, allocations: 2.02 MB / 1.417 GB, free: 12.73 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/1.55, allocations: 0.6241 MB / 1.418 GB, free: 12.29 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005716/1.555, allocations: 1.875 MB / 1.42 GB, free: 11.06 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002776/1.558, allocations: 0.7135 MB / 1.42 GB, free: 10.62 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002206/1.558, allocations: 80.31 kB / 1.42 GB, free: 10.62 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002693/1.561, allocations: 0.9273 MB / 1.421 GB, free: 10.12 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005567/1.562, allocations: 396 kB / 1.422 GB, free: 9.863 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008605/1.562, allocations: 0.4959 MB / 1.422 GB, free: 9.539 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003197/1.566, allocations: 1.498 MB / 1.424 GB, free: 8.559 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.868e-06/1.566, allocations: 10.47 kB / 1.424 GB, free: 8.551 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.763e-06/1.566, allocations: 0 / 1.424 GB, free: 8.551 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.157e-05/1.566, allocations: 0 / 1.424 GB, free: 8.551 MB / 1.092 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.002332/1.568, allocations: 1.253 MB / 1.425 GB, free: 7.562 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/1.568, allocations: 14.19 kB / 1.425 GB, free: 7.559 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/1.569, allocations: 222.7 kB / 1.425 GB, free: 7.453 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/1.571, allocations: 0.6834 MB / 1.426 GB, free: 6.91 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.483e-05/1.571, allocations: 56.88 kB / 1.426 GB, free: 6.887 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/1.571, allocations: 81.42 kB / 1.426 GB, free: 6.859 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/1.572, allocations: 0.9295 MB / 1.427 GB, free: 6.191 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/1.572, allocations: 6.453 kB / 1.427 GB, free: 6.188 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.661e-05/1.572, allocations: 31.72 kB / 1.427 GB, free: 6.164 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-05/1.572, allocations: 30.78 kB / 1.427 GB, free: 6.16 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/1.573, allocations: 0.6264 MB / 1.428 GB, free: 5.848 MB / 1.092 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.005156/1.579, allocations: 4.578 MB / 1.432 GB, free: 1.637 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009119/1.58, allocations: 0.5331 MB / 1.433 GB, free: 1.262 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/1.58, allocations: 230.3 kB / 1.433 GB, free: 1.137 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002059/1.58, allocations: 96.84 kB / 1.433 GB, free: 1.039 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/1.58, allocations: 50.92 kB / 1.433 GB, free: 0.9844 MB / 1.092 GB Notification: Performance of pre-optimization done (n=43): time 2.325e-06/1.58, allocations: 0 / 1.433 GB, free: 0.9844 MB / 1.092 GB Notification: Performance of matching and sorting (n=45): time 0.003155/1.583, allocations: 1.629 MB / 1.434 GB, free: 15.61 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.586e-05/1.583, allocations: 106.8 kB / 1.435 GB, free: 15.48 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009618/1.584, allocations: 0.7155 MB / 1.435 GB, free: 14.76 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/1.584, allocations: 37.7 kB / 1.435 GB, free: 14.71 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/1.585, allocations: 416.6 kB / 1.436 GB, free: 14.3 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/1.585, allocations: 170.5 kB / 1.436 GB, free: 14.13 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/1.585, allocations: 126.3 kB / 1.436 GB, free: 14 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001772/1.585, allocations: 334 kB / 1.436 GB, free: 13.67 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/1.586, allocations: 181.2 kB / 1.436 GB, free: 13.5 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005298/1.586, allocations: 417.5 kB / 1.437 GB, free: 12.99 MB / 1.107 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.00241/1.589, allocations: 1.185 MB / 1.438 GB, free: 11.71 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/1.589, allocations: 4 kB / 1.438 GB, free: 11.7 MB / 1.107 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001119/1.59, allocations: 0.6769 MB / 1.439 GB, free: 11.02 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/1.59, allocations: 11.94 kB / 1.439 GB, free: 11.01 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/1.59, allocations: 4 kB / 1.439 GB, free: 11 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/1.59, allocations: 12 kB / 1.439 GB, free: 10.99 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/1.59, allocations: 119.8 kB / 1.439 GB, free: 10.88 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/1.59, allocations: 19.92 kB / 1.439 GB, free: 10.86 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005649/1.591, allocations: 24.48 kB / 1.439 GB, free: 10.83 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/1.591, allocations: 36.16 kB / 1.439 GB, free: 10.8 MB / 1.107 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.0004724/1.591, allocations: 270.9 kB / 1.439 GB, free: 10.52 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/1.591, allocations: 91.42 kB / 1.439 GB, free: 10.43 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/1.592, allocations: 87.66 kB / 1.439 GB, free: 10.35 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/1.592, allocations: 4 kB / 1.439 GB, free: 10.34 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/1.592, allocations: 4.562 kB / 1.439 GB, free: 10.34 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008464/1.593, allocations: 0.7027 MB / 1.44 GB, free: 9.551 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/1.595, allocations: 1.648 MB / 1.442 GB, free: 7.797 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.595, allocations: 7.75 kB / 1.442 GB, free: 7.793 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/1.596, allocations: 95.89 kB / 1.442 GB, free: 7.699 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/1.596, allocations: 11.94 kB / 1.442 GB, free: 7.688 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/1.596, allocations: 16.5 kB / 1.442 GB, free: 7.672 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/1.596, allocations: 15.92 kB / 1.442 GB, free: 7.656 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.596, allocations: 4 kB / 1.442 GB, free: 7.652 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/1.597, allocations: 0.8616 MB / 1.443 GB, free: 6.727 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/1.597, allocations: 208.6 kB / 1.443 GB, free: 6.504 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.904e-05/1.597, allocations: 19.88 kB / 1.443 GB, free: 6.484 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/1.598, allocations: 19.98 kB / 1.443 GB, free: 6.465 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/1.598, allocations: 39.91 kB / 1.443 GB, free: 6.426 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/1.598, allocations: 19.98 kB / 1.443 GB, free: 6.406 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006967/1.599, allocations: 0.5068 MB / 1.443 GB, free: 5.902 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/1.599, allocations: 0 / 1.443 GB, free: 5.902 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008143/1.599, allocations: 203.9 kB / 1.444 GB, free: 5.703 MB / 1.107 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.0005504/1.6, allocations: 199.3 kB / 1.444 GB, free: 5.52 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0008476/1.601, allocations: 471.5 kB / 1.444 GB, free: 5.059 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/1.601, allocations: 1.562 kB / 1.444 GB, free: 5.059 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002963/1.601, allocations: 200.3 kB / 1.444 GB, free: 4.863 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/1.603, allocations: 484.1 kB / 1.445 GB, free: 4.414 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/1.606, allocations: 1.697 MB / 1.447 GB, free: 2.633 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000709/1.607, allocations: 1.035 MB / 1.448 GB, free: 1.57 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006646/1.607, allocations: 199 kB / 1.448 GB, free: 1.371 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/1.608, allocations: 63.44 kB / 1.448 GB, free: 1.309 MB / 1.107 GB Notification: Performance of SimCode: time 9.32e-07/1.608, allocations: 0 / 1.448 GB, free: 1.309 MB / 1.107 GB Notification: Performance of Templates: time 0.03047/1.638, allocations: 15.46 MB / 1.463 GB, free: 2.105 MB / 1.123 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.08425998967141]