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.001728/0.001728, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001687/0.001687, allocations: 174.2 kB / 22.46 MB, free: 5.355 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.497/1.497, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 2.781/2.781, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] 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.603e-06/1.603e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.16e-05/3.32e-05, allocations: 2.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 1.03/1.03, allocations: 165.4 MB / 1.113 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01765/1.047, allocations: 11.98 MB / 1.124 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/1.049, allocations: 43.47 kB / 1.124 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001853/1.051, allocations: 433.6 kB / 1.125 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004355/1.055, allocations: 1.234 MB / 1.126 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002559/1.058, allocations: 0.7813 MB / 1.127 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004192/1.062, allocations: 2.047 MB / 1.129 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/1.064, allocations: 0.6104 MB / 1.129 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006888/1.071, allocations: 2.096 MB / 1.131 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/1.073, allocations: 0.6217 MB / 1.132 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002858/1.073, allocations: 81.25 kB / 1.132 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/1.076, allocations: 0.7373 MB / 1.133 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006814/1.076, allocations: 427.5 kB / 1.133 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007438/1.077, allocations: 351.9 kB / 1.133 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00323/1.08, allocations: 1.514 MB / 1.135 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.08, allocations: 1.094 kB / 1.135 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.825e-06/1.08, allocations: 1.312 kB / 1.135 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.299e-05/1.08, allocations: 2.062 kB / 1.135 GB, free: 11.55 MB / 0.9981 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.002786/1.083, allocations: 1.173 MB / 1.136 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/1.083, allocations: 9.672 kB / 1.136 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/1.085, allocations: 220.8 kB / 1.136 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/1.086, allocations: 0.6202 MB / 1.137 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.401e-05/1.086, allocations: 58.19 kB / 1.137 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/1.086, allocations: 75.19 kB / 1.137 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/1.088, allocations: 1.058 MB / 1.138 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/1.088, allocations: 7.688 kB / 1.138 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.153e-05/1.088, allocations: 31.97 kB / 1.138 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.213e-05/1.088, allocations: 29.56 kB / 1.138 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/1.09, allocations: 0.6163 MB / 1.139 GB, free: 10.19 MB / 0.9981 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.00393/1.093, allocations: 3.58 MB / 1.142 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008362/1.094, allocations: 463.7 kB / 1.143 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003558/1.095, allocations: 229.9 kB / 1.143 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/1.095, allocations: 25.19 kB / 1.143 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/1.095, allocations: 41.95 kB / 1.143 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=43): time 2.836e-06/1.095, allocations: 0.75 kB / 1.143 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.002958/1.098, allocations: 1.526 MB / 1.144 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/1.098, allocations: 108.9 kB / 1.145 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007358/1.099, allocations: 0.5398 MB / 1.145 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/1.099, allocations: 36.81 kB / 1.145 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/1.099, allocations: 439.6 kB / 1.146 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/1.099, allocations: 170.8 kB / 1.146 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/1.099, allocations: 122.8 kB / 1.146 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001189/1.099, allocations: 377.3 kB / 1.146 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/1.1, allocations: 185.8 kB / 1.146 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/1.1, allocations: 0.5577 MB / 1.147 GB, free: 5.762 MB / 0.9981 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.002429/1.103, allocations: 1.103 MB / 1.148 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.103, allocations: 1.062 kB / 1.148 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00111/1.104, allocations: 0.6644 MB / 1.149 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/1.104, allocations: 8.156 kB / 1.149 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/1.104, allocations: 6.844 kB / 1.149 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.095e-05/1.104, allocations: 13.97 kB / 1.149 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/1.104, allocations: 126.4 kB / 1.149 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.182e-05/1.104, allocations: 13.38 kB / 1.149 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006326/1.105, allocations: 25.86 kB / 1.149 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.3e-05/1.105, allocations: 26.53 kB / 1.149 GB, free: 5.445 MB / 0.9981 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.00048/1.106, allocations: 280.6 kB / 1.149 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/1.106, allocations: 68.55 kB / 1.149 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/1.106, allocations: 76.02 kB / 1.149 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/1.106, allocations: 5.531 kB / 1.149 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/1.106, allocations: 2.188 kB / 1.149 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007347/1.107, allocations: 0.6978 MB / 1.15 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/1.109, allocations: 1.433 MB / 1.151 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/1.109, allocations: 4.812 kB / 1.151 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004655/1.11, allocations: 99.41 kB / 1.151 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/1.11, allocations: 6.656 kB / 1.151 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/1.11, allocations: 16.06 kB / 1.151 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-05/1.11, allocations: 13.28 kB / 1.151 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.11, allocations: 8.844 kB / 1.151 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/1.111, allocations: 0.844 MB / 1.152 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002791/1.111, allocations: 110.5 kB / 1.152 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.165e-05/1.111, allocations: 15.03 kB / 1.152 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/1.112, allocations: 16.92 kB / 1.152 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/1.112, allocations: 42.94 kB / 1.152 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/1.112, allocations: 20.34 kB / 1.153 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005276/1.112, allocations: 365.6 kB / 1.153 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.112, allocations: 4.875 kB / 1.153 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001012/1.113, allocations: 197.8 kB / 1.153 GB, free: 3.863 MB / 0.9981 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.0005145/1.114, allocations: 197.9 kB / 1.153 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008762/1.115, allocations: 464.5 kB / 1.154 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.115, allocations: 4.875 kB / 1.154 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003081/1.115, allocations: 206.6 kB / 1.154 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/1.117, allocations: 345.8 kB / 1.154 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/1.119, allocations: 1.548 MB / 1.156 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/1.12, allocations: 441.5 kB / 1.156 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005793/1.12, allocations: 172.2 kB / 1.156 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/1.12, allocations: 53.44 kB / 1.156 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/1.12, allocations: 0.9375 kB / 1.156 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of Templates: time 0.02342/1.144, allocations: 11.84 MB / 1.168 GB, free: 1.672 MB / 0.9981 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.594363383948803]