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.002029/0.002029, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002634/0.002634, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.577/1.577, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.801/2.801, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.276e-05/3.447e-05, allocations: 7.031 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2563/0.2563, allocations: 165.4 MB / 0.948 GB, free: 6.801 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01981/0.2761, allocations: 11.99 MB / 0.9597 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.2773, allocations: 47.62 kB / 0.9597 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.2788, allocations: 425.1 kB / 0.9601 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.003613/0.2824, allocations: 1.236 MB / 0.9613 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.2847, allocations: 0.7869 MB / 0.9621 GB, free: 8.281 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.003261/0.288, allocations: 2.046 MB / 0.9641 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.2892, allocations: 0.6373 MB / 0.9647 GB, free: 5.578 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004725/0.2939, allocations: 2.09 MB / 0.9668 GB, free: 3.48 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001767/0.2957, allocations: 0.6328 MB / 0.9674 GB, free: 2.863 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.000216/0.2959, allocations: 80 kB / 0.9675 GB, free: 2.785 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.2977, allocations: 0.7439 MB / 0.9682 GB, free: 2.039 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0005685/0.2983, allocations: 426.8 kB / 0.9686 GB, free: 1.621 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0006412/0.299, allocations: 347.2 kB / 0.9689 GB, free: 1.281 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002941/0.3019, allocations: 1.511 MB / 0.9704 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3019, allocations: 0 / 0.9704 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3019, allocations: 0 / 0.9704 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.467e-05/0.3019, allocations: 0 / 0.9704 GB, free: 15.77 MB / 0.9323 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.002432/0.3044, allocations: 1.174 MB / 0.9715 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3044, allocations: 19.95 kB / 0.9716 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.3059, allocations: 294.9 kB / 0.9718 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.3073, allocations: 0.6467 MB / 0.9725 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.822e-05/0.3073, allocations: 61.98 kB / 0.9725 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.3075, allocations: 83.95 kB / 0.9726 GB, free: 13.42 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.3093, allocations: 1.054 MB / 0.9736 GB, free: 12.26 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.3093, allocations: 7.938 kB / 0.9737 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-05/0.3094, allocations: 32 kB / 0.9737 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.78e-05/0.3094, allocations: 33.31 kB / 0.9737 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.3107, allocations: 0.6138 MB / 0.9743 GB, free: 11.57 MB / 0.9323 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.005114/0.3158, allocations: 3.617 MB / 0.9778 GB, free: 7.824 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009331/0.3167, allocations: 470.3 kB / 0.9783 GB, free: 7.34 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004158/0.3172, allocations: 230.5 kB / 0.9785 GB, free: 7.105 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/0.3173, allocations: 23.98 kB / 0.9785 GB, free: 7.082 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.3174, allocations: 42.5 kB / 0.9786 GB, free: 7.031 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/0.3174, allocations: 0 / 0.9786 GB, free: 7.031 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45): time 0.003258/0.3206, allocations: 1.543 MB / 0.9801 GB, free: 5.449 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.996e-05/0.3207, allocations: 114.8 kB / 0.9802 GB, free: 5.312 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007601/0.3215, allocations: 0.5341 MB / 0.9807 GB, free: 4.766 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/0.3215, allocations: 37.7 kB / 0.9808 GB, free: 4.723 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/0.3219, allocations: 436.1 kB / 0.9812 GB, free: 4.293 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.3221, allocations: 174.5 kB / 0.9813 GB, free: 4.121 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.3223, allocations: 118.5 kB / 0.9815 GB, free: 4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002376/0.3226, allocations: 370.8 kB / 0.9818 GB, free: 3.629 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.3229, allocations: 189.2 kB / 0.982 GB, free: 3.441 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/0.3236, allocations: 0.5617 MB / 0.9825 GB, free: 2.754 MB / 0.9323 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.00295/0.3266, allocations: 1.093 MB / 0.9836 GB, free: 1.574 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.3266, allocations: 8 kB / 0.9836 GB, free: 1.566 MB / 0.9323 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001362/0.3279, allocations: 0.6917 MB / 0.9843 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.328, allocations: 8 kB / 0.9843 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.328, allocations: 4 kB / 0.9843 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.801e-05/0.328, allocations: 12 kB / 0.9843 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/0.3285, allocations: 127.8 kB / 0.9844 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.506e-05/0.3286, allocations: 12 kB / 0.9844 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005924/0.3292, allocations: 31.98 kB / 0.9845 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.432e-05/0.3292, allocations: 28 kB / 0.9845 GB, free: 0.6484 MB / 0.9323 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.0005501/0.3298, allocations: 281.7 kB / 0.9848 GB, free: 372 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.33, allocations: 83.58 kB / 0.9848 GB, free: 288 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.3302, allocations: 74.25 kB / 0.9849 GB, free: 212 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.3302, allocations: 8 kB / 0.9849 GB, free: 204 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.3302, allocations: 3.938 kB / 0.9849 GB, free: 200 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001037/0.3312, allocations: 0.6988 MB / 0.9856 GB, free: 15.41 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.3341, allocations: 1.435 MB / 0.987 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.3341, allocations: 4.094 kB / 0.987 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/0.3346, allocations: 99.89 kB / 0.9871 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.3346, allocations: 7.984 kB / 0.9871 GB, free: 13.78 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.3346, allocations: 16.48 kB / 0.9871 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.459e-05/0.3346, allocations: 11.94 kB / 0.9871 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.3346, allocations: 8 kB / 0.9872 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.336, allocations: 0.8538 MB / 0.988 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/0.3363, allocations: 115.6 kB / 0.9881 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-05/0.3363, allocations: 12 kB / 0.9881 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/0.3368, allocations: 19.98 kB / 0.9881 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.3369, allocations: 39.83 kB / 0.9882 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.3369, allocations: 19.98 kB / 0.9882 GB, free: 12.62 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004927/0.3374, allocations: 366.8 kB / 0.9885 GB, free: 12.27 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.3374, allocations: 0 / 0.9885 GB, free: 12.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008488/0.3382, allocations: 199.9 kB / 0.9887 GB, free: 12.07 MB / 0.948 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.0005864/0.3388, allocations: 200.6 kB / 0.9889 GB, free: 11.88 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009187/0.3397, allocations: 460.7 kB / 0.9894 GB, free: 11.43 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3397, allocations: 7.938 kB / 0.9894 GB, free: 11.42 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003512/0.3401, allocations: 196.2 kB / 0.9895 GB, free: 11.23 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.3418, allocations: 350.9 kB / 0.9899 GB, free: 10.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.345, allocations: 1.568 MB / 0.9914 GB, free: 9.246 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006199/0.3456, allocations: 436.2 kB / 0.9918 GB, free: 8.789 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006316/0.3462, allocations: 177.3 kB / 0.992 GB, free: 8.613 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.3464, allocations: 52.5 kB / 0.9921 GB, free: 8.562 MB / 0.948 GB Notification: Performance of SimCode: time 7.51e-07/0.3464, allocations: 0 / 0.9921 GB, free: 8.562 MB / 0.948 GB Notification: Performance of Templates: time 0.02447/0.3709, allocations: 11.96 MB / 1.004 GB, free: 12.94 MB / 0.9636 GB " [Timeout remaining time 300] 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: 8.80023251392413]