Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.91 kB / 1.057 GB, free: 1.984 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3307, allocations: 160.7 MB / 1.214 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.9565/1.287, allocations: 191.1 MB / 1.401 GB, free: 9.305 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01083/1.298, allocations: 5.711 MB / 1.406 GB, free: 4.656 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/1.3, allocations: 42.31 kB / 1.406 GB, free: 4.641 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/1.302, allocations: 0.6089 MB / 1.407 GB, free: 4.141 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006019/1.308, allocations: 1.903 MB / 1.409 GB, free: 2.668 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003937/1.312, allocations: 1.187 MB / 1.41 GB, free: 1.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005691/1.317, allocations: 2.954 MB / 1.413 GB, free: 80 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/1.319, allocations: 0.9403 MB / 1.414 GB, free: 15.48 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/1.321, allocations: 1.108 MB / 1.415 GB, free: 14.82 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002294/1.324, allocations: 1.033 MB / 1.416 GB, free: 14.21 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002007/1.324, allocations: 122.8 kB / 1.416 GB, free: 14.21 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003733/1.328, allocations: 1.531 MB / 1.417 GB, free: 13.38 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007725/1.328, allocations: 0.5866 MB / 1.418 GB, free: 12.98 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00111/1.33, allocations: 0.7225 MB / 1.419 GB, free: 12.52 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004464/1.334, allocations: 2.337 MB / 1.421 GB, free: 11 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.334, allocations: 4 kB / 1.421 GB, free: 11 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.633e-06/1.334, allocations: 0 / 1.421 GB, free: 11 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.927e-05/1.334, allocations: 2.438 kB / 1.421 GB, free: 11 MB / 1.092 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.003366/1.337, allocations: 1.662 MB / 1.423 GB, free: 9.746 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.337, allocations: 11.64 kB / 1.423 GB, free: 9.742 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/1.34, allocations: 338.9 kB / 1.423 GB, free: 9.586 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/1.341, allocations: 0.9135 MB / 1.424 GB, free: 8.895 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.089e-05/1.341, allocations: 75.78 kB / 1.424 GB, free: 8.863 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/1.342, allocations: 105.3 kB / 1.424 GB, free: 8.824 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/1.344, allocations: 1.085 MB / 1.425 GB, free: 8.215 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/1.344, allocations: 0 / 1.425 GB, free: 8.215 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/1.344, allocations: 42.44 kB / 1.425 GB, free: 8.184 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-05/1.344, allocations: 41.72 kB / 1.425 GB, free: 8.176 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/1.346, allocations: 0.9891 MB / 1.426 GB, free: 7.703 MB / 1.092 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.007179/1.353, allocations: 4.234 MB / 1.43 GB, free: 3.473 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009686/1.354, allocations: 0.5591 MB / 1.431 GB, free: 2.906 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005994/1.354, allocations: 327.1 kB / 1.431 GB, free: 2.586 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/1.355, allocations: 109.5 kB / 1.431 GB, free: 2.461 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/1.355, allocations: 43 kB / 1.431 GB, free: 2.41 MB / 1.092 GB Notification: Performance of pre-optimization done (n=53): time 2.635e-06/1.355, allocations: 0 / 1.431 GB, free: 2.41 MB / 1.092 GB Notification: Performance of matching and sorting (n=55): time 0.004877/1.359, allocations: 2.207 MB / 1.433 GB, free: 88 kB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/1.36, allocations: 63.97 kB / 1.434 GB, free: 12 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/1.361, allocations: 0.8882 MB / 1.434 GB, free: 15.11 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.111e-05/1.361, allocations: 41.7 kB / 1.434 GB, free: 15.07 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004862/1.361, allocations: 0.5273 MB / 1.435 GB, free: 14.53 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000258/1.362, allocations: 198.3 kB / 1.435 GB, free: 14.34 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/1.362, allocations: 130.6 kB / 1.435 GB, free: 14.2 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.362, allocations: 330 kB / 1.436 GB, free: 13.88 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005492/1.363, allocations: 297.8 kB / 1.436 GB, free: 13.59 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000678/1.363, allocations: 436.9 kB / 1.436 GB, free: 13.11 MB / 1.107 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.004328/1.368, allocations: 1.749 MB / 1.438 GB, free: 11.29 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.84e-06/1.368, allocations: 0 / 1.438 GB, free: 11.29 MB / 1.107 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001753/1.369, allocations: 0.9263 MB / 1.439 GB, free: 10.35 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/1.369, allocations: 5.719 kB / 1.439 GB, free: 10.35 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.369, allocations: 4 kB / 1.439 GB, free: 10.34 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002437/1.37, allocations: 110.8 kB / 1.439 GB, free: 10.23 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007432/1.37, allocations: 164.5 kB / 1.439 GB, free: 10.07 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004446/1.375, allocations: 4.634 MB / 1.444 GB, free: 5.016 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/1.376, allocations: 31.88 kB / 1.444 GB, free: 4.984 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/1.376, allocations: 28 kB / 1.444 GB, free: 4.957 MB / 1.107 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.0007287/1.377, allocations: 349.5 kB / 1.444 GB, free: 4.605 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/1.377, allocations: 99.39 kB / 1.444 GB, free: 4.508 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/1.377, allocations: 113.2 kB / 1.444 GB, free: 4.395 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/1.377, allocations: 8 kB / 1.444 GB, free: 4.387 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.377, allocations: 3.938 kB / 1.444 GB, free: 4.383 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/1.378, allocations: 0.7575 MB / 1.445 GB, free: 3.57 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003552/1.382, allocations: 1.996 MB / 1.447 GB, free: 1.473 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.382, allocations: 4 kB / 1.447 GB, free: 1.469 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006971/1.383, allocations: 147.8 kB / 1.447 GB, free: 1.324 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001147/1.383, allocations: 33.25 kB / 1.447 GB, free: 1.289 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-05/1.383, allocations: 23.98 kB / 1.447 GB, free: 1.266 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/1.384, allocations: 1.603 MB / 1.449 GB, free: 15.52 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/1.384, allocations: 8.062 kB / 1.449 GB, free: 15.52 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/1.386, allocations: 1.216 MB / 1.45 GB, free: 14.25 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005781/1.387, allocations: 256.4 kB / 1.45 GB, free: 13.98 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/1.387, allocations: 23.92 kB / 1.45 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006879/1.388, allocations: 27.98 kB / 1.45 GB, free: 13.93 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.388, allocations: 35.95 kB / 1.45 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.937e-05/1.388, allocations: 43.91 kB / 1.45 GB, free: 13.85 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000897/1.389, allocations: 0.6122 MB / 1.451 GB, free: 13.25 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.389, allocations: 3.938 kB / 1.451 GB, free: 13.24 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001039/1.39, allocations: 303.9 kB / 1.451 GB, free: 12.95 MB / 1.123 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.0005413/1.39, allocations: 195.4 kB / 1.451 GB, free: 12.75 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001771/1.392, allocations: 0.9834 MB / 1.452 GB, free: 11.73 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.392, allocations: 7.938 kB / 1.452 GB, free: 11.72 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006711/1.393, allocations: 430.2 kB / 1.453 GB, free: 11.29 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/1.396, allocations: 0.6622 MB / 1.453 GB, free: 10.64 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/1.4, allocations: 2.199 MB / 1.456 GB, free: 8.367 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/1.401, allocations: 1.17 MB / 1.457 GB, free: 7.168 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/1.401, allocations: 75.44 kB / 1.457 GB, free: 7.094 MB / 1.123 GB Notification: Performance of SimCode: time 1.032e-06/1.401, allocations: 0 / 1.457 GB, free: 7.094 MB / 1.123 GB Notification: Performance of Templates: time 0.04282/1.444, allocations: 27.12 MB / 1.483 GB, free: 12.13 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.744528960902244]