Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.001554/0.001554, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.001806/0.001806, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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.569/1.569, allocations: 177.1 MB / 203.9 MB, free: 5.59 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 2.949/2.949, allocations: 377.8 MB / 0.6232 GB, free: 8.535 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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.8108 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.352e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2625/0.2626, allocations: 168.3 MB / 0.9752 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.2739, allocations: 5.437 MB / 0.9805 GB, free: 2.664 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.2753, allocations: 59.5 kB / 0.9805 GB, free: 2.605 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.002036/0.2773, allocations: 0.555 MB / 0.9811 GB, free: 2.047 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.005725/0.283, allocations: 1.963 MB / 0.983 GB, free: 76 kB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.003775/0.2868, allocations: 1.231 MB / 0.9842 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0048/0.2916, allocations: 3.052 MB / 0.9872 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001911/0.2935, allocations: 0.8558 MB / 0.988 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004061/0.2976, allocations: 1.667 MB / 0.9896 GB, free: 9.234 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/0.3003, allocations: 0.9393 MB / 0.9906 GB, free: 8.316 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0004253/0.3007, allocations: 120 kB / 0.9907 GB, free: 8.199 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00346/0.3041, allocations: 1.215 MB / 0.9919 GB, free: 6.98 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.3053, allocations: 0.6194 MB / 0.9925 GB, free: 6.359 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.3068, allocations: 0.5184 MB / 0.993 GB, free: 5.84 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.005747/0.3125, allocations: 2.38 MB / 0.9953 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.3126, allocations: 4 kB / 0.9953 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3126, allocations: 0 / 0.9953 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.061e-05/0.3126, allocations: 0 / 0.9953 GB, free: 3.449 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.00499/0.3176, allocations: 1.562 MB / 0.9968 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3177, allocations: 8.031 kB / 0.9968 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002744/0.3204, allocations: 458.3 kB / 0.9973 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/0.3228, allocations: 0.893 MB / 0.9981 GB, free: 480 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-05/0.3229, allocations: 78 kB / 0.9982 GB, free: 404 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/0.3232, allocations: 104 kB / 0.9983 GB, free: 300 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/0.3259, allocations: 1.537 MB / 0.9998 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/0.326, allocations: 4 kB / 0.9998 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.3261, allocations: 43.94 kB / 0.9999 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.253e-05/0.3262, allocations: 38 kB / 0.9999 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.3282, allocations: 0.9915 MB / 1.001 GB, free: 13.56 MB / 0.9167 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.007036/0.3353, allocations: 2.765 MB / 1.004 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.3364, allocations: 0.5632 MB / 1.004 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006166/0.337, allocations: 326.5 kB / 1.004 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.3372, allocations: 40.47 kB / 1.004 GB, free: 9.824 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.3372, allocations: 39.06 kB / 1.005 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=53): time 2.314e-06/0.3372, allocations: 0 / 1.005 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of matching and sorting (n=55): time 0.004821/0.342, allocations: 1.91 MB / 1.006 GB, free: 7.828 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.3421, allocations: 59.91 kB / 1.006 GB, free: 7.754 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.3432, allocations: 0.6918 MB / 1.007 GB, free: 7.055 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.869e-05/0.3433, allocations: 37.7 kB / 1.007 GB, free: 7.012 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005248/0.3438, allocations: 0.5428 MB / 1.008 GB, free: 6.461 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.3441, allocations: 202.2 kB / 1.008 GB, free: 6.262 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002525/0.3443, allocations: 130.6 kB / 1.008 GB, free: 6.125 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002564/0.3446, allocations: 394.6 kB / 1.008 GB, free: 5.73 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006983/0.3453, allocations: 281.8 kB / 1.009 GB, free: 5.457 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007743/0.3461, allocations: 488.5 kB / 1.009 GB, free: 4.914 MB / 0.9167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004531/0.3506, allocations: 1.673 MB / 1.011 GB, free: 3.191 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.3506, allocations: 4 kB / 1.011 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001908/0.3525, allocations: 0.9363 MB / 1.012 GB, free: 2.234 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.3525, allocations: 4 kB / 1.012 GB, free: 2.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.3525, allocations: 4 kB / 1.012 GB, free: 2.227 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002759/0.3528, allocations: 106.4 kB / 1.012 GB, free: 2.113 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00078/0.3536, allocations: 164.3 kB / 1.012 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004794/0.3584, allocations: 4.259 MB / 1.016 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008348/0.3592, allocations: 27.94 kB / 1.016 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-05/0.3593, allocations: 32 kB / 1.016 GB, free: 13.33 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006882/0.36, allocations: 341.5 kB / 1.016 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/0.3603, allocations: 103.5 kB / 1.017 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.3605, allocations: 95.72 kB / 1.017 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.3606, allocations: 11.88 kB / 1.017 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3606, allocations: 12.03 kB / 1.017 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001372/0.3619, allocations: 0.756 MB / 1.017 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003613/0.3655, allocations: 1.704 MB / 1.019 GB, free: 10.17 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.3656, allocations: 4 kB / 1.019 GB, free: 10.17 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007387/0.3663, allocations: 151.8 kB / 1.019 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.3664, allocations: 37.25 kB / 1.019 GB, free: 9.98 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.533e-05/0.3665, allocations: 23.98 kB / 1.019 GB, free: 9.957 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/0.3681, allocations: 1.48 MB / 1.021 GB, free: 8.375 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.3681, allocations: 4 kB / 1.021 GB, free: 8.371 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.3703, allocations: 1.207 MB / 1.022 GB, free: 7.105 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004735/0.3708, allocations: 163.5 kB / 1.022 GB, free: 6.945 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.3709, allocations: 19.98 kB / 1.022 GB, free: 6.926 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007337/0.3716, allocations: 30.39 kB / 1.022 GB, free: 6.898 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.3718, allocations: 47.64 kB / 1.022 GB, free: 6.852 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.034e-05/0.3719, allocations: 31.98 kB / 1.022 GB, free: 6.82 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0008736/0.3728, allocations: 483 kB / 1.023 GB, free: 6.352 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.3728, allocations: 0 / 1.023 GB, free: 6.352 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001123/0.3739, allocations: 307.9 kB / 1.023 GB, free: 6.051 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004174/0.3743, allocations: 182.9 kB / 1.023 GB, free: 5.863 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001853/0.3761, allocations: 0.9905 MB / 1.024 GB, free: 4.836 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.3762, allocations: 0 / 1.024 GB, free: 4.836 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007695/0.3769, allocations: 431.6 kB / 1.024 GB, free: 4.402 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/0.3796, allocations: 0.5534 MB / 1.025 GB, free: 3.867 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004276/0.3839, allocations: 2.028 MB / 1.027 GB, free: 1.762 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008915/0.3848, allocations: 0.5737 MB / 1.028 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0009007/0.3857, allocations: 222.9 kB / 1.028 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.386, allocations: 72.48 kB / 1.028 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of SimCode: time 1.152e-06/0.386, allocations: 0 / 1.028 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of Templates: time 0.4347/0.8207, allocations: 19.74 MB / 1.047 GB, free: 224.7 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.583395043038763]