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.001719/0.001719, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002078/0.002078, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.621/1.621, allocations: 230.6 MB / 252.8 MB, free: 9.133 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 3.342/3.342, allocations: 0.4899 GB / 0.7916 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 176] 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.002176/0.002176, allocations: 65.05 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3927, allocations: 176.1 MB / 1.321 GB, free: 2.723 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2358/0.6286, allocations: 190.9 MB / 1.508 GB, free: 3.094 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01822/0.6468, allocations: 13.15 MB / 1.521 GB, free: 5.906 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.6484, allocations: 43.62 kB / 1.521 GB, free: 5.863 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.65, allocations: 445.1 kB / 1.521 GB, free: 5.426 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003785/0.6538, allocations: 1.198 MB / 1.522 GB, free: 4.223 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.6559, allocations: 0.712 MB / 1.523 GB, free: 3.512 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003279/0.6592, allocations: 2 MB / 1.525 GB, free: 1.508 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.6604, allocations: 0.6912 MB / 1.526 GB, free: 0.793 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005823/0.6662, allocations: 2.028 MB / 1.528 GB, free: 14.76 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002203/0.6684, allocations: 0.6941 MB / 1.528 GB, free: 14.07 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003225/0.6687, allocations: 84 kB / 1.528 GB, free: 13.98 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.6714, allocations: 0.9159 MB / 1.529 GB, free: 13.07 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0007084/0.6721, allocations: 386.9 kB / 1.53 GB, free: 12.69 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.6734, allocations: 0.5015 MB / 1.53 GB, free: 12.18 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003634/0.6771, allocations: 1.506 MB / 1.531 GB, free: 10.67 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.6771, allocations: 0 / 1.531 GB, free: 10.67 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6771, allocations: 0 / 1.531 GB, free: 10.67 MB / 1.232 GB Notification: Performance of Transformations before backend: time 5.952e-05/0.6771, allocations: 0 / 1.531 GB, free: 10.67 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.003323/0.6804, allocations: 1.261 MB / 1.533 GB, free: 9.359 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.6805, allocations: 11.98 kB / 1.533 GB, free: 9.348 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.6821, allocations: 223.1 kB / 1.533 GB, free: 9.129 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.6836, allocations: 0.6799 MB / 1.534 GB, free: 8.406 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-05/0.6837, allocations: 58 kB / 1.534 GB, free: 8.352 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.6838, allocations: 83.95 kB / 1.534 GB, free: 8.27 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.6855, allocations: 0.9365 MB / 1.535 GB, free: 7.246 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.6856, allocations: 8 kB / 1.535 GB, free: 7.238 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.284e-05/0.6856, allocations: 31.94 kB / 1.535 GB, free: 7.207 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.963e-05/0.6857, allocations: 33.23 kB / 1.535 GB, free: 7.176 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.6869, allocations: 0.6216 MB / 1.535 GB, free: 6.555 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.005479/0.6923, allocations: 4.677 MB / 1.54 GB, free: 1.566 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008975/0.6932, allocations: 0.5219 MB / 1.54 GB, free: 1.004 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/0.6936, allocations: 232.4 kB / 1.541 GB, free: 0.7695 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002128/0.6938, allocations: 105.1 kB / 1.541 GB, free: 0.6484 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.6939, allocations: 42.56 kB / 1.541 GB, free: 0.5977 MB / 1.232 GB Notification: Performance of pre-optimization done (n=43): time 2.756e-06/0.6939, allocations: 0 / 1.541 GB, free: 0.5977 MB / 1.232 GB Notification: Performance of matching and sorting (n=45): time 0.003377/0.6973, allocations: 1.618 MB / 1.542 GB, free: 14.92 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.082e-05/0.6974, allocations: 106.8 kB / 1.542 GB, free: 14.79 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.6984, allocations: 0.7158 MB / 1.543 GB, free: 14.07 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.656e-05/0.6984, allocations: 37.7 kB / 1.543 GB, free: 14.02 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.6988, allocations: 416.6 kB / 1.544 GB, free: 13.61 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.699, allocations: 174.5 kB / 1.544 GB, free: 13.44 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.6993, allocations: 122.3 kB / 1.544 GB, free: 13.31 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.6994, allocations: 326 kB / 1.544 GB, free: 12.98 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.6998, allocations: 189.2 kB / 1.544 GB, free: 12.8 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005606/0.7003, allocations: 417 kB / 1.545 GB, free: 12.3 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.00251/0.7028, allocations: 1.176 MB / 1.546 GB, free: 11.02 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.7028, allocations: 0 / 1.546 GB, free: 11.02 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001198/0.704, allocations: 0.6794 MB / 1.547 GB, free: 10.33 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.7041, allocations: 13.66 kB / 1.547 GB, free: 10.32 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.7041, allocations: 8 kB / 1.547 GB, free: 10.31 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/0.7041, allocations: 8.781 kB / 1.547 GB, free: 10.3 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004781/0.7046, allocations: 123.9 kB / 1.547 GB, free: 10.18 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.646e-05/0.7046, allocations: 19.92 kB / 1.547 GB, free: 10.16 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006651/0.7053, allocations: 24 kB / 1.547 GB, free: 10.14 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.7053, allocations: 35.97 kB / 1.547 GB, free: 10.1 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.0004652/0.7058, allocations: 277.5 kB / 1.547 GB, free: 9.82 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.706, allocations: 91.38 kB / 1.547 GB, free: 9.73 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.7062, allocations: 91.61 kB / 1.547 GB, free: 9.637 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.7062, allocations: 4 kB / 1.547 GB, free: 9.633 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.7063, allocations: 8 kB / 1.547 GB, free: 9.625 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00085/0.7071, allocations: 0.6949 MB / 1.548 GB, free: 8.844 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/0.71, allocations: 1.642 MB / 1.55 GB, free: 7.094 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.71, allocations: 7.984 kB / 1.55 GB, free: 7.086 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000467/0.7105, allocations: 99.86 kB / 1.55 GB, free: 6.988 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/0.7105, allocations: 11.94 kB / 1.55 GB, free: 6.977 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.7105, allocations: 16 kB / 1.55 GB, free: 6.961 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/0.7105, allocations: 8.062 kB / 1.55 GB, free: 6.953 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.7106, allocations: 4 kB / 1.55 GB, free: 6.949 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.7118, allocations: 0.873 MB / 1.551 GB, free: 6.012 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004284/0.7122, allocations: 212.5 kB / 1.551 GB, free: 5.785 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.7124, allocations: 19.98 kB / 1.551 GB, free: 5.766 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005117/0.7129, allocations: 12 kB / 1.551 GB, free: 5.754 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.7129, allocations: 47.83 kB / 1.551 GB, free: 5.707 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.713, allocations: 16 kB / 1.551 GB, free: 5.691 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007349/0.7137, allocations: 0.5146 MB / 1.551 GB, free: 5.18 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7137, allocations: 0 / 1.551 GB, free: 5.18 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008657/0.7146, allocations: 196 kB / 1.552 GB, free: 4.988 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.0005872/0.7152, allocations: 182.6 kB / 1.552 GB, free: 4.809 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.7162, allocations: 457 kB / 1.552 GB, free: 4.363 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.7162, allocations: 0 / 1.552 GB, free: 4.363 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003549/0.7166, allocations: 208 kB / 1.552 GB, free: 4.16 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.7189, allocations: 489.2 kB / 1.553 GB, free: 3.699 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.7221, allocations: 1.682 MB / 1.554 GB, free: 1.934 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009135/0.723, allocations: 1.024 MB / 1.555 GB, free: 0.8828 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007192/0.7237, allocations: 207 kB / 1.556 GB, free: 0.6758 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.7239, allocations: 63.42 kB / 1.556 GB, free: 0.6133 MB / 1.248 GB Notification: Performance of SimCode: time 7.22e-07/0.7239, allocations: 0 / 1.556 GB, free: 0.6133 MB / 1.248 GB Notification: Performance of Templates: time 0.03085/0.7548, allocations: 15.26 MB / 1.571 GB, free: 1.578 MB / 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: 10.059246245771646]