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.0008619/0.0008619, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007828/0.0007828, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8703/0.8703, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.682/1.682, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] 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.673e-06/1.673e-06, allocations: 0 / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.626e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6244/0.6245, allocations: 168.3 MB / 1.147 GB, free: 15.5 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008667/0.6331, allocations: 5.418 MB / 1.152 GB, free: 11.81 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.6349, allocations: 58 kB / 1.152 GB, free: 11.78 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.6366, allocations: 0.5539 MB / 1.152 GB, free: 11.48 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.005394/0.642, allocations: 1.963 MB / 1.154 GB, free: 10.39 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003151/0.6451, allocations: 1.239 MB / 1.156 GB, free: 9.727 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.005245/0.6504, allocations: 3.05 MB / 1.159 GB, free: 8.301 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.6519, allocations: 0.8268 MB / 1.159 GB, free: 7.895 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003663/0.6556, allocations: 1.666 MB / 1.161 GB, free: 7.152 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002454/0.658, allocations: 0.9166 MB / 1.162 GB, free: 6.859 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000317/0.6584, allocations: 122.2 kB / 1.162 GB, free: 6.859 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003236/0.6616, allocations: 1.212 MB / 1.163 GB, free: 6.426 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.6626, allocations: 0.6179 MB / 1.164 GB, free: 6.152 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001304/0.6639, allocations: 0.5174 MB / 1.164 GB, free: 5.938 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.005467/0.6694, allocations: 2.379 MB / 1.167 GB, free: 5.117 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.6694, allocations: 0.75 kB / 1.167 GB, free: 5.117 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.695e-06/0.6694, allocations: 1.344 kB / 1.167 GB, free: 5.117 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.037e-05/0.6695, allocations: 0 / 1.167 GB, free: 5.117 MB / 1.01 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.003279/0.6727, allocations: 1.577 MB / 1.168 GB, free: 4.125 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.6728, allocations: 9.875 kB / 1.168 GB, free: 4.125 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/0.6742, allocations: 337.1 kB / 1.168 GB, free: 4.031 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.6758, allocations: 0.8396 MB / 1.169 GB, free: 3.555 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.166e-05/0.6759, allocations: 74.53 kB / 1.169 GB, free: 3.52 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.676, allocations: 95.72 kB / 1.169 GB, free: 3.488 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.678, allocations: 1.535 MB / 1.171 GB, free: 2.531 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.678, allocations: 7.891 kB / 1.171 GB, free: 2.523 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.706e-05/0.6781, allocations: 42.5 kB / 1.171 GB, free: 2.492 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.514e-05/0.6782, allocations: 48.62 kB / 1.171 GB, free: 2.484 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.6796, allocations: 0.9835 MB / 1.172 GB, free: 2.168 MB / 1.01 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.004453/0.6841, allocations: 2.721 MB / 1.175 GB, free: 0.8945 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007044/0.6848, allocations: 0.5684 MB / 1.175 GB, free: 0.6484 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/0.6851, allocations: 320.5 kB / 1.176 GB, free: 0.5352 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.6853, allocations: 27.73 kB / 1.176 GB, free: 0.5312 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.6853, allocations: 45.12 kB / 1.176 GB, free: 496 kB / 1.01 GB Notification: Performance of pre-optimization done (n=53): time 3.537e-06/0.6853, allocations: 3.938 kB / 1.176 GB, free: 492 kB / 1.01 GB Notification: Performance of matching and sorting (n=55): time 0.003188/0.6885, allocations: 1.897 MB / 1.177 GB, free: 15.58 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.6885, allocations: 60.19 kB / 1.178 GB, free: 15.51 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007114/0.6892, allocations: 0.6959 MB / 1.178 GB, free: 15.21 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/0.6893, allocations: 38.98 kB / 1.178 GB, free: 15.18 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.6896, allocations: 0.5462 MB / 1.179 GB, free: 14.74 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.6897, allocations: 194.1 kB / 1.179 GB, free: 14.59 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.6899, allocations: 134.7 kB / 1.179 GB, free: 14.51 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.69, allocations: 391.5 kB / 1.179 GB, free: 14.16 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.6904, allocations: 287.5 kB / 1.18 GB, free: 14.07 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004431/0.6908, allocations: 487.2 kB / 1.18 GB, free: 13.75 MB / 1.026 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.002467/0.6933, allocations: 1.666 MB / 1.182 GB, free: 13.1 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.6933, allocations: 1.062 kB / 1.182 GB, free: 13.1 MB / 1.026 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001207/0.6945, allocations: 0.9133 MB / 1.183 GB, free: 12.71 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.6945, allocations: 9.969 kB / 1.183 GB, free: 12.71 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6945, allocations: 4.625 kB / 1.183 GB, free: 12.71 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/0.6947, allocations: 96.66 kB / 1.183 GB, free: 12.67 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.6952, allocations: 161.8 kB / 1.183 GB, free: 12.66 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/0.6977, allocations: 4.251 MB / 1.187 GB, free: 8.777 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006637/0.6984, allocations: 25.62 kB / 1.187 GB, free: 8.77 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/0.6985, allocations: 28.47 kB / 1.187 GB, free: 8.762 MB / 1.026 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.000647/0.6991, allocations: 347.5 kB / 1.188 GB, free: 8.543 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.6992, allocations: 91.03 kB / 1.188 GB, free: 8.496 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.6994, allocations: 97.86 kB / 1.188 GB, free: 8.43 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.6994, allocations: 12.72 kB / 1.188 GB, free: 8.422 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.6994, allocations: 1.125 kB / 1.188 GB, free: 8.422 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000784/0.7002, allocations: 0.7606 MB / 1.188 GB, free: 7.98 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/0.7025, allocations: 1.696 MB / 1.19 GB, free: 7.137 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.7025, allocations: 2.812 kB / 1.19 GB, free: 7.137 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.7029, allocations: 150.2 kB / 1.19 GB, free: 7.121 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-05/0.703, allocations: 52 kB / 1.19 GB, free: 7.098 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.703, allocations: 14.72 kB / 1.19 GB, free: 7.09 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009436/0.704, allocations: 1.481 MB / 1.192 GB, free: 5.773 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.704, allocations: 6.078 kB / 1.192 GB, free: 5.773 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.7053, allocations: 1.197 MB / 1.193 GB, free: 5.152 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/0.7057, allocations: 158.1 kB / 1.193 GB, free: 5.074 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.097e-05/0.7058, allocations: 17.45 kB / 1.193 GB, free: 5.066 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.7061, allocations: 30.41 kB / 1.193 GB, free: 5.059 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.7062, allocations: 55.67 kB / 1.193 GB, free: 5.043 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.132e-05/0.7063, allocations: 28.38 kB / 1.193 GB, free: 5.039 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004778/0.7068, allocations: 484.4 kB / 1.194 GB, free: 4.836 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7068, allocations: 0 / 1.194 GB, free: 4.836 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.000928/0.7077, allocations: 306.3 kB / 1.194 GB, free: 4.809 MB / 1.026 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.0003261/0.708, allocations: 182.4 kB / 1.194 GB, free: 4.688 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.7091, allocations: 0.9808 MB / 1.195 GB, free: 4.137 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.7091, allocations: 2.75 kB / 1.195 GB, free: 4.137 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.7095, allocations: 439.6 kB / 1.196 GB, free: 3.918 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.7109, allocations: 0.5161 MB / 1.196 GB, free: 3.785 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.7137, allocations: 2.098 MB / 1.198 GB, free: 2.621 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.7142, allocations: 0.5755 MB / 1.199 GB, free: 2.461 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.7144, allocations: 73.14 kB / 1.199 GB, free: 2.449 MB / 1.026 GB Notification: Performance of SimCode: time 1.523e-06/0.7144, allocations: 0 / 1.199 GB, free: 2.449 MB / 1.026 GB Notification: Performance of Templates: time 0.02752/0.7419, allocations: 25.82 MB / 1.224 GB, free: 1.688 MB / 1.042 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] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.C[1],volSte.C[1] Variables in the result:gain.y,time,volDyn.C[1],volDyn.ports[1].m_flow,volSte.C[1] [Calling sys.exit(0), Time elapsed: 10.342755548655987]