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.002185/0.002185, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002075/0.002075, allocations: 157.3 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.585/1.585, 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 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.93/2.93, allocations: 359 MB / 0.6048 GB, free: 10.93 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.693e-06/1.693e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.064e-05/3.233e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2618/0.2618, allocations: 184.2 MB / 0.9663 GB, free: 4.02 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.02122/0.283, allocations: 13.43 MB / 0.9794 GB, free: 6.551 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.2842, allocations: 43.62 kB / 0.9794 GB, free: 6.508 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.2857, allocations: 429 kB / 0.9798 GB, free: 6.086 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003252/0.2889, allocations: 1.236 MB / 0.981 GB, free: 4.844 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002116/0.291, allocations: 0.7753 MB / 0.9818 GB, free: 4.066 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003015/0.294, allocations: 2.058 MB / 0.9838 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.2951, allocations: 0.6334 MB / 0.9844 GB, free: 1.355 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004473/0.2996, allocations: 2.09 MB / 0.9865 GB, free: 15.26 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.3012, allocations: 0.6563 MB / 0.9871 GB, free: 14.62 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.3014, allocations: 80 kB / 0.9872 GB, free: 14.54 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.3032, allocations: 0.7478 MB / 0.9879 GB, free: 13.79 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005189/0.3037, allocations: 422.8 kB / 0.9883 GB, free: 13.38 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005418/0.3042, allocations: 355.2 kB / 0.9886 GB, free: 13.03 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002505/0.3067, allocations: 1.515 MB / 0.9901 GB, free: 11.51 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.3067, allocations: 4 kB / 0.9901 GB, free: 11.51 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3067, allocations: 0 / 0.9901 GB, free: 11.51 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.3067, allocations: 0 / 0.9901 GB, free: 11.51 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.002281/0.309, allocations: 1.348 MB / 0.9914 GB, free: 10.12 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3091, allocations: 8.031 kB / 0.9914 GB, free: 10.11 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.3104, allocations: 306.9 kB / 0.9917 GB, free: 9.809 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.3118, allocations: 0.6183 MB / 0.9923 GB, free: 9.156 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.433e-05/0.3119, allocations: 58 kB / 0.9924 GB, free: 9.098 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.312, allocations: 87.95 kB / 0.9925 GB, free: 9.012 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.3136, allocations: 1.006 MB / 0.9935 GB, free: 7.867 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.3136, allocations: 7.875 kB / 0.9935 GB, free: 7.859 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.3138, allocations: 35.98 kB / 0.9935 GB, free: 7.824 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.163e-05/0.3138, allocations: 33.3 kB / 0.9935 GB, free: 7.789 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008999/0.3147, allocations: 420.6 kB / 0.9939 GB, free: 7.379 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.005877/0.3206, allocations: 4.962 MB / 0.9988 GB, free: 2.25 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008493/0.3214, allocations: 380 kB / 0.9991 GB, free: 1.844 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.3218, allocations: 167 kB / 0.9993 GB, free: 1.668 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.322, allocations: 27.98 kB / 0.9993 GB, free: 1.641 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.205e-05/0.3221, allocations: 49.31 kB / 0.9994 GB, free: 1.582 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 2.324e-06/0.3221, allocations: 0 / 0.9994 GB, free: 1.582 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.003068/0.3251, allocations: 1.278 MB / 1.001 GB, free: 268 kB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.3252, allocations: 110.8 kB / 1.001 GB, free: 132 kB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009148/0.3262, allocations: 0.6628 MB / 1.001 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.3262, allocations: 41.7 kB / 1.001 GB, free: 15.41 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004548/0.3267, allocations: 0.4988 MB / 1.002 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.3269, allocations: 186.5 kB / 1.002 GB, free: 14.72 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.3271, allocations: 140 kB / 1.002 GB, free: 14.57 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000383/0.3275, allocations: 0.586 MB / 1.003 GB, free: 13.98 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.3277, allocations: 109.2 kB / 1.003 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006556/0.3284, allocations: 0.5887 MB / 1.003 GB, free: 13.11 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.002446/0.3308, allocations: 0.9323 MB / 1.004 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.3308, allocations: 0 / 1.004 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001014/0.3319, allocations: 0.543 MB / 1.005 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3319, allocations: 8 kB / 1.005 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.3319, allocations: 8 kB / 1.005 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.3319, allocations: 8 kB / 1.005 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/0.3324, allocations: 127.8 kB / 1.005 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.736e-05/0.3324, allocations: 20.45 kB / 1.005 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004717/0.3329, allocations: 32.06 kB / 1.005 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.047e-05/0.3329, allocations: 28 kB / 1.005 GB, free: 11.29 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.0003545/0.3333, allocations: 256.4 kB / 1.005 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.3335, allocations: 83.58 kB / 1.005 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.3337, allocations: 70.25 kB / 1.006 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.3337, allocations: 8 kB / 1.006 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.3337, allocations: 3.938 kB / 1.006 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000779/0.3345, allocations: 0.5934 MB / 1.006 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.3373, allocations: 1.611 MB / 1.008 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.3373, allocations: 4 kB / 1.008 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004756/0.3378, allocations: 96.39 kB / 1.008 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/0.3378, allocations: 15.98 kB / 1.008 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.3378, allocations: 12 kB / 1.008 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/0.3378, allocations: 7.938 kB / 1.008 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.3378, allocations: 4 kB / 1.008 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.339, allocations: 0.7927 MB / 1.009 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.3393, allocations: 103.5 kB / 1.009 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.815e-05/0.3394, allocations: 19.98 kB / 1.009 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.3398, allocations: 20 kB / 1.009 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.3399, allocations: 39.81 kB / 1.009 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.3399, allocations: 20 kB / 1.009 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0005278/0.3404, allocations: 402.8 kB / 1.009 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.3404, allocations: 0 / 1.009 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0008062/0.3412, allocations: 203.9 kB / 1.009 GB, free: 6.652 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.0005817/0.3418, allocations: 188.3 kB / 1.01 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000812/0.3426, allocations: 376.4 kB / 1.01 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3426, allocations: 0 / 1.01 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.3429, allocations: 174.2 kB / 1.01 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.3446, allocations: 343.8 kB / 1.01 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.3476, allocations: 1.528 MB / 1.012 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/0.3482, allocations: 424.2 kB / 1.012 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0005685/0.3487, allocations: 149.3 kB / 1.012 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.3489, allocations: 56.48 kB / 1.012 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of SimCode: time 1.793e-06/0.3489, allocations: 0 / 1.012 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of Templates: time 0.02502/0.3739, allocations: 12.04 MB / 1.024 GB, free: 7.617 MB / 0.9792 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] 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.792066819034517]