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.001597/0.001597, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001694/0.001694, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.462/1.462, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.867/2.867, allocations: 0.49 GB / 0.7923 GB, free: 1.312 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.002024/0.002024, allocations: 63.91 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9473/0.9493, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2385/1.188, allocations: 190.9 MB / 1.508 GB, free: 10.3 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01934/1.207, allocations: 13.15 MB / 1.521 GB, free: 13.11 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/1.209, allocations: 43.62 kB / 1.521 GB, free: 13.07 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001676/1.21, allocations: 441.1 kB / 1.522 GB, free: 12.63 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003591/1.214, allocations: 1.195 MB / 1.523 GB, free: 11.43 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002043/1.216, allocations: 0.7058 MB / 1.524 GB, free: 10.73 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003076/1.219, allocations: 2.009 MB / 1.526 GB, free: 8.719 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/1.22, allocations: 0.6912 MB / 1.526 GB, free: 8.004 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004891/1.225, allocations: 2.032 MB / 1.528 GB, free: 5.965 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001955/1.227, allocations: 0.701 MB / 1.529 GB, free: 5.266 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002095/1.227, allocations: 80 kB / 1.529 GB, free: 5.188 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002146/1.229, allocations: 0.9158 MB / 1.53 GB, free: 4.27 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000503/1.23, allocations: 390.9 kB / 1.53 GB, free: 3.887 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007179/1.231, allocations: 0.4976 MB / 1.531 GB, free: 3.387 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002826/1.233, allocations: 1.495 MB / 1.532 GB, free: 1.887 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.233, allocations: 0 / 1.532 GB, free: 1.887 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.973e-06/1.233, allocations: 0 / 1.532 GB, free: 1.887 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.203e-05/1.233, allocations: 0 / 1.532 GB, free: 1.887 MB / 1.201 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.002311/1.236, allocations: 1.273 MB / 1.533 GB, free: 0.5625 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/1.236, allocations: 11.98 kB / 1.533 GB, free: 0.5508 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/1.237, allocations: 223.1 kB / 1.534 GB, free: 340 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/1.238, allocations: 0.6838 MB / 1.534 GB, free: 15.6 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/1.238, allocations: 54 kB / 1.534 GB, free: 15.55 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/1.238, allocations: 79.95 kB / 1.534 GB, free: 15.47 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/1.24, allocations: 0.9365 MB / 1.535 GB, free: 14.45 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/1.24, allocations: 0 / 1.535 GB, free: 14.45 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.147e-05/1.24, allocations: 35.94 kB / 1.535 GB, free: 14.41 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/1.24, allocations: 33.3 kB / 1.535 GB, free: 14.38 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/1.241, allocations: 0.6216 MB / 1.536 GB, free: 13.76 MB / 1.217 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.005488/1.247, allocations: 4.65 MB / 1.541 GB, free: 8.801 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009298/1.248, allocations: 0.538 MB / 1.541 GB, free: 8.219 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/1.248, allocations: 233.7 kB / 1.541 GB, free: 7.984 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/1.248, allocations: 101 kB / 1.541 GB, free: 7.867 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/1.248, allocations: 42.56 kB / 1.541 GB, free: 7.816 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 4.819e-06/1.248, allocations: 3.984 kB / 1.541 GB, free: 7.812 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.003148/1.251, allocations: 1.626 MB / 1.543 GB, free: 6.133 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/1.251, allocations: 110.8 kB / 1.543 GB, free: 6 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009991/1.252, allocations: 0.7077 MB / 1.544 GB, free: 5.281 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.2e-05/1.253, allocations: 37.7 kB / 1.544 GB, free: 5.238 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/1.253, allocations: 424.5 kB / 1.544 GB, free: 4.816 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/1.253, allocations: 170.5 kB / 1.544 GB, free: 4.648 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/1.253, allocations: 126.3 kB / 1.545 GB, free: 4.516 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.253, allocations: 322 kB / 1.545 GB, free: 4.195 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/1.254, allocations: 189.2 kB / 1.545 GB, free: 4.012 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005734/1.254, allocations: 417 kB / 1.545 GB, free: 3.508 MB / 1.217 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.002551/1.257, allocations: 1.176 MB / 1.547 GB, free: 2.227 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.257, allocations: 4 kB / 1.547 GB, free: 2.223 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001176/1.258, allocations: 0.6799 MB / 1.547 GB, free: 1.535 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/1.258, allocations: 14.28 kB / 1.547 GB, free: 1.523 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.258, allocations: 4 kB / 1.547 GB, free: 1.52 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/1.258, allocations: 12 kB / 1.547 GB, free: 1.508 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004685/1.259, allocations: 123.8 kB / 1.547 GB, free: 1.387 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-05/1.259, allocations: 15.92 kB / 1.547 GB, free: 1.371 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/1.259, allocations: 24 kB / 1.547 GB, free: 1.348 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.206e-05/1.259, allocations: 32.23 kB / 1.547 GB, free: 1.316 MB / 1.217 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.0004168/1.26, allocations: 277.5 kB / 1.548 GB, free: 1.035 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/1.26, allocations: 91.38 kB / 1.548 GB, free: 0.9453 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/1.26, allocations: 91.73 kB / 1.548 GB, free: 0.8516 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/1.26, allocations: 8 kB / 1.548 GB, free: 0.8438 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.26, allocations: 3.984 kB / 1.548 GB, free: 0.8398 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008669/1.261, allocations: 0.7027 MB / 1.549 GB, free: 52 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/1.264, allocations: 1.635 MB / 1.55 GB, free: 14.3 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.264, allocations: 7.984 kB / 1.55 GB, free: 14.29 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004672/1.264, allocations: 99.89 kB / 1.55 GB, free: 14.2 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/1.264, allocations: 7.938 kB / 1.55 GB, free: 14.19 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/1.264, allocations: 20.44 kB / 1.55 GB, free: 14.17 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/1.264, allocations: 12 kB / 1.55 GB, free: 14.16 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.264, allocations: 4 kB / 1.55 GB, free: 14.15 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/1.265, allocations: 0.8692 MB / 1.551 GB, free: 13.22 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/1.266, allocations: 216.5 kB / 1.551 GB, free: 12.99 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.707e-05/1.266, allocations: 15.98 kB / 1.551 GB, free: 12.97 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004549/1.266, allocations: 16 kB / 1.551 GB, free: 12.96 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/1.266, allocations: 39.98 kB / 1.551 GB, free: 12.92 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/1.266, allocations: 23.94 kB / 1.552 GB, free: 12.89 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006879/1.267, allocations: 0.5107 MB / 1.552 GB, free: 12.39 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.01e-07/1.267, allocations: 0 / 1.552 GB, free: 12.39 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008088/1.268, allocations: 199.9 kB / 1.552 GB, free: 12.19 MB / 1.232 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.0004809/1.268, allocations: 185.4 kB / 1.552 GB, free: 12.01 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008715/1.269, allocations: 463.9 kB / 1.553 GB, free: 11.55 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.269, allocations: 0 / 1.553 GB, free: 11.55 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003147/1.27, allocations: 206.1 kB / 1.553 GB, free: 11.36 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/1.272, allocations: 483.8 kB / 1.553 GB, free: 10.9 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002907/1.275, allocations: 1.742 MB / 1.555 GB, free: 9.066 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007281/1.275, allocations: 1.024 MB / 1.556 GB, free: 8.016 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/1.276, allocations: 71.42 kB / 1.556 GB, free: 7.945 MB / 1.232 GB Notification: Performance of SimCode: time 1.072e-06/1.276, allocations: 0 / 1.556 GB, free: 7.945 MB / 1.232 GB Notification: Performance of Templates: time 0.02192/1.297, allocations: 13.01 MB / 1.569 GB, free: 11.06 MB / 1.248 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/jenkins1/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: 14.185868000000482]