Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009699/0.0009699, allocations: 81.95 kB / 19.87 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.001043/0.001043, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9702/0.9702, allocations: 177.2 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.584/2.584, allocations: 438.1 MB / 0.682 GB, free: 14.21 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.8898 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.07e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1394/0.1395, allocations: 148.2 MB / 1.034 GB, free: 5 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007907/0.1474, allocations: 3.806 MB / 1.038 GB, free: 1.191 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.1489, allocations: 55.5 kB / 1.038 GB, free: 1.137 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.15, allocations: 305.8 kB / 1.039 GB, free: 0.8359 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002882/0.1529, allocations: 1.165 MB / 1.04 GB, free: 15.66 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.1551, allocations: 0.8887 MB / 1.041 GB, free: 14.77 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003954/0.1591, allocations: 2.991 MB / 1.043 GB, free: 11.77 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.1605, allocations: 0.84 MB / 1.044 GB, free: 10.91 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003954/0.1644, allocations: 1.565 MB / 1.046 GB, free: 9.379 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.1662, allocations: 0.9116 MB / 1.047 GB, free: 8.465 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003237/0.1666, allocations: 124 kB / 1.047 GB, free: 8.344 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.1678, allocations: 427 kB / 1.047 GB, free: 7.926 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000591/0.1684, allocations: 0.6195 MB / 1.048 GB, free: 7.305 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0008006/0.1692, allocations: 0.5107 MB / 1.048 GB, free: 6.793 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002032/0.1712, allocations: 1.347 MB / 1.05 GB, free: 5.441 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1713, allocations: 0 / 1.05 GB, free: 5.441 MB / 1.01 GB Notification: Performance of FrontEnd: time 9.31e-07/0.1713, allocations: 0 / 1.05 GB, free: 5.441 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.645e-05/0.1713, allocations: 7.922 kB / 1.05 GB, free: 5.434 MB / 1.01 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.002064/0.1733, allocations: 1.6 MB / 1.051 GB, free: 3.793 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.1734, allocations: 12.62 kB / 1.051 GB, free: 3.781 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.1748, allocations: 427.3 kB / 1.052 GB, free: 3.363 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.1761, allocations: 0.7928 MB / 1.052 GB, free: 2.543 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.1761, allocations: 78.12 kB / 1.053 GB, free: 2.469 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.1763, allocations: 104 kB / 1.053 GB, free: 2.367 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.1775, allocations: 1.01 MB / 1.054 GB, free: 1.238 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.1776, allocations: 0 / 1.054 GB, free: 1.238 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.714e-05/0.1776, allocations: 44 kB / 1.054 GB, free: 1.195 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-05/0.1777, allocations: 38 kB / 1.054 GB, free: 1.156 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005339/0.1782, allocations: 317.7 kB / 1.054 GB, free: 0.8477 MB / 1.01 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.5266/0.7048, allocations: 2.454 MB / 1.056 GB, free: 70.2 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.7051, allocations: 324.5 kB / 1.057 GB, free: 70.16 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.7053, allocations: 130.8 kB / 1.057 GB, free: 70.15 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.7054, allocations: 37.88 kB / 1.057 GB, free: 70.15 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.7054, allocations: 46.14 kB / 1.057 GB, free: 70.11 MB / 1.01 GB Notification: Performance of pre-optimization done (n=53): time 2.084e-06/0.7054, allocations: 1.375 kB / 1.057 GB, free: 70.11 MB / 1.01 GB Notification: Performance of matching and sorting (n=55): time 0.001547/0.7069, allocations: 0.9576 MB / 1.058 GB, free: 69.81 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.863e-05/0.707, allocations: 57.72 kB / 1.058 GB, free: 69.75 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003828/0.7073, allocations: 0.6476 MB / 1.059 GB, free: 69.56 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.7074, allocations: 34.89 kB / 1.059 GB, free: 69.53 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.7076, allocations: 0.5958 MB / 1.059 GB, free: 69.27 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.902e-05/0.7077, allocations: 206.9 kB / 1.059 GB, free: 69.16 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.7078, allocations: 143.6 kB / 1.059 GB, free: 69.13 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.7079, allocations: 0.5753 MB / 1.06 GB, free: 68.63 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.626e-05/0.708, allocations: 78.95 kB / 1.06 GB, free: 68.63 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.7082, allocations: 330.3 kB / 1.06 GB, free: 68.36 MB / 1.01 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.0005455/0.7087, allocations: 0.5869 MB / 1.061 GB, free: 68.14 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.7087, allocations: 0 / 1.061 GB, free: 68.14 MB / 1.01 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0004918/0.7092, allocations: 0.5132 MB / 1.061 GB, free: 68.02 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.7092, allocations: 9.5 kB / 1.061 GB, free: 68.02 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7093, allocations: 2.938 kB / 1.061 GB, free: 68.02 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.32e-05/0.7093, allocations: 63.88 kB / 1.062 GB, free: 67.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.7097, allocations: 157.5 kB / 1.062 GB, free: 67.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.711, allocations: 5.191 MB / 1.067 GB, free: 62.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.7114, allocations: 20.12 kB / 1.067 GB, free: 62.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.7114, allocations: 26.59 kB / 1.067 GB, free: 62.88 MB / 1.01 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.0001816/0.7116, allocations: 206.7 kB / 1.067 GB, free: 62.72 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.747e-05/0.7117, allocations: 102.6 kB / 1.067 GB, free: 62.68 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.147e-05/0.7118, allocations: 90.27 kB / 1.067 GB, free: 62.66 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.7118, allocations: 6.062 kB / 1.067 GB, free: 62.66 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.7118, allocations: 0 / 1.067 GB, free: 62.66 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002937/0.7121, allocations: 442 kB / 1.068 GB, free: 62.39 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.7133, allocations: 1.208 MB / 1.069 GB, free: 61.93 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.7133, allocations: 3.656 kB / 1.069 GB, free: 61.93 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.7136, allocations: 134.7 kB / 1.069 GB, free: 61.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.502e-05/0.7136, allocations: 31.16 kB / 1.069 GB, free: 61.92 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.7136, allocations: 17.52 kB / 1.069 GB, free: 61.92 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000474/0.7141, allocations: 1.755 MB / 1.071 GB, free: 60.23 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7141, allocations: 2.875 kB / 1.071 GB, free: 60.23 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000538/0.7147, allocations: 0.7142 MB / 1.071 GB, free: 59.82 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.7148, allocations: 147.2 kB / 1.072 GB, free: 59.77 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.7149, allocations: 18.78 kB / 1.072 GB, free: 59.77 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.7152, allocations: 27.06 kB / 1.072 GB, free: 59.77 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.7152, allocations: 51.47 kB / 1.072 GB, free: 59.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.7153, allocations: 28.72 kB / 1.072 GB, free: 59.77 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002056/0.7155, allocations: 394.4 kB / 1.072 GB, free: 59.64 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.7155, allocations: 0 / 1.072 GB, free: 59.64 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005944/0.7161, allocations: 306.6 kB / 1.072 GB, free: 59.64 MB / 1.01 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.000219/0.7163, allocations: 154.8 kB / 1.072 GB, free: 59.55 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005948/0.7169, allocations: 0.8195 MB / 1.073 GB, free: 59.02 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.7169, allocations: 0 / 1.073 GB, free: 59.02 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.7171, allocations: 339.2 kB / 1.074 GB, free: 58.83 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.7183, allocations: 0.531 MB / 1.074 GB, free: 58.81 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.7203, allocations: 1.837 MB / 1.076 GB, free: 57.91 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.7205, allocations: 271.9 kB / 1.076 GB, free: 57.84 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003882/0.7209, allocations: 147.3 kB / 1.076 GB, free: 57.82 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006883/0.7216, allocations: 494.9 kB / 1.077 GB, free: 57.75 MB / 1.01 GB Notification: Performance of SimCode: time 1.152e-06/0.7216, allocations: 4.281 kB / 1.077 GB, free: 57.75 MB / 1.01 GB Notification: Performance of Templates: time 0.02731/0.7489, allocations: 21.28 MB / 1.098 GB, free: 55.88 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.007387023884803]