Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008106/0.0008106, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008114/0.0008114, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.905/0.905, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.696/1.696, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.9518 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.957e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6689/0.6689, allocations: 165.4 MB / 1.113 GB, free: 34.99 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.6806, allocations: 11.98 MB / 1.125 GB, free: 26.95 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.682, allocations: 44.34 kB / 1.125 GB, free: 26.92 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.6833, allocations: 439.5 kB / 1.125 GB, free: 26.66 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00294/0.6862, allocations: 1.225 MB / 1.127 GB, free: 25.97 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.688, allocations: 0.7783 MB / 1.127 GB, free: 25.56 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002566/0.6906, allocations: 2.049 MB / 1.129 GB, free: 24.61 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008885/0.6915, allocations: 0.6148 MB / 1.13 GB, free: 24.3 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003849/0.6953, allocations: 2.094 MB / 1.132 GB, free: 23.35 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.6969, allocations: 0.6187 MB / 1.133 GB, free: 23.16 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.697, allocations: 79.91 kB / 1.133 GB, free: 23.16 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.6986, allocations: 0.7508 MB / 1.134 GB, free: 22.89 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004238/0.699, allocations: 414.3 kB / 1.134 GB, free: 22.71 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000413/0.6995, allocations: 353.3 kB / 1.134 GB, free: 22.57 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.7018, allocations: 1.514 MB / 1.136 GB, free: 22.03 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.7018, allocations: 5.188 kB / 1.136 GB, free: 22.02 MB / 0.9948 GB Notification: Performance of FrontEnd: time 4.127e-06/0.7018, allocations: 0.6094 kB / 1.136 GB, free: 22.02 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.66e-05/0.7018, allocations: 0 / 1.136 GB, free: 22.02 MB / 0.9948 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.001607/0.7034, allocations: 1.172 MB / 1.137 GB, free: 21.23 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.7035, allocations: 10.75 kB / 1.137 GB, free: 21.23 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008141/0.7043, allocations: 221.5 kB / 1.137 GB, free: 21.16 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008794/0.7052, allocations: 0.6199 MB / 1.138 GB, free: 20.78 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/0.7052, allocations: 57.53 kB / 1.138 GB, free: 20.75 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.781e-05/0.7053, allocations: 76.88 kB / 1.138 GB, free: 20.73 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.7065, allocations: 1.056 MB / 1.139 GB, free: 20.07 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.7065, allocations: 2.156 kB / 1.139 GB, free: 20.07 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.723e-05/0.7065, allocations: 32.25 kB / 1.139 GB, free: 20.04 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.555e-05/0.7066, allocations: 32.72 kB / 1.139 GB, free: 20.04 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008109/0.7074, allocations: 0.6176 MB / 1.14 GB, free: 19.82 MB / 0.9948 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.002611/0.71, allocations: 3.583 MB / 1.143 GB, free: 16.99 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005876/0.7106, allocations: 453.3 kB / 1.143 GB, free: 16.77 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.7108, allocations: 236.2 kB / 1.144 GB, free: 16.67 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.711, allocations: 24.8 kB / 1.144 GB, free: 16.66 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.711, allocations: 40.75 kB / 1.144 GB, free: 16.62 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/0.711, allocations: 0 / 1.144 GB, free: 16.62 MB / 0.9948 GB Notification: Performance of matching and sorting (n=45): time 0.00195/0.7129, allocations: 1.531 MB / 1.145 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.713, allocations: 109.3 kB / 1.145 GB, free: 15.63 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.7135, allocations: 0.5406 MB / 1.146 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.7135, allocations: 37.14 kB / 1.146 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.7137, allocations: 430.6 kB / 1.146 GB, free: 15 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 9.212e-05/0.7138, allocations: 175.7 kB / 1.146 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.7139, allocations: 118.1 kB / 1.147 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.8e-05/0.714, allocations: 369.6 kB / 1.147 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.7142, allocations: 188.7 kB / 1.147 GB, free: 14.4 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.7145, allocations: 0.5588 MB / 1.148 GB, free: 13.88 MB / 0.9948 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.001408/0.7159, allocations: 1.096 MB / 1.149 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.7159, allocations: 2.656 kB / 1.149 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006915/0.7166, allocations: 0.6667 MB / 1.149 GB, free: 13.02 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.7166, allocations: 8.719 kB / 1.149 GB, free: 13.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.7166, allocations: 5.844 kB / 1.149 GB, free: 13.02 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.7167, allocations: 13.59 kB / 1.149 GB, free: 13.02 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.7169, allocations: 123.6 kB / 1.15 GB, free: 13 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.717, allocations: 22.66 kB / 1.15 GB, free: 13 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.7172, allocations: 25.42 kB / 1.15 GB, free: 12.99 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.7173, allocations: 27.62 kB / 1.15 GB, free: 12.98 MB / 0.9948 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.0002933/0.7176, allocations: 281.1 kB / 1.15 GB, free: 12.79 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.16e-05/0.7177, allocations: 71.33 kB / 1.15 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.802e-05/0.7177, allocations: 73.38 kB / 1.15 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.7178, allocations: 5.188 kB / 1.15 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.7178, allocations: 5.469 kB / 1.15 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004711/0.7182, allocations: 0.7029 MB / 1.151 GB, free: 12.14 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.7198, allocations: 1.438 MB / 1.152 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.7198, allocations: 4.062 kB / 1.152 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.7201, allocations: 102.3 kB / 1.152 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/0.7201, allocations: 5.906 kB / 1.152 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.7201, allocations: 16.22 kB / 1.152 GB, free: 11.24 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.7201, allocations: 7.016 kB / 1.152 GB, free: 11.24 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7201, allocations: 4.375 kB / 1.152 GB, free: 11.24 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007433/0.7208, allocations: 0.8584 MB / 1.153 GB, free: 10.72 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.721, allocations: 114.2 kB / 1.153 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.721, allocations: 12.83 kB / 1.153 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.7212, allocations: 18.69 kB / 1.153 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.7213, allocations: 41.47 kB / 1.153 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.7213, allocations: 21.42 kB / 1.153 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003011/0.7216, allocations: 363.2 kB / 1.154 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.7216, allocations: 0 / 1.154 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006244/0.7222, allocations: 197.8 kB / 1.154 GB, free: 10.45 MB / 0.9948 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.0003767/0.7226, allocations: 200.1 kB / 1.154 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005681/0.7232, allocations: 463.7 kB / 1.154 GB, free: 10.17 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7232, allocations: 1.469 kB / 1.154 GB, free: 10.17 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.7234, allocations: 201.2 kB / 1.155 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009451/0.7243, allocations: 339.1 kB / 1.155 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.7263, allocations: 1.617 MB / 1.157 GB, free: 9.031 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.7267, allocations: 440.4 kB / 1.157 GB, free: 8.895 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.7269, allocations: 57.36 kB / 1.157 GB, free: 8.883 MB / 0.9948 GB Notification: Performance of SimCode: time 9.21e-07/0.7269, allocations: 0 / 1.157 GB, free: 8.883 MB / 0.9948 GB Notification: Performance of Templates: time 0.01724/0.7441, allocations: 11.56 MB / 1.168 GB, free: 7.629 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.264442276209593]