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.001385/0.001385, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001929/0.001929, allocations: 214 kB / 22.25 MB, free: 4.859 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.713/1.713, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.044/3.044, allocations: 475.9 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002131/0.002131, allocations: 64.98 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4126, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2448/0.6574, allocations: 165.6 MB / 1.445 GB, free: 5.734 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01645/0.6738, allocations: 12.02 MB / 1.457 GB, free: 9.676 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.6751, allocations: 43.62 kB / 1.457 GB, free: 9.633 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.6767, allocations: 425.2 kB / 1.457 GB, free: 9.215 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003481/0.6802, allocations: 1.202 MB / 1.458 GB, free: 8.008 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.6824, allocations: 0.7328 MB / 1.459 GB, free: 7.277 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003196/0.6856, allocations: 2.047 MB / 1.461 GB, free: 5.227 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.6869, allocations: 0.6059 MB / 1.461 GB, free: 4.598 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005055/0.692, allocations: 1.864 MB / 1.463 GB, free: 2.727 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.6942, allocations: 0.6907 MB / 1.464 GB, free: 2.043 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004814/0.6946, allocations: 80 kB / 1.464 GB, free: 1.965 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002561/0.6972, allocations: 0.7364 MB / 1.465 GB, free: 1.227 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007853/0.698, allocations: 390.8 kB / 1.465 GB, free: 0.8438 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.6992, allocations: 422.1 kB / 1.465 GB, free: 440 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003482/0.7026, allocations: 1.487 MB / 1.467 GB, free: 14.94 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.7027, allocations: 4 kB / 1.467 GB, free: 14.93 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7027, allocations: 0 / 1.467 GB, free: 14.93 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.814e-05/0.7027, allocations: 0 / 1.467 GB, free: 14.93 MB / 1.17 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.002985/0.7057, allocations: 1.178 MB / 1.468 GB, free: 13.72 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.7058, allocations: 12.03 kB / 1.468 GB, free: 13.71 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.7071, allocations: 223.1 kB / 1.468 GB, free: 13.49 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.7086, allocations: 0.6155 MB / 1.469 GB, free: 12.85 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.307e-05/0.7086, allocations: 65.94 kB / 1.469 GB, free: 12.79 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.7088, allocations: 79.94 kB / 1.469 GB, free: 12.71 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.7104, allocations: 1.062 MB / 1.47 GB, free: 11.53 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.7105, allocations: 0 / 1.47 GB, free: 11.53 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.903e-05/0.7105, allocations: 35.94 kB / 1.47 GB, free: 11.49 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.116e-05/0.7106, allocations: 33.3 kB / 1.47 GB, free: 11.46 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.7117, allocations: 0.6177 MB / 1.471 GB, free: 10.84 MB / 1.17 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.004591/0.7162, allocations: 3.586 MB / 1.474 GB, free: 7.125 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008608/0.7171, allocations: 459.7 kB / 1.475 GB, free: 6.648 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.7175, allocations: 230.5 kB / 1.475 GB, free: 6.414 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/0.7176, allocations: 27.98 kB / 1.475 GB, free: 6.387 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.777e-05/0.7177, allocations: 42.5 kB / 1.475 GB, free: 6.336 MB / 1.17 GB Notification: Performance of pre-optimization done (n=43): time 2.344e-06/0.7177, allocations: 4 kB / 1.475 GB, free: 6.332 MB / 1.17 GB Notification: Performance of matching and sorting (n=45): time 0.003123/0.7208, allocations: 1.522 MB / 1.476 GB, free: 4.773 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.7209, allocations: 106.8 kB / 1.477 GB, free: 4.645 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007426/0.7216, allocations: 0.5422 MB / 1.477 GB, free: 4.098 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.7217, allocations: 37.7 kB / 1.477 GB, free: 4.055 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.7221, allocations: 440 kB / 1.478 GB, free: 3.617 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.7223, allocations: 174.5 kB / 1.478 GB, free: 3.445 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.7225, allocations: 122.3 kB / 1.478 GB, free: 3.32 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.7226, allocations: 366.8 kB / 1.478 GB, free: 2.953 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.723, allocations: 189.2 kB / 1.478 GB, free: 2.766 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006145/0.7236, allocations: 0.5578 MB / 1.479 GB, free: 2.078 MB / 1.17 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.002402/0.726, allocations: 1.103 MB / 1.48 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.726, allocations: 0 / 1.48 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001131/0.7271, allocations: 0.6566 MB / 1.481 GB, free: 232 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.7271, allocations: 11.94 kB / 1.481 GB, free: 220 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.7272, allocations: 11.94 kB / 1.481 GB, free: 208 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.7272, allocations: 8.094 kB / 1.481 GB, free: 200 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/0.7277, allocations: 128.5 kB / 1.481 GB, free: 72 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/0.7277, allocations: 15.92 kB / 1.481 GB, free: 56 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005921/0.7283, allocations: 32.03 kB / 1.481 GB, free: 24 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.519e-05/0.7284, allocations: 32.05 kB / 1.481 GB, free: 15.99 MB / 1.186 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.0004664/0.7288, allocations: 273.7 kB / 1.481 GB, free: 15.72 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.729, allocations: 67.58 kB / 1.481 GB, free: 15.65 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.7292, allocations: 82.19 kB / 1.481 GB, free: 15.57 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.7292, allocations: 4 kB / 1.481 GB, free: 15.57 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.7292, allocations: 0 / 1.481 GB, free: 15.57 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008489/0.73, allocations: 0.7027 MB / 1.482 GB, free: 14.78 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/0.7327, allocations: 1.444 MB / 1.483 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.7327, allocations: 4.5 kB / 1.483 GB, free: 13.24 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004717/0.7332, allocations: 99.89 kB / 1.483 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.7332, allocations: 8 kB / 1.483 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.7332, allocations: 16 kB / 1.484 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.509e-05/0.7332, allocations: 15.86 kB / 1.484 GB, free: 13.11 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.7333, allocations: 8 kB / 1.484 GB, free: 13.1 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.7345, allocations: 0.8461 MB / 1.484 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003349/0.7348, allocations: 107.6 kB / 1.484 GB, free: 12.08 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/0.7349, allocations: 15.98 kB / 1.484 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.7354, allocations: 27.88 kB / 1.485 GB, free: 12.04 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.7354, allocations: 35.94 kB / 1.485 GB, free: 12 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.7355, allocations: 23.94 kB / 1.485 GB, free: 11.98 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005068/0.736, allocations: 366.8 kB / 1.485 GB, free: 11.62 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/0.736, allocations: 0 / 1.485 GB, free: 11.62 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007924/0.7368, allocations: 195.9 kB / 1.485 GB, free: 11.43 MB / 1.186 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.0004935/0.7373, allocations: 192.4 kB / 1.485 GB, free: 11.24 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009149/0.7382, allocations: 459.5 kB / 1.486 GB, free: 10.79 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.7382, allocations: 0 / 1.486 GB, free: 10.79 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.7385, allocations: 205.9 kB / 1.486 GB, free: 10.59 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.7401, allocations: 342.9 kB / 1.486 GB, free: 10.26 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.7431, allocations: 1.658 MB / 1.488 GB, free: 8.527 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.7436, allocations: 432.2 kB / 1.488 GB, free: 8.074 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006304/0.7443, allocations: 177.3 kB / 1.488 GB, free: 7.898 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.7444, allocations: 51.44 kB / 1.488 GB, free: 7.848 MB / 1.186 GB Notification: Performance of SimCode: time 1.443e-06/0.7444, allocations: 0 / 1.488 GB, free: 7.848 MB / 1.186 GB Notification: Performance of Templates: time 0.02471/0.7692, allocations: 13.14 MB / 1.501 GB, free: 11.04 MB / 1.201 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: 10.460331926122308]