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.001951/0.001951, allocations: 81.34 kB / 19.18 MB, free: 2.531 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.002467/0.002467, allocations: 173 kB / 22.47 MB, free: 5.352 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.883/1.883, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 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 3.13/3.13, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 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.843e-06/1.843e-06, allocations: 3.938 kB / 0.9815 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.35e-05/3.535e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.9289/0.929, allocations: 168.3 MB / 1.146 GB, free: 45.41 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009421/0.9384, allocations: 5.425 MB / 1.151 GB, free: 45.34 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.9398, allocations: 56.47 kB / 1.151 GB, free: 45.34 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.9412, allocations: 0.5476 MB / 1.152 GB, free: 45.33 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005974/0.9472, allocations: 1.964 MB / 1.154 GB, free: 45.25 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003557/0.9507, allocations: 1.244 MB / 1.155 GB, free: 45.21 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004157/0.9549, allocations: 3.042 MB / 1.158 GB, free: 44.99 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.9561, allocations: 0.8299 MB / 1.159 GB, free: 44.89 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003034/0.9592, allocations: 1.67 MB / 1.16 GB, free: 44.75 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/0.9613, allocations: 0.9121 MB / 1.161 GB, free: 44.66 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002348/0.9616, allocations: 123.2 kB / 1.161 GB, free: 44.66 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002996/0.9646, allocations: 1.215 MB / 1.162 GB, free: 44.53 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005855/0.9652, allocations: 0.6106 MB / 1.163 GB, free: 44.46 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007311/0.9659, allocations: 0.5227 MB / 1.164 GB, free: 44.41 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003414/0.9693, allocations: 2.374 MB / 1.166 GB, free: 44.21 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.9693, allocations: 1.062 kB / 1.166 GB, free: 44.21 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.462e-06/0.9693, allocations: 0 / 1.166 GB, free: 44.21 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.466e-05/0.9693, allocations: 0 / 1.166 GB, free: 44.21 MB / 1.076 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.003265/0.9726, allocations: 1.577 MB / 1.167 GB, free: 43.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.9726, allocations: 9.875 kB / 1.167 GB, free: 43.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/0.9748, allocations: 344.3 kB / 1.168 GB, free: 43.37 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.9763, allocations: 0.8459 MB / 1.169 GB, free: 43.09 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.466e-05/0.9764, allocations: 73.16 kB / 1.169 GB, free: 43.09 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.9766, allocations: 96.25 kB / 1.169 GB, free: 43.09 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.9785, allocations: 1.536 MB / 1.17 GB, free: 42.47 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.9785, allocations: 0 / 1.17 GB, free: 42.47 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.9787, allocations: 48.52 kB / 1.17 GB, free: 42.47 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.948e-05/0.9787, allocations: 42.19 kB / 1.17 GB, free: 42.47 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.9804, allocations: 0.9839 MB / 1.171 GB, free: 42.46 MB / 1.076 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.006203/0.9866, allocations: 2.729 MB / 1.174 GB, free: 41.99 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009998/0.9876, allocations: 0.5587 MB / 1.174 GB, free: 41.96 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005575/0.9881, allocations: 320.9 kB / 1.175 GB, free: 41.95 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.9883, allocations: 25.14 kB / 1.175 GB, free: 41.95 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.9884, allocations: 47.62 kB / 1.175 GB, free: 41.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 3.677e-06/0.9884, allocations: 4.922 kB / 1.175 GB, free: 41.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=55): time 0.004288/0.9926, allocations: 1.903 MB / 1.177 GB, free: 41.48 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.9927, allocations: 58.34 kB / 1.177 GB, free: 41.42 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009416/0.9936, allocations: 0.6911 MB / 1.177 GB, free: 41.28 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.967e-05/0.9937, allocations: 40.14 kB / 1.177 GB, free: 41.25 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/0.9941, allocations: 0.5385 MB / 1.178 GB, free: 40.97 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.9943, allocations: 205.7 kB / 1.178 GB, free: 40.84 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.9946, allocations: 129 kB / 1.178 GB, free: 40.81 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.9948, allocations: 386.2 kB / 1.179 GB, free: 40.5 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/0.9953, allocations: 287.3 kB / 1.179 GB, free: 40.5 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006724/0.996, allocations: 488.5 kB / 1.179 GB, free: 40.3 MB / 1.076 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.004649/1.001, allocations: 1.665 MB / 1.181 GB, free: 40.14 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.001, allocations: 1.875 kB / 1.181 GB, free: 40.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001913/1.003, allocations: 0.9158 MB / 1.182 GB, free: 40.02 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/1.003, allocations: 10.55 kB / 1.182 GB, free: 40.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/1.003, allocations: 4.938 kB / 1.182 GB, free: 40.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002451/1.003, allocations: 94.53 kB / 1.182 GB, free: 40 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008038/1.004, allocations: 164.4 kB / 1.182 GB, free: 40 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003313/1.007, allocations: 4.249 MB / 1.186 GB, free: 36.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009778/1.008, allocations: 35.39 kB / 1.186 GB, free: 36.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/1.008, allocations: 28.81 kB / 1.186 GB, free: 36.43 MB / 1.076 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.0007056/1.009, allocations: 343.5 kB / 1.187 GB, free: 36.32 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/1.009, allocations: 88.67 kB / 1.187 GB, free: 36.27 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/1.009, allocations: 100.8 kB / 1.187 GB, free: 36.25 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/1.009, allocations: 12.16 kB / 1.187 GB, free: 36.25 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/1.009, allocations: 0 / 1.187 GB, free: 36.25 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001337/1.01, allocations: 0.7659 MB / 1.188 GB, free: 35.97 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004254/1.015, allocations: 1.696 MB / 1.189 GB, free: 35.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/1.015, allocations: 4.938 kB / 1.189 GB, free: 35.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007457/1.015, allocations: 146.2 kB / 1.189 GB, free: 35.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001117/1.016, allocations: 39.03 kB / 1.19 GB, free: 35.6 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.677e-05/1.016, allocations: 19.59 kB / 1.19 GB, free: 35.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/1.017, allocations: 1.483 MB / 1.191 GB, free: 34.41 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.017, allocations: 4.25 kB / 1.191 GB, free: 34.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/1.019, allocations: 1.192 MB / 1.192 GB, free: 34.1 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000508/1.02, allocations: 160.9 kB / 1.192 GB, free: 34.06 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/1.02, allocations: 18.28 kB / 1.192 GB, free: 34.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000812/1.021, allocations: 31.34 kB / 1.192 GB, free: 34.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/1.021, allocations: 47.27 kB / 1.192 GB, free: 34.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-05/1.021, allocations: 31.58 kB / 1.192 GB, free: 34.05 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008782/1.022, allocations: 486.3 kB / 1.193 GB, free: 33.96 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.022, allocations: 0.9062 kB / 1.193 GB, free: 33.96 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001639/1.023, allocations: 304.1 kB / 1.193 GB, free: 33.96 MB / 1.076 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.0004985/1.024, allocations: 186.4 kB / 1.193 GB, free: 33.86 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001967/1.026, allocations: 0.9865 MB / 1.194 GB, free: 33.52 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/1.026, allocations: 2.188 kB / 1.194 GB, free: 33.52 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007777/1.027, allocations: 432.6 kB / 1.195 GB, free: 33.41 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/1.029, allocations: 0.5231 MB / 1.195 GB, free: 33.36 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006846/1.036, allocations: 2.011 MB / 1.197 GB, free: 32.53 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00188/1.038, allocations: 0.5751 MB / 1.198 GB, free: 32.42 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001862/1.04, allocations: 229.5 kB / 1.198 GB, free: 32.39 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004497/1.041, allocations: 70.12 kB / 1.198 GB, free: 32.38 MB / 1.076 GB Notification: Performance of SimCode: time 2.996e-06/1.041, allocations: 6.219 kB / 1.198 GB, free: 32.38 MB / 1.076 GB Notification: Performance of Templates: time 0.04245/1.083, allocations: 19.6 MB / 1.217 GB, free: 30.38 MB / 1.076 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: 10.905509453266859]