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.001897/0.001897, allocations: 84.39 kB / 20.23 MB, free: 4.32 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.002351/0.002351, allocations: 165.7 kB / 23.54 MB, free: 1.012 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.514/1.514, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.017/3.017, allocations: 377.8 MB / 0.6232 GB, free: 8.512 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.423e-06/1.423e-06, allocations: 0 / 0.8108 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.36e-05/3.503e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2941/0.2941, allocations: 165.5 MB / 0.9725 GB, free: 11.99 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02176/0.3159, allocations: 11.99 MB / 0.9842 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.3175, allocations: 43.62 kB / 0.9842 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.3192, allocations: 437 kB / 0.9846 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.003943/0.3231, allocations: 1.232 MB / 0.9858 GB, free: 14.26 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002462/0.3256, allocations: 0.7752 MB / 0.9866 GB, free: 13.48 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.003519/0.3291, allocations: 2.048 MB / 0.9886 GB, free: 11.43 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.3305, allocations: 0.6335 MB / 0.9892 GB, free: 10.78 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006558/0.3371, allocations: 2.23 MB / 0.9914 GB, free: 8.539 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.3393, allocations: 0.6159 MB / 0.992 GB, free: 7.938 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.000272/0.3396, allocations: 84 kB / 0.9921 GB, free: 7.855 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.3418, allocations: 0.7439 MB / 0.9928 GB, free: 7.109 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0008037/0.3426, allocations: 406.9 kB / 0.9932 GB, free: 6.711 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009544/0.3436, allocations: 355.2 kB / 0.9935 GB, free: 6.363 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00347/0.347, allocations: 1.519 MB / 0.995 GB, free: 4.84 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.347, allocations: 0 / 0.995 GB, free: 4.84 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3471, allocations: 0 / 0.995 GB, free: 4.84 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.789e-05/0.3471, allocations: 0 / 0.995 GB, free: 4.84 MB / 0.948 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.003263/0.3504, allocations: 1.178 MB / 0.9961 GB, free: 3.625 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.3504, allocations: 8.031 kB / 0.9961 GB, free: 3.617 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.3521, allocations: 298.9 kB / 0.9964 GB, free: 3.324 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.3536, allocations: 0.6467 MB / 0.9971 GB, free: 2.652 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.896e-05/0.3536, allocations: 58 kB / 0.9971 GB, free: 2.594 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.3538, allocations: 80 kB / 0.9972 GB, free: 2.516 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.3558, allocations: 1.062 MB / 0.9982 GB, free: 1.34 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.3558, allocations: 0 / 0.9982 GB, free: 1.34 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.3559, allocations: 36 kB / 0.9983 GB, free: 1.305 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.657e-05/0.356, allocations: 29.25 kB / 0.9983 GB, free: 1.277 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.3573, allocations: 0.6177 MB / 0.9989 GB, free: 0.6562 MB / 0.948 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.005524/0.3628, allocations: 3.614 MB / 1.002 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009468/0.3638, allocations: 459.9 kB / 1.003 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004091/0.3642, allocations: 230.5 kB / 1.003 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.3643, allocations: 23.98 kB / 1.003 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/0.3644, allocations: 42.56 kB / 1.003 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=43): time 1.583e-06/0.3644, allocations: 0 / 1.003 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of matching and sorting (n=45): time 0.004233/0.3686, allocations: 1.551 MB / 1.005 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.3687, allocations: 118.7 kB / 1.005 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.3698, allocations: 0.5381 MB / 1.005 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.946e-05/0.3699, allocations: 33.7 kB / 1.005 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005277/0.3704, allocations: 440.3 kB / 1.006 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/0.3707, allocations: 174.5 kB / 1.006 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/0.3709, allocations: 114.3 kB / 1.006 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002716/0.3712, allocations: 374.8 kB / 1.006 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/0.3716, allocations: 189.2 kB / 1.007 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009311/0.3725, allocations: 0.5617 MB / 1.007 GB, free: 7.836 MB / 0.9636 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.003122/0.3757, allocations: 1.102 MB / 1.008 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.3757, allocations: 0 / 1.008 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001576/0.3773, allocations: 0.6839 MB / 1.009 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.3773, allocations: 8 kB / 1.009 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/0.3773, allocations: 11.98 kB / 1.009 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-05/0.3774, allocations: 8 kB / 1.009 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006013/0.378, allocations: 123.8 kB / 1.009 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.655e-05/0.378, allocations: 15.88 kB / 1.009 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007064/0.3787, allocations: 24.39 kB / 1.009 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.3788, allocations: 32 kB / 1.009 GB, free: 5.738 MB / 0.9636 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.0007313/0.3796, allocations: 277.5 kB / 1.009 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/0.3799, allocations: 79.58 kB / 1.009 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.3801, allocations: 78.25 kB / 1.009 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.3801, allocations: 7.984 kB / 1.009 GB, free: 5.289 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/0.3801, allocations: 3.938 kB / 1.009 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001127/0.3812, allocations: 0.6964 MB / 1.01 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003236/0.3845, allocations: 1.446 MB / 1.012 GB, free: 2.969 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.3845, allocations: 4 kB / 1.012 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/0.385, allocations: 100.3 kB / 1.012 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.662e-05/0.385, allocations: 8 kB / 1.012 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.286e-05/0.3851, allocations: 20 kB / 1.012 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/0.3851, allocations: 4 kB / 1.012 GB, free: 2.836 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.597e-06/0.3851, allocations: 7.938 kB / 1.012 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.3866, allocations: 0.8768 MB / 1.013 GB, free: 1.891 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003321/0.3869, allocations: 103.6 kB / 1.013 GB, free: 1.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.387, allocations: 16 kB / 1.013 GB, free: 1.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004762/0.3875, allocations: 23.92 kB / 1.013 GB, free: 1.75 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.3876, allocations: 47.81 kB / 1.013 GB, free: 1.703 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.3876, allocations: 20 kB / 1.013 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0005506/0.3882, allocations: 362.8 kB / 1.013 GB, free: 1.332 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.3882, allocations: 0 / 1.013 GB, free: 1.332 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000922/0.3891, allocations: 200 kB / 1.013 GB, free: 1.137 MB / 0.9636 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.0006323/0.3898, allocations: 192.1 kB / 1.014 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.3908, allocations: 459.8 kB / 1.014 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.3908, allocations: 0 / 1.014 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.3911, allocations: 205.7 kB / 1.014 GB, free: 308 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.3929, allocations: 343.9 kB / 1.014 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.3963, allocations: 1.575 MB / 1.016 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006268/0.3969, allocations: 436.2 kB / 1.016 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0006692/0.3976, allocations: 177.3 kB / 1.017 GB, free: 13.69 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.3978, allocations: 56.5 kB / 1.017 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of SimCode: time 1.082e-06/0.3978, allocations: 0 / 1.017 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of Templates: time 0.02544/0.4232, allocations: 11.96 MB / 1.028 GB, free: 2.02 MB / 0.9792 GB " [Timeout remaining time 300] 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/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.005093430983834]