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.002505/0.002505, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002908/0.002908, allocations: 161.7 kB / 23.55 MB, free: 0.875 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 1.616/1.616, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.114/3.114, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.797e-05, allocations: 6.312 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2782/0.2782, allocations: 184.2 MB / 0.9907 GB, free: 9.277 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.02307/0.3013, allocations: 13.43 MB / 1.004 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/0.3029, allocations: 43.62 kB / 1.004 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.3046, allocations: 429 kB / 1.004 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.004413/0.309, allocations: 1.236 MB / 1.006 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.3115, allocations: 0.7674 MB / 1.006 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003456/0.3149, allocations: 2.06 MB / 1.008 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.3163, allocations: 0.6295 MB / 1.009 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005895/0.3222, allocations: 2.238 MB / 1.011 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002462/0.3246, allocations: 0.6229 MB / 1.012 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.000234/0.3249, allocations: 80 kB / 1.012 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.327, allocations: 0.7361 MB / 1.012 GB, free: 2.957 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0006197/0.3276, allocations: 418.8 kB / 1.013 GB, free: 2.547 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000674/0.3283, allocations: 355.2 kB / 1.013 GB, free: 2.199 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.003044/0.3313, allocations: 1.523 MB / 1.015 GB, free: 0.6719 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3313, allocations: 0 / 1.015 GB, free: 0.6719 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3313, allocations: 0 / 1.015 GB, free: 0.6719 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.3314, allocations: 0 / 1.015 GB, free: 0.6719 MB / 0.9636 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.002459/0.3338, allocations: 1.348 MB / 1.016 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3339, allocations: 16.03 kB / 1.016 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.3352, allocations: 290.9 kB / 1.016 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.3365, allocations: 0.6378 MB / 1.017 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.97e-05/0.3366, allocations: 62 kB / 1.017 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.3367, allocations: 83.98 kB / 1.017 GB, free: 14.17 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.3384, allocations: 0.9985 MB / 1.018 GB, free: 13.03 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.3384, allocations: 7.938 kB / 1.018 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-05/0.3385, allocations: 32 kB / 1.018 GB, free: 12.99 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.427e-05/0.3385, allocations: 25.31 kB / 1.018 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009478/0.3395, allocations: 436.6 kB / 1.019 GB, free: 12.54 MB / 0.9792 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.006188/0.3457, allocations: 4.954 MB / 1.023 GB, free: 7.418 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008433/0.3465, allocations: 381.5 kB / 1.024 GB, free: 7.008 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.3468, allocations: 174.8 kB / 1.024 GB, free: 6.824 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.347, allocations: 23.98 kB / 1.024 GB, free: 6.801 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.3471, allocations: 45.33 kB / 1.024 GB, free: 6.746 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=43): time 2.535e-06/0.3471, allocations: 0 / 1.024 GB, free: 6.746 MB / 0.9792 GB Notification: Performance of matching and sorting (n=45): time 0.003215/0.3503, allocations: 1.286 MB / 1.025 GB, free: 5.422 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.014e-05/0.3504, allocations: 118.7 kB / 1.025 GB, free: 5.281 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008817/0.3513, allocations: 0.6548 MB / 1.026 GB, free: 4.609 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.3513, allocations: 37.7 kB / 1.026 GB, free: 4.566 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004481/0.3518, allocations: 0.4988 MB / 1.026 GB, free: 4.062 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.352, allocations: 186.5 kB / 1.027 GB, free: 3.879 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.3522, allocations: 143.9 kB / 1.027 GB, free: 3.73 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000399/0.3526, allocations: 0.5821 MB / 1.027 GB, free: 3.137 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.3529, allocations: 109.2 kB / 1.027 GB, free: 3.027 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006905/0.3536, allocations: 0.5889 MB / 1.028 GB, free: 2.273 MB / 0.9792 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.002381/0.356, allocations: 0.9256 MB / 1.029 GB, free: 1.23 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.356, allocations: 4 kB / 1.029 GB, free: 1.227 MB / 0.9792 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001084/0.357, allocations: 0.5359 MB / 1.029 GB, free: 0.6836 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.3571, allocations: 13.03 kB / 1.029 GB, free: 0.6719 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.3571, allocations: 12.06 kB / 1.03 GB, free: 0.6602 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.3571, allocations: 8 kB / 1.03 GB, free: 0.6523 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004984/0.3576, allocations: 131.8 kB / 1.03 GB, free: 0.5234 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.369e-05/0.3576, allocations: 15.88 kB / 1.03 GB, free: 0.5078 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005268/0.3582, allocations: 27.98 kB / 1.03 GB, free: 492 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/0.3582, allocations: 24 kB / 1.03 GB, free: 468 kB / 0.9792 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.0004058/0.3586, allocations: 252.9 kB / 1.03 GB, free: 204 kB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.3588, allocations: 83.58 kB / 1.03 GB, free: 120 kB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.359, allocations: 70.25 kB / 1.03 GB, free: 44 kB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.359, allocations: 8 kB / 1.03 GB, free: 36 kB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.359, allocations: 11.92 kB / 1.03 GB, free: 24 kB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008402/0.3599, allocations: 0.5987 MB / 1.031 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003162/0.363, allocations: 1.623 MB / 1.032 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.363, allocations: 4 kB / 1.032 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004786/0.3635, allocations: 95.89 kB / 1.032 GB, free: 13.51 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.3635, allocations: 4 kB / 1.032 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.3636, allocations: 12.06 kB / 1.032 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.886e-05/0.3636, allocations: 19.92 kB / 1.032 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.3636, allocations: 4 kB / 1.032 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.3648, allocations: 0.7815 MB / 1.033 GB, free: 12.6 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.3651, allocations: 111.6 kB / 1.033 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.631e-05/0.3652, allocations: 15.98 kB / 1.033 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/0.3656, allocations: 16 kB / 1.033 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.182e-05/0.3657, allocations: 43.81 kB / 1.033 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.3657, allocations: 20 kB / 1.033 GB, free: 12.4 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005213/0.3662, allocations: 402.8 kB / 1.034 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3662, allocations: 0 / 1.034 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008352/0.3671, allocations: 207.9 kB / 1.034 GB, free: 11.8 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.0005377/0.3676, allocations: 189.5 kB / 1.034 GB, free: 11.62 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007993/0.3684, allocations: 369.6 kB / 1.034 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.3684, allocations: 4.375 kB / 1.034 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.3687, allocations: 171.9 kB / 1.035 GB, free: 11.08 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/0.3705, allocations: 348.5 kB / 1.035 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.3733, allocations: 1.514 MB / 1.036 GB, free: 9.137 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005457/0.3739, allocations: 428.1 kB / 1.037 GB, free: 8.688 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005373/0.3744, allocations: 157.3 kB / 1.037 GB, free: 8.531 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.3746, allocations: 52.5 kB / 1.037 GB, free: 8.48 MB / 0.9948 GB Notification: Performance of SimCode: time 1.533e-06/0.3746, allocations: 0 / 1.037 GB, free: 8.48 MB / 0.9948 GB Notification: Performance of Templates: time 0.3668/0.7413, allocations: 12.03 MB / 1.049 GB, free: 275.2 MB / 0.9948 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] 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/jenkins/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: 9.5819440940395]