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.002211/0.002211, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.00261/0.00261, allocations: 166.7 kB / 22.46 MB, free: 5.375 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.604/1.604, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.065/3.065, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 4.618e-06/4.618e-06, allocations: 3.984 kB / 0.9815 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.456e-05, allocations: 5.656 kB / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 1.115/1.115, allocations: 165.5 MB / 1.143 GB, free: 45.34 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01584/1.131, allocations: 11.99 MB / 1.155 GB, free: 45.21 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/1.132, allocations: 47.28 kB / 1.155 GB, free: 45.21 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/1.134, allocations: 430.1 kB / 1.155 GB, free: 45.21 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003866/1.137, allocations: 1.236 MB / 1.156 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00224/1.14, allocations: 0.7717 MB / 1.157 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00311/1.143, allocations: 2.038 MB / 1.159 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/1.144, allocations: 0.6249 MB / 1.16 GB, free: 45.08 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005226/1.149, allocations: 2.227 MB / 1.162 GB, free: 44.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/1.151, allocations: 0.6085 MB / 1.163 GB, free: 44.77 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/1.151, allocations: 81.81 kB / 1.163 GB, free: 44.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/1.153, allocations: 0.7319 MB / 1.163 GB, free: 44.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004224/1.153, allocations: 415.7 kB / 1.164 GB, free: 44.65 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005261/1.154, allocations: 353.9 kB / 1.164 GB, free: 44.61 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002236/1.156, allocations: 1.514 MB / 1.166 GB, free: 44.46 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.156, allocations: 0 / 1.166 GB, free: 44.46 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.434e-06/1.156, allocations: 0.9062 kB / 1.166 GB, free: 44.46 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.453e-05/1.156, allocations: 0 / 1.166 GB, free: 44.46 MB / 1.076 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.001807/1.158, allocations: 1.172 MB / 1.167 GB, free: 43.83 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.158, allocations: 12.75 kB / 1.167 GB, free: 43.83 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/1.159, allocations: 221.8 kB / 1.167 GB, free: 43.77 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/1.16, allocations: 0.6185 MB / 1.168 GB, free: 43.53 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/1.16, allocations: 58.22 kB / 1.168 GB, free: 43.53 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/1.161, allocations: 75.59 kB / 1.168 GB, free: 43.53 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/1.162, allocations: 1.06 MB / 1.169 GB, free: 43.12 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/1.162, allocations: 6.688 kB / 1.169 GB, free: 43.12 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.481e-05/1.162, allocations: 31.31 kB / 1.169 GB, free: 43.12 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/1.162, allocations: 27.78 kB / 1.169 GB, free: 43.12 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008749/1.163, allocations: 0.6178 MB / 1.169 GB, free: 43.11 MB / 1.076 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.003296/1.166, allocations: 3.588 MB / 1.173 GB, free: 40.77 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000749/1.167, allocations: 457.5 kB / 1.173 GB, free: 40.7 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/1.167, allocations: 238.9 kB / 1.174 GB, free: 40.67 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/1.167, allocations: 20.02 kB / 1.174 GB, free: 40.67 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/1.167, allocations: 46.75 kB / 1.174 GB, free: 40.63 MB / 1.076 GB Notification: Performance of pre-optimization done (n=43): time 2.905e-06/1.167, allocations: 0 / 1.174 GB, free: 40.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=45): time 0.002733/1.17, allocations: 1.524 MB / 1.175 GB, free: 40.1 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/1.17, allocations: 115 kB / 1.175 GB, free: 39.97 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009069/1.171, allocations: 0.5393 MB / 1.176 GB, free: 39.84 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/1.171, allocations: 36.14 kB / 1.176 GB, free: 39.8 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/1.171, allocations: 435.3 kB / 1.176 GB, free: 39.58 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/1.172, allocations: 171.3 kB / 1.176 GB, free: 39.47 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/1.172, allocations: 119.3 kB / 1.176 GB, free: 39.45 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.172, allocations: 374.7 kB / 1.177 GB, free: 39.13 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004206/1.172, allocations: 187.8 kB / 1.177 GB, free: 39.13 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/1.173, allocations: 0.5595 MB / 1.178 GB, free: 38.69 MB / 1.076 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.002425/1.176, allocations: 1.101 MB / 1.179 GB, free: 38.46 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/1.176, allocations: 2.344 kB / 1.179 GB, free: 38.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001224/1.177, allocations: 0.6568 MB / 1.179 GB, free: 38.38 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/1.177, allocations: 7.062 kB / 1.179 GB, free: 38.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/1.177, allocations: 7.969 kB / 1.179 GB, free: 38.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.378e-05/1.177, allocations: 9.594 kB / 1.179 GB, free: 38.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004932/1.177, allocations: 128.1 kB / 1.179 GB, free: 38.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.011e-05/1.177, allocations: 11.72 kB / 1.179 GB, free: 38.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000588/1.178, allocations: 32.86 kB / 1.179 GB, free: 38.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.686e-05/1.178, allocations: 30 kB / 1.179 GB, free: 38.38 MB / 1.076 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.000473/1.178, allocations: 280 kB / 1.18 GB, free: 38.26 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/1.179, allocations: 68.02 kB / 1.18 GB, free: 38.23 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/1.179, allocations: 77.16 kB / 1.18 GB, free: 38.21 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/1.179, allocations: 5 kB / 1.18 GB, free: 38.21 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.556e-05/1.179, allocations: 2.125 kB / 1.18 GB, free: 38.21 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008067/1.18, allocations: 0.7072 MB / 1.181 GB, free: 37.76 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/1.182, allocations: 1.436 MB / 1.182 GB, free: 37.24 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.182, allocations: 7.266 kB / 1.182 GB, free: 37.24 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004611/1.183, allocations: 100 kB / 1.182 GB, free: 37.24 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/1.183, allocations: 9.531 kB / 1.182 GB, free: 37.23 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/1.183, allocations: 15.09 kB / 1.182 GB, free: 37.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/1.183, allocations: 8.281 kB / 1.182 GB, free: 37.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.974e-06/1.183, allocations: 9.062 kB / 1.182 GB, free: 37.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/1.184, allocations: 0.8528 MB / 1.183 GB, free: 36.91 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/1.184, allocations: 112.1 kB / 1.183 GB, free: 36.88 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.253e-05/1.184, allocations: 17.53 kB / 1.183 GB, free: 36.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/1.184, allocations: 17.44 kB / 1.183 GB, free: 36.88 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/1.185, allocations: 44.58 kB / 1.183 GB, free: 36.87 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/1.185, allocations: 19.28 kB / 1.183 GB, free: 36.87 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005244/1.185, allocations: 365.2 kB / 1.183 GB, free: 36.79 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.185, allocations: 1.406 kB / 1.183 GB, free: 36.79 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009761/1.186, allocations: 200.3 kB / 1.184 GB, free: 36.78 MB / 1.076 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.0005549/1.187, allocations: 203 kB / 1.184 GB, free: 36.67 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009722/1.188, allocations: 460.5 kB / 1.184 GB, free: 36.66 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.188, allocations: 1.938 kB / 1.184 GB, free: 36.66 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003406/1.188, allocations: 205.7 kB / 1.185 GB, free: 36.66 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/1.19, allocations: 324 kB / 1.185 GB, free: 36.65 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/1.193, allocations: 1.549 MB / 1.186 GB, free: 35.93 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007129/1.194, allocations: 440.4 kB / 1.187 GB, free: 35.83 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007369/1.194, allocations: 177.9 kB / 1.187 GB, free: 35.81 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/1.194, allocations: 54.53 kB / 1.187 GB, free: 35.8 MB / 1.076 GB Notification: Performance of SimCode: time 1.192e-06/1.194, allocations: 0.875 kB / 1.187 GB, free: 35.8 MB / 1.076 GB Notification: Performance of Templates: time 0.03032/1.225, allocations: 11.84 MB / 1.199 GB, free: 34.61 MB / 1.076 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: 10.415767464786768]