Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00185/0.00185, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002709/0.002709, allocations: 223.6 kB / 23 MB, free: 4.91 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.325/3.325, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002106/0.002106, allocations: 63.62 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3472, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2111/0.5582, allocations: 165.6 MB / 1.526 GB, free: 7.293 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01756/0.5758, allocations: 12.02 MB / 1.538 GB, free: 11.24 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.5769, allocations: 43.62 kB / 1.538 GB, free: 11.2 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.5784, allocations: 429.2 kB / 1.539 GB, free: 10.77 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.003219/0.5816, allocations: 1.206 MB / 1.54 GB, free: 9.562 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.5836, allocations: 0.7141 MB / 1.54 GB, free: 8.852 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002883/0.5864, allocations: 2.041 MB / 1.542 GB, free: 6.805 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.5875, allocations: 0.6176 MB / 1.543 GB, free: 6.16 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0047/0.5922, allocations: 2.008 MB / 1.545 GB, free: 4.145 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.594, allocations: 0.6621 MB / 1.546 GB, free: 3.492 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.5942, allocations: 83.98 kB / 1.546 GB, free: 3.41 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.5959, allocations: 0.7248 MB / 1.546 GB, free: 2.684 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004504/0.5964, allocations: 390.8 kB / 1.547 GB, free: 2.301 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0005452/0.5969, allocations: 422.1 kB / 1.547 GB, free: 1.887 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002328/0.5992, allocations: 1.498 MB / 1.549 GB, free: 392 kB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5992, allocations: 0 / 1.549 GB, free: 392 kB / 1.232 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5992, allocations: 0 / 1.549 GB, free: 392 kB / 1.232 GB Notification: Performance of Transformations before backend: time 2.204e-05/0.5993, allocations: 0 / 1.549 GB, free: 392 kB / 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.002025/0.6013, allocations: 1.174 MB / 1.55 GB, free: 15.18 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.6013, allocations: 12.03 kB / 1.55 GB, free: 15.16 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.6026, allocations: 223.1 kB / 1.55 GB, free: 14.95 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.6039, allocations: 0.6193 MB / 1.551 GB, free: 14.3 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.6e-05/0.6039, allocations: 58 kB / 1.551 GB, free: 14.25 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.6041, allocations: 80 kB / 1.551 GB, free: 14.17 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.6057, allocations: 1.058 MB / 1.552 GB, free: 12.99 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.6057, allocations: 0 / 1.552 GB, free: 12.99 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.367e-05/0.6058, allocations: 35.94 kB / 1.552 GB, free: 12.96 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.583e-05/0.6058, allocations: 25.31 kB / 1.552 GB, free: 12.93 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.6069, allocations: 0.6216 MB / 1.553 GB, free: 12.31 MB / 1.248 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.004656/0.6116, allocations: 3.582 MB / 1.556 GB, free: 8.598 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008697/0.6125, allocations: 457.2 kB / 1.556 GB, free: 8.125 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003816/0.6129, allocations: 234.5 kB / 1.557 GB, free: 7.887 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/0.613, allocations: 19.98 kB / 1.557 GB, free: 7.867 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.6131, allocations: 42.5 kB / 1.557 GB, free: 7.816 MB / 1.248 GB Notification: Performance of pre-optimization done (n=43): time 2.294e-06/0.6131, allocations: 0 / 1.557 GB, free: 7.816 MB / 1.248 GB Notification: Performance of matching and sorting (n=45): time 0.003062/0.6161, allocations: 1.543 MB / 1.558 GB, free: 6.234 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.6162, allocations: 110.8 kB / 1.558 GB, free: 6.102 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007321/0.6169, allocations: 0.5341 MB / 1.559 GB, free: 5.562 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.617, allocations: 33.7 kB / 1.559 GB, free: 5.523 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/0.6173, allocations: 444 kB / 1.559 GB, free: 5.082 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.6175, allocations: 166.5 kB / 1.559 GB, free: 4.918 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.6177, allocations: 130.2 kB / 1.56 GB, free: 4.785 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002194/0.6179, allocations: 370.8 kB / 1.56 GB, free: 4.414 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.6183, allocations: 189.2 kB / 1.56 GB, free: 4.23 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006399/0.6189, allocations: 0.5656 MB / 1.561 GB, free: 3.531 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.002489/0.6214, allocations: 1.101 MB / 1.562 GB, free: 2.344 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6214, allocations: 0 / 1.562 GB, free: 2.344 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001158/0.6225, allocations: 0.6606 MB / 1.562 GB, free: 1.676 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.6226, allocations: 12.03 kB / 1.562 GB, free: 1.664 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.6226, allocations: 12 kB / 1.562 GB, free: 1.652 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.6226, allocations: 8 kB / 1.562 GB, free: 1.645 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.6231, allocations: 123.8 kB / 1.563 GB, free: 1.523 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/0.6231, allocations: 15.92 kB / 1.563 GB, free: 1.508 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005586/0.6237, allocations: 31.92 kB / 1.563 GB, free: 1.477 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.823e-05/0.6237, allocations: 32 kB / 1.563 GB, free: 1.445 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.0004391/0.6242, allocations: 273.5 kB / 1.563 GB, free: 1.168 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.6243, allocations: 71.52 kB / 1.563 GB, free: 1.098 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.6245, allocations: 82.25 kB / 1.563 GB, free: 1.02 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.6245, allocations: 4 kB / 1.563 GB, free: 1.016 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.6245, allocations: 0 / 1.563 GB, free: 1.016 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008926/0.6254, allocations: 0.6963 MB / 1.564 GB, free: 240 kB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/0.628, allocations: 1.444 MB / 1.565 GB, free: 14.7 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.628, allocations: 4 kB / 1.565 GB, free: 14.7 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004606/0.6284, allocations: 95.89 kB / 1.565 GB, free: 14.61 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.6285, allocations: 8 kB / 1.565 GB, free: 14.6 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/0.6285, allocations: 20 kB / 1.565 GB, free: 14.58 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.434e-05/0.6285, allocations: 15.92 kB / 1.565 GB, free: 14.56 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.6285, allocations: 8 kB / 1.565 GB, free: 14.55 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.6298, allocations: 0.8463 MB / 1.566 GB, free: 13.64 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/0.6301, allocations: 107.6 kB / 1.566 GB, free: 13.54 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.813e-05/0.6302, allocations: 27.86 kB / 1.566 GB, free: 13.51 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.6306, allocations: 12 kB / 1.566 GB, free: 13.5 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.6307, allocations: 39.88 kB / 1.566 GB, free: 13.46 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.6308, allocations: 20 kB / 1.566 GB, free: 13.44 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0004846/0.6312, allocations: 366.8 kB / 1.567 GB, free: 13.09 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.6312, allocations: 0 / 1.567 GB, free: 13.09 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0007766/0.632, allocations: 199.9 kB / 1.567 GB, free: 12.89 MB / 1.264 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.000468/0.6325, allocations: 192.3 kB / 1.567 GB, free: 12.7 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0009773/0.6335, allocations: 460.5 kB / 1.567 GB, free: 12.25 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6335, allocations: 448 / 1.567 GB, free: 12.25 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.6338, allocations: 199.7 kB / 1.568 GB, free: 12.05 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.6354, allocations: 347.4 kB / 1.568 GB, free: 11.72 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.6384, allocations: 1.701 MB / 1.57 GB, free: 9.934 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/0.6389, allocations: 440.1 kB / 1.57 GB, free: 9.477 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.6391, allocations: 59.44 kB / 1.57 GB, free: 9.418 MB / 1.264 GB Notification: Performance of SimCode: time 7.02e-07/0.6391, allocations: 0 / 1.57 GB, free: 9.418 MB / 1.264 GB Notification: Performance of Templates: time 0.021/0.6601, allocations: 11.49 MB / 1.581 GB, free: 14.03 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.109618416056037]