Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001586/0.001586, allocations: 76.23 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001772/0.001772, allocations: 162.2 kB / 22.46 MB, free: 5.371 MB / 14.72 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.533/1.533, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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.759/2.759, allocations: 359 MB / 0.6037 GB, free: 15.02 MB / 0.5762 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.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_11_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_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.114e-05, allocations: 2.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.9104/0.9104, allocations: 168.2 MB / 1.115 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01073/0.9211, allocations: 5.421 MB / 1.121 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/0.9232, allocations: 53.56 kB / 1.121 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.9252, allocations: 0.5508 MB / 1.121 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006603/0.9318, allocations: 1.955 MB / 1.123 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004299/0.9361, allocations: 1.254 MB / 1.124 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005915/0.942, allocations: 3.049 MB / 1.127 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00182/0.9438, allocations: 0.8199 MB / 1.128 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003491/0.9473, allocations: 1.462 MB / 1.129 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002803/0.9501, allocations: 0.9325 MB / 1.13 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004455/0.9505, allocations: 122.2 kB / 1.131 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004721/0.9553, allocations: 1.23 MB / 1.132 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009263/0.9562, allocations: 0.6163 MB / 1.132 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.9572, allocations: 0.5139 MB / 1.133 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005127/0.9624, allocations: 2.377 MB / 1.135 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.9624, allocations: 0 / 1.135 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.735e-06/0.9624, allocations: 2.953 kB / 1.135 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.857e-05/0.9624, allocations: 3.938 kB / 1.135 GB, free: 11.2 MB / 0.9981 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.003634/0.966, allocations: 1.564 MB / 1.137 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.737e-05/0.9661, allocations: 9.5 kB / 1.137 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/0.9685, allocations: 345.9 kB / 1.137 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.9703, allocations: 0.8396 MB / 1.138 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.62e-05/0.9704, allocations: 78.94 kB / 1.138 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.9706, allocations: 95.41 kB / 1.138 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002394/0.973, allocations: 1.54 MB / 1.14 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.973, allocations: 1.844 kB / 1.14 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.9731, allocations: 44.47 kB / 1.14 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.997e-05/0.9732, allocations: 38.41 kB / 1.14 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.9751, allocations: 0.9906 MB / 1.141 GB, free: 9.449 MB / 0.9981 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.006042/0.9812, allocations: 2.714 MB / 1.143 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.9822, allocations: 0.5735 MB / 1.144 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005288/0.9827, allocations: 317.4 kB / 1.144 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001784/0.9829, allocations: 26.27 kB / 1.144 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.9829, allocations: 45.12 kB / 1.144 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=53): time 1.424e-05/0.9829, allocations: 0 / 1.144 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=55): time 0.004606/0.9875, allocations: 1.901 MB / 1.146 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.9876, allocations: 57.53 kB / 1.146 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009365/0.9885, allocations: 0.6933 MB / 1.147 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.252e-05/0.9886, allocations: 39.02 kB / 1.147 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/0.9889, allocations: 0.5375 MB / 1.147 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.9891, allocations: 205 kB / 1.147 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.9894, allocations: 128.5 kB / 1.148 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.9895, allocations: 387.6 kB / 1.148 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005345/0.99, allocations: 283.9 kB / 1.148 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006267/0.9906, allocations: 488.1 kB / 1.149 GB, free: 7.293 MB / 0.9981 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.004364/0.995, allocations: 1.676 MB / 1.15 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.995, allocations: 1.219 kB / 1.15 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001735/0.9968, allocations: 0.9161 MB / 1.151 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.9968, allocations: 7.469 kB / 1.151 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.9968, allocations: 6.922 kB / 1.151 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/0.997, allocations: 100.5 kB / 1.151 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008063/0.9978, allocations: 162 kB / 1.152 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/1.001, allocations: 4.247 MB / 1.156 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/1.002, allocations: 37.52 kB / 1.156 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-05/1.002, allocations: 28.66 kB / 1.156 GB, free: 3.426 MB / 0.9981 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.000698/1.003, allocations: 347.8 kB / 1.156 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/1.003, allocations: 87.92 kB / 1.156 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/1.003, allocations: 94.55 kB / 1.156 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.003, allocations: 5.156 kB / 1.156 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/1.003, allocations: 0.9375 kB / 1.156 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001324/1.004, allocations: 0.7674 MB / 1.157 GB, free: 18.97 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003428/1.008, allocations: 1.697 MB / 1.159 GB, free: 18.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/1.008, allocations: 4.25 kB / 1.159 GB, free: 18.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007575/1.009, allocations: 145.6 kB / 1.159 GB, free: 18.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/1.009, allocations: 42.27 kB / 1.159 GB, free: 18.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.182e-05/1.009, allocations: 20.06 kB / 1.159 GB, free: 18.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/1.01, allocations: 1.482 MB / 1.16 GB, free: 17.41 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.01, allocations: 3.344 kB / 1.16 GB, free: 17.41 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/1.012, allocations: 1.191 MB / 1.161 GB, free: 17.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004978/1.013, allocations: 158.7 kB / 1.162 GB, free: 17.06 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/1.013, allocations: 21.67 kB / 1.162 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007981/1.014, allocations: 36.23 kB / 1.162 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/1.014, allocations: 48.06 kB / 1.162 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.459e-05/1.014, allocations: 29 kB / 1.162 GB, free: 17.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007509/1.015, allocations: 486.6 kB / 1.162 GB, free: 16.96 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.015, allocations: 0 / 1.162 GB, free: 16.96 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001336/1.016, allocations: 304.6 kB / 1.162 GB, free: 16.96 MB / 1.014 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.0004591/1.016, allocations: 178.9 kB / 1.163 GB, free: 16.86 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001751/1.018, allocations: 0.9913 MB / 1.164 GB, free: 16.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.018, allocations: 2.438 kB / 1.164 GB, free: 16.52 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006717/1.019, allocations: 434.6 kB / 1.164 GB, free: 16.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/1.022, allocations: 0.5266 MB / 1.165 GB, free: 16.33 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/1.026, allocations: 2.014 MB / 1.167 GB, free: 15.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008461/1.027, allocations: 0.5752 MB / 1.167 GB, free: 15.39 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001037/1.028, allocations: 229.7 kB / 1.167 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/1.028, allocations: 68.66 kB / 1.167 GB, free: 15.35 MB / 1.014 GB Notification: Performance of SimCode: time 8.21e-07/1.028, allocations: 0 / 1.167 GB, free: 15.35 MB / 1.014 GB Notification: Performance of Templates: time 0.03492/1.063, allocations: 19.59 MB / 1.187 GB, free: 12.18 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.965254664421082]