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.0008615/0.0008615, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0008726/0.0008726, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8642/0.8642, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.643/1.643, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] 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 1.423e-06/1.423e-06, allocations: 0 / 0.9517 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.409e-05, allocations: 10.22 kB / 0.9517 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6863/0.6863, allocations: 168.2 MB / 1.116 GB, free: 33.09 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01085/0.6971, allocations: 5.408 MB / 1.121 GB, free: 29.41 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/0.6988, allocations: 53.31 kB / 1.121 GB, free: 29.38 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.7, allocations: 0.5542 MB / 1.122 GB, free: 29.08 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004402/0.7044, allocations: 1.961 MB / 1.124 GB, free: 27.98 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.7071, allocations: 1.242 MB / 1.125 GB, free: 27.32 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003659/0.7108, allocations: 3.058 MB / 1.128 GB, free: 25.9 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.7119, allocations: 0.8117 MB / 1.129 GB, free: 25.51 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.7139, allocations: 1.465 MB / 1.13 GB, free: 24.85 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.7156, allocations: 0.9293 MB / 1.131 GB, free: 24.55 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.7158, allocations: 122.4 kB / 1.131 GB, free: 24.55 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/0.7184, allocations: 1.229 MB / 1.132 GB, free: 24.1 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006593/0.719, allocations: 0.6226 MB / 1.133 GB, free: 23.82 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006622/0.7197, allocations: 0.5138 MB / 1.134 GB, free: 23.61 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004035/0.7237, allocations: 2.374 MB / 1.136 GB, free: 22.8 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7237, allocations: 0 / 1.136 GB, free: 22.8 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7237, allocations: 0 / 1.136 GB, free: 22.8 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.919e-05/0.7238, allocations: 5.094 kB / 1.136 GB, free: 22.79 MB / 0.9948 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.002617/0.7264, allocations: 1.569 MB / 1.137 GB, free: 21.81 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.7265, allocations: 9.188 kB / 1.137 GB, free: 21.81 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/0.7278, allocations: 338.2 kB / 1.138 GB, free: 21.71 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.7294, allocations: 0.8436 MB / 1.139 GB, free: 21.23 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.539e-05/0.7295, allocations: 77.7 kB / 1.139 GB, free: 21.19 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.7296, allocations: 97 kB / 1.139 GB, free: 21.16 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.7317, allocations: 1.532 MB / 1.14 GB, free: 20.2 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.7317, allocations: 1.062 kB / 1.14 GB, free: 20.2 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.379e-05/0.7318, allocations: 45.94 kB / 1.14 GB, free: 20.17 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.178e-05/0.7318, allocations: 43.08 kB / 1.14 GB, free: 20.16 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.7336, allocations: 0.985 MB / 1.141 GB, free: 19.85 MB / 0.9948 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.004847/0.7385, allocations: 2.722 MB / 1.144 GB, free: 18.57 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007352/0.7392, allocations: 0.5612 MB / 1.145 GB, free: 18.33 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/0.7396, allocations: 320.5 kB / 1.145 GB, free: 18.22 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.7397, allocations: 27.55 kB / 1.145 GB, free: 18.21 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.7397, allocations: 48.52 kB / 1.145 GB, free: 18.16 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=53): time 2.585e-06/0.7397, allocations: 0 / 1.145 GB, free: 18.16 MB / 0.9948 GB Notification: Performance of matching and sorting (n=55): time 0.003789/0.7435, allocations: 1.895 MB / 1.147 GB, free: 17.26 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.7435, allocations: 58.2 kB / 1.147 GB, free: 17.2 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.7446, allocations: 0.6952 MB / 1.147 GB, free: 16.9 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.7447, allocations: 37.3 kB / 1.148 GB, free: 16.86 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.7451, allocations: 0.5308 MB / 1.148 GB, free: 16.44 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.7453, allocations: 206 kB / 1.148 GB, free: 16.28 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.7455, allocations: 140.4 kB / 1.148 GB, free: 16.2 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.7457, allocations: 390.5 kB / 1.149 GB, free: 15.85 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/0.7461, allocations: 283.2 kB / 1.149 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005602/0.7467, allocations: 487.6 kB / 1.149 GB, free: 15.45 MB / 0.9948 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.003175/0.7499, allocations: 1.677 MB / 1.151 GB, free: 14.78 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.7499, allocations: 8.469 kB / 1.151 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001792/0.7517, allocations: 0.9086 MB / 1.152 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.7517, allocations: 10.88 kB / 1.152 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.7517, allocations: 4.062 kB / 1.152 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000271/0.752, allocations: 96.77 kB / 1.152 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000588/0.7526, allocations: 165 kB / 1.152 GB, free: 14.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002927/0.7555, allocations: 4.25 MB / 1.156 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.7568, allocations: 26.7 kB / 1.156 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/0.7569, allocations: 27.16 kB / 1.156 GB, free: 10.43 MB / 0.9948 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.0008428/0.7577, allocations: 354.8 kB / 1.157 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.758, allocations: 88.31 kB / 1.157 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.7582, allocations: 93.88 kB / 1.157 GB, free: 10.1 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.7582, allocations: 9.844 kB / 1.157 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.7582, allocations: 0 / 1.157 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001004/0.7592, allocations: 0.758 MB / 1.158 GB, free: 9.652 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003667/0.7629, allocations: 1.699 MB / 1.159 GB, free: 8.812 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.7629, allocations: 3.344 kB / 1.159 GB, free: 8.812 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.7633, allocations: 153.3 kB / 1.16 GB, free: 8.797 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001237/0.7635, allocations: 39.78 kB / 1.16 GB, free: 8.781 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/0.7635, allocations: 14.91 kB / 1.16 GB, free: 8.773 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.7646, allocations: 1.478 MB / 1.161 GB, free: 7.461 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.7646, allocations: 3.406 kB / 1.161 GB, free: 7.461 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.7662, allocations: 1.196 MB / 1.162 GB, free: 6.84 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004381/0.7666, allocations: 165.5 kB / 1.162 GB, free: 6.758 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.672e-05/0.7667, allocations: 14.59 kB / 1.162 GB, free: 6.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.7671, allocations: 28.8 kB / 1.162 GB, free: 6.742 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.7672, allocations: 50.91 kB / 1.162 GB, free: 6.73 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.593e-05/0.7673, allocations: 32.67 kB / 1.162 GB, free: 6.723 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005331/0.7678, allocations: 483 kB / 1.163 GB, free: 6.52 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7678, allocations: 0 / 1.163 GB, free: 6.52 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001112/0.7689, allocations: 303.5 kB / 1.163 GB, free: 6.496 MB / 0.9948 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.0003284/0.7692, allocations: 176.5 kB / 1.163 GB, free: 6.379 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.7704, allocations: 0.983 MB / 1.164 GB, free: 5.832 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.7704, allocations: 2.281 kB / 1.164 GB, free: 5.832 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.7708, allocations: 445.8 kB / 1.165 GB, free: 5.605 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.7725, allocations: 0.5287 MB / 1.165 GB, free: 5.453 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.7759, allocations: 2.095 MB / 1.167 GB, free: 4.301 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/0.7765, allocations: 0.5766 MB / 1.168 GB, free: 4.137 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003723/0.7769, allocations: 72.66 kB / 1.168 GB, free: 4.125 MB / 0.9948 GB Notification: Performance of SimCode: time 2.124e-06/0.7769, allocations: 1.094 kB / 1.168 GB, free: 4.125 MB / 0.9948 GB Notification: Performance of Templates: time 0.02799/0.8049, allocations: 25.82 MB / 1.193 GB, free: 10.04 MB / 1.01 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] "" 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.660837911069393]