Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001476/0.001476, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 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.001601/0.001601, allocations: 161.7 kB / 22.76 MB, free: 1.684 MB / 18.57 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.502/1.502, allocations: 177.2 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.237/3.237, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.108e-05/3.341e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2427/0.2427, allocations: 165.5 MB / 1.039 GB, free: 412 kB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.02114/0.2638, allocations: 11.96 MB / 1.051 GB, free: 4.406 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.2653, allocations: 43.62 kB / 1.051 GB, free: 4.363 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.2671, allocations: 429 kB / 1.051 GB, free: 3.941 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003979/0.2711, allocations: 1.236 MB / 1.053 GB, free: 2.699 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.2736, allocations: 0.7675 MB / 1.053 GB, free: 1.93 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.5998/0.8735, allocations: 2.016 MB / 1.055 GB, free: 46.64 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.8747, allocations: 0.6145 MB / 1.056 GB, free: 46.59 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004668/0.8794, allocations: 2.225 MB / 1.058 GB, free: 46.59 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.881, allocations: 0.6273 MB / 1.059 GB, free: 46.59 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.8811, allocations: 77.94 kB / 1.059 GB, free: 46.59 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.8827, allocations: 0.7393 MB / 1.059 GB, free: 46.59 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003977/0.8831, allocations: 418.3 kB / 1.06 GB, free: 46.59 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000475/0.8836, allocations: 356.2 kB / 1.06 GB, free: 46.59 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.8856, allocations: 1.518 MB / 1.062 GB, free: 46.54 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.8856, allocations: 0 / 1.062 GB, free: 46.54 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8856, allocations: 2.312 kB / 1.062 GB, free: 46.54 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.8856, allocations: 0 / 1.062 GB, free: 46.54 MB / 1.01 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.001665/0.8873, allocations: 1.171 MB / 1.063 GB, free: 45.92 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.8873, allocations: 14.44 kB / 1.063 GB, free: 45.92 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.8886, allocations: 295.5 kB / 1.063 GB, free: 45.85 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009911/0.8896, allocations: 0.6435 MB / 1.064 GB, free: 45.61 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.8896, allocations: 57.94 kB / 1.064 GB, free: 45.61 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.8897, allocations: 82.3 kB / 1.064 GB, free: 45.61 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.8909, allocations: 1.054 MB / 1.065 GB, free: 45.2 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.891, allocations: 0.6562 kB / 1.065 GB, free: 45.2 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-05/0.891, allocations: 34.77 kB / 1.065 GB, free: 45.2 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.905e-05/0.8911, allocations: 34.2 kB / 1.065 GB, free: 45.2 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008313/0.8919, allocations: 0.6206 MB / 1.066 GB, free: 45.19 MB / 1.01 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.003131/0.895, allocations: 3.613 MB / 1.069 GB, free: 42.86 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006982/0.8957, allocations: 454.5 kB / 1.07 GB, free: 42.79 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.896, allocations: 239.3 kB / 1.07 GB, free: 42.77 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.8962, allocations: 31.55 kB / 1.07 GB, free: 42.76 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.8962, allocations: 43.17 kB / 1.07 GB, free: 42.72 MB / 1.01 GB Notification: Performance of pre-optimization done (n=43): time 2.926e-06/0.8962, allocations: 1.125 kB / 1.07 GB, free: 42.72 MB / 1.01 GB Notification: Performance of matching and sorting (n=45): time 0.002533/0.8987, allocations: 1.53 MB / 1.071 GB, free: 42.2 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.8988, allocations: 114 kB / 1.071 GB, free: 42.07 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/0.8993, allocations: 0.5284 MB / 1.072 GB, free: 41.94 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.8993, allocations: 36.08 kB / 1.072 GB, free: 41.91 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.8995, allocations: 435.1 kB / 1.072 GB, free: 41.68 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.8997, allocations: 174 kB / 1.073 GB, free: 41.56 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.8998, allocations: 116 kB / 1.073 GB, free: 41.54 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.8999, allocations: 379.8 kB / 1.073 GB, free: 41.23 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.9002, allocations: 183.2 kB / 1.073 GB, free: 41.23 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.9006, allocations: 0.5652 MB / 1.074 GB, free: 40.8 MB / 1.01 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.002062/0.9026, allocations: 1.102 MB / 1.075 GB, free: 40.56 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.9026, allocations: 1.156 kB / 1.075 GB, free: 40.56 MB / 1.01 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009309/0.9036, allocations: 0.6819 MB / 1.076 GB, free: 40.49 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.9036, allocations: 9.469 kB / 1.076 GB, free: 40.49 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.9036, allocations: 6.062 kB / 1.076 GB, free: 40.49 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.9036, allocations: 11.78 kB / 1.076 GB, free: 40.49 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.9041, allocations: 126.6 kB / 1.076 GB, free: 40.49 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.9041, allocations: 17.91 kB / 1.076 GB, free: 40.49 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006063/0.9047, allocations: 30.42 kB / 1.076 GB, free: 40.49 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.9048, allocations: 30 kB / 1.076 GB, free: 40.49 MB / 1.01 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.0003755/0.9051, allocations: 276.4 kB / 1.076 GB, free: 40.37 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.9053, allocations: 86.03 kB / 1.076 GB, free: 40.34 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.9054, allocations: 76.97 kB / 1.076 GB, free: 40.33 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.9054, allocations: 5.781 kB / 1.076 GB, free: 40.33 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.9055, allocations: 1.312 kB / 1.076 GB, free: 40.33 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006017/0.9061, allocations: 0.702 MB / 1.077 GB, free: 39.88 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.9081, allocations: 1.439 MB / 1.078 GB, free: 39.36 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.9081, allocations: 5.188 kB / 1.078 GB, free: 39.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.9085, allocations: 100.2 kB / 1.078 GB, free: 39.36 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.9085, allocations: 6.125 kB / 1.078 GB, free: 39.36 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.9085, allocations: 14.69 kB / 1.078 GB, free: 39.36 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.9086, allocations: 15.3 kB / 1.078 GB, free: 39.36 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.9086, allocations: 6.188 kB / 1.078 GB, free: 39.36 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009482/0.9095, allocations: 0.8602 MB / 1.079 GB, free: 39.05 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.9097, allocations: 113.9 kB / 1.079 GB, free: 39.02 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.159e-05/0.9098, allocations: 19.53 kB / 1.079 GB, free: 39.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004915/0.9103, allocations: 23.14 kB / 1.079 GB, free: 39.02 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.9104, allocations: 37.95 kB / 1.079 GB, free: 39.01 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.9104, allocations: 22.12 kB / 1.079 GB, free: 39.01 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003747/0.9108, allocations: 363.2 kB / 1.08 GB, free: 38.93 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.9108, allocations: 4 kB / 1.08 GB, free: 38.93 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000841/0.9116, allocations: 200.5 kB / 1.08 GB, free: 38.93 MB / 1.01 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.0004752/0.9121, allocations: 190.8 kB / 1.08 GB, free: 38.83 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007592/0.9129, allocations: 481.8 kB / 1.081 GB, free: 38.82 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.9129, allocations: 0 / 1.081 GB, free: 38.82 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.9131, allocations: 200.8 kB / 1.081 GB, free: 38.82 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.9146, allocations: 340.8 kB / 1.081 GB, free: 38.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.9169, allocations: 1.573 MB / 1.083 GB, free: 38.06 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.9173, allocations: 436.8 kB / 1.083 GB, free: 37.96 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005601/0.9178, allocations: 174.4 kB / 1.083 GB, free: 37.94 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.918, allocations: 51.81 kB / 1.083 GB, free: 37.93 MB / 1.01 GB Notification: Performance of SimCode: time 1.202e-06/0.918, allocations: 0 / 1.083 GB, free: 37.93 MB / 1.01 GB Notification: Performance of Templates: time 0.02451/0.9425, allocations: 11.88 MB / 1.095 GB, free: 36.89 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.475087759085]