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.001452/0.001452, allocations: 79.27 kB / 19.76 MB, free: 1.875 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.001483/0.001483, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.852/2.852, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 63.89 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3584, allocations: 169.9 MB / 1.117 GB, free: 2.555 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.9465/1.305, allocations: 168.4 MB / 1.282 GB, free: 14.67 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01127/1.316, allocations: 5.397 MB / 1.287 GB, free: 11 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/1.318, allocations: 60.75 kB / 1.287 GB, free: 10.96 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001874/1.32, allocations: 0.5467 MB / 1.288 GB, free: 10.67 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006041/1.326, allocations: 1.91 MB / 1.29 GB, free: 9.625 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003845/1.33, allocations: 1.201 MB / 1.291 GB, free: 8.992 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005494/1.335, allocations: 3.006 MB / 1.294 GB, free: 7.621 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/1.337, allocations: 0.8129 MB / 1.295 GB, free: 7.238 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002932/1.34, allocations: 1.123 MB / 1.296 GB, free: 6.727 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00282/1.343, allocations: 1.005 MB / 1.297 GB, free: 6.352 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002581/1.343, allocations: 123.4 kB / 1.297 GB, free: 6.352 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003497/1.347, allocations: 1.207 MB / 1.298 GB, free: 5.926 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0008738/1.347, allocations: 0.5853 MB / 1.298 GB, free: 5.688 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/1.348, allocations: 0.6082 MB / 1.299 GB, free: 5.383 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003905/1.352, allocations: 2.305 MB / 1.301 GB, free: 4.57 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.352, allocations: 1.969 kB / 1.301 GB, free: 4.57 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.445e-06/1.352, allocations: 1.062 kB / 1.301 GB, free: 4.57 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.705e-05/1.352, allocations: 0 / 1.301 GB, free: 4.57 MB / 1.139 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.00317/1.356, allocations: 1.59 MB / 1.303 GB, free: 3.574 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/1.356, allocations: 9.531 kB / 1.303 GB, free: 3.574 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/1.358, allocations: 338.8 kB / 1.303 GB, free: 3.48 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/1.36, allocations: 0.8373 MB / 1.304 GB, free: 2.895 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.06e-05/1.36, allocations: 74.47 kB / 1.304 GB, free: 2.863 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/1.36, allocations: 100.8 kB / 1.304 GB, free: 2.828 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/1.362, allocations: 1.537 MB / 1.306 GB, free: 1.66 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/1.362, allocations: 0 / 1.306 GB, free: 1.66 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/1.362, allocations: 42.5 kB / 1.306 GB, free: 1.629 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-05/1.362, allocations: 44.61 kB / 1.306 GB, free: 1.617 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/1.364, allocations: 0.9843 MB / 1.307 GB, free: 1.141 MB / 1.139 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.006201/1.37, allocations: 2.736 MB / 1.309 GB, free: 15.4 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009884/1.371, allocations: 0.5747 MB / 1.31 GB, free: 15.08 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005051/1.372, allocations: 319.3 kB / 1.31 GB, free: 14.92 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/1.372, allocations: 30.61 kB / 1.31 GB, free: 14.91 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/1.372, allocations: 40.97 kB / 1.31 GB, free: 14.86 MB / 1.154 GB Notification: Performance of pre-optimization done (n=53): time 2.194e-06/1.372, allocations: 0 / 1.31 GB, free: 14.86 MB / 1.154 GB Notification: Performance of matching and sorting (n=55): time 0.004325/1.377, allocations: 1.892 MB / 1.312 GB, free: 13.77 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/1.377, allocations: 58.78 kB / 1.312 GB, free: 13.71 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009356/1.377, allocations: 0.69 MB / 1.313 GB, free: 13.31 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.134e-05/1.378, allocations: 38.64 kB / 1.313 GB, free: 13.27 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004567/1.378, allocations: 0.5439 MB / 1.314 GB, free: 12.79 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/1.378, allocations: 199.4 kB / 1.314 GB, free: 12.61 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/1.378, allocations: 137.2 kB / 1.314 GB, free: 12.53 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002278/1.379, allocations: 396.9 kB / 1.314 GB, free: 12.15 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005048/1.379, allocations: 285.8 kB / 1.314 GB, free: 12.01 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006535/1.38, allocations: 482.5 kB / 1.315 GB, free: 11.65 MB / 1.154 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.004202/1.384, allocations: 1.677 MB / 1.317 GB, free: 10.73 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.384, allocations: 0 / 1.317 GB, free: 10.73 MB / 1.154 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001514/1.386, allocations: 0.91 MB / 1.317 GB, free: 10.25 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.386, allocations: 5.219 kB / 1.317 GB, free: 10.25 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.386, allocations: 10.06 kB / 1.317 GB, free: 10.25 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/1.386, allocations: 94.64 kB / 1.318 GB, free: 10.19 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007071/1.387, allocations: 168 kB / 1.318 GB, free: 10.15 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003986/1.391, allocations: 4.249 MB / 1.322 GB, free: 6.074 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/1.392, allocations: 34.69 kB / 1.322 GB, free: 6.051 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/1.392, allocations: 26.94 kB / 1.322 GB, free: 6.047 MB / 1.154 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.0006946/1.392, allocations: 351.7 kB / 1.322 GB, free: 5.762 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/1.392, allocations: 91.42 kB / 1.322 GB, free: 5.672 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/1.393, allocations: 95.72 kB / 1.322 GB, free: 5.578 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/1.393, allocations: 8 kB / 1.322 GB, free: 5.57 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/1.393, allocations: 0 / 1.322 GB, free: 5.57 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001248/1.394, allocations: 0.756 MB / 1.323 GB, free: 4.762 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003317/1.397, allocations: 1.705 MB / 1.325 GB, free: 2.977 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.397, allocations: 0 / 1.325 GB, free: 2.977 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007069/1.398, allocations: 160.2 kB / 1.325 GB, free: 2.82 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001115/1.398, allocations: 36.84 kB / 1.325 GB, free: 2.781 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/1.398, allocations: 19.92 kB / 1.325 GB, free: 2.762 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/1.4, allocations: 1.469 MB / 1.327 GB, free: 1.188 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/1.4, allocations: 4 kB / 1.327 GB, free: 1.184 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/1.402, allocations: 1.207 MB / 1.328 GB, free: 15.91 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004828/1.402, allocations: 162.3 kB / 1.328 GB, free: 15.76 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/1.402, allocations: 19.92 kB / 1.328 GB, free: 15.74 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007169/1.403, allocations: 38.69 kB / 1.328 GB, free: 15.7 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/1.403, allocations: 47.64 kB / 1.328 GB, free: 15.66 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.731e-05/1.403, allocations: 31.98 kB / 1.328 GB, free: 15.62 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007132/1.404, allocations: 486.9 kB / 1.328 GB, free: 15.15 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/1.404, allocations: 4 kB / 1.328 GB, free: 15.15 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0012/1.405, allocations: 296 kB / 1.329 GB, free: 14.86 MB / 1.17 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.0003879/1.405, allocations: 175.3 kB / 1.329 GB, free: 14.68 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001754/1.407, allocations: 0.9796 MB / 1.33 GB, free: 13.66 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.407, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006893/1.408, allocations: 439.8 kB / 1.33 GB, free: 13.22 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/1.41, allocations: 0.5289 MB / 1.331 GB, free: 12.73 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/1.414, allocations: 2.115 MB / 1.333 GB, free: 10.54 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008312/1.415, allocations: 0.5737 MB / 1.333 GB, free: 9.941 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008985/1.416, allocations: 226.9 kB / 1.334 GB, free: 9.715 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/1.416, allocations: 68.5 kB / 1.334 GB, free: 9.648 MB / 1.17 GB Notification: Performance of SimCode: time 8.11e-07/1.416, allocations: 0 / 1.334 GB, free: 9.648 MB / 1.17 GB Notification: Performance of Templates: time 0.03847/1.455, allocations: 19.8 MB / 1.353 GB, free: 6.344 MB / 1.186 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 -s ida -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/jenkins1/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.835258124978282]