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.0009672/0.0009672, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001063/0.001063, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9486/0.9486, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.759/1.759, allocations: 359 MB / 0.6055 GB, free: 10.88 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.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",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.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.897e-05, allocations: 3.562 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1381/0.1381, allocations: 148.1 MB / 0.9322 GB, free: 7.551 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.004796/0.1429, allocations: 3.802 MB / 0.936 GB, free: 3.746 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006068/0.1435, allocations: 59.5 kB / 0.936 GB, free: 3.688 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006181/0.1441, allocations: 289.8 kB / 0.9363 GB, free: 3.402 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.1457, allocations: 1.181 MB / 0.9374 GB, free: 2.215 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.1468, allocations: 0.9043 MB / 0.9383 GB, free: 1.309 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002211/0.1491, allocations: 2.994 MB / 0.9412 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008022/0.1499, allocations: 0.8442 MB / 0.9421 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.1516, allocations: 1.538 MB / 0.9436 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008702/0.1525, allocations: 0.9232 MB / 0.9445 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.1526, allocations: 123.9 kB / 0.9446 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005684/0.1532, allocations: 419.1 kB / 0.945 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003788/0.1536, allocations: 0.6273 MB / 0.9456 GB, free: 9.852 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003962/0.154, allocations: 0.5184 MB / 0.9461 GB, free: 9.332 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.155, allocations: 1.34 MB / 0.9474 GB, free: 7.988 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1551, allocations: 3.938 kB / 0.9474 GB, free: 7.984 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1551, allocations: 0 / 0.9474 GB, free: 7.984 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.1551, allocations: 0 / 0.9474 GB, free: 7.984 MB / 0.9011 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.001477/0.1565, allocations: 1.608 MB / 0.949 GB, free: 6.336 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1566, allocations: 11.97 kB / 0.949 GB, free: 6.324 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009739/0.1576, allocations: 423.3 kB / 0.9494 GB, free: 5.91 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007744/0.1583, allocations: 0.8085 MB / 0.9502 GB, free: 5.07 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/0.1584, allocations: 74.12 kB / 0.9503 GB, free: 5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.1585, allocations: 108 kB / 0.9504 GB, free: 4.895 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007327/0.1592, allocations: 0.9985 MB / 0.9513 GB, free: 3.773 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1592, allocations: 0 / 0.9513 GB, free: 3.773 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.789e-05/0.1593, allocations: 44 kB / 0.9514 GB, free: 3.73 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/0.1593, allocations: 37.98 kB / 0.9514 GB, free: 3.691 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003813/0.1597, allocations: 325.7 kB / 0.9517 GB, free: 3.375 MB / 0.9011 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.002712/0.1624, allocations: 2.463 MB / 0.9541 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.1627, allocations: 314.2 kB / 0.9544 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.1628, allocations: 133.5 kB / 0.9546 GB, free: 416 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.852e-05/0.1629, allocations: 35.02 kB / 0.9546 GB, free: 384 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.163, allocations: 41.89 kB / 0.9546 GB, free: 332 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=53): time 2.765e-06/0.163, allocations: 4 kB / 0.9546 GB, free: 328 kB / 0.9011 GB Notification: Performance of matching and sorting (n=55): time 0.001378/0.1643, allocations: 0.9554 MB / 0.9556 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.1644, allocations: 59.91 kB / 0.9556 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004165/0.1648, allocations: 0.6552 MB / 0.9563 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.1648, allocations: 37.7 kB / 0.9563 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.1651, allocations: 0.604 MB / 0.9569 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.1652, allocations: 206.2 kB / 0.9571 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.1653, allocations: 136.2 kB / 0.9572 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1655, allocations: 0.5741 MB / 0.9578 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.1656, allocations: 73.94 kB / 0.9579 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.1658, allocations: 334.9 kB / 0.9582 GB, free: 12.52 MB / 0.9167 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.0005792/0.1664, allocations: 0.5904 MB / 0.9588 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1664, allocations: 0 / 0.9588 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0005057/0.1669, allocations: 0.5156 MB / 0.9593 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1669, allocations: 11.97 kB / 0.9593 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.1669, allocations: 4 kB / 0.9593 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-05/0.167, allocations: 59.03 kB / 0.9593 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/0.1673, allocations: 155.7 kB / 0.9595 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.1692, allocations: 5.182 MB / 0.9645 GB, free: 5.551 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.1695, allocations: 16.25 kB / 0.9646 GB, free: 5.535 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.1695, allocations: 35.98 kB / 0.9646 GB, free: 5.5 MB / 0.9167 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.0001715/0.1697, allocations: 192.5 kB / 0.9648 GB, free: 5.301 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.1698, allocations: 111.4 kB / 0.9649 GB, free: 5.191 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.836e-05/0.1699, allocations: 95.72 kB / 0.965 GB, free: 5.094 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.1699, allocations: 4 kB / 0.965 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1699, allocations: 0 / 0.965 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003455/0.1702, allocations: 445.1 kB / 0.9654 GB, free: 4.598 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.1714, allocations: 1.204 MB / 0.9666 GB, free: 3.297 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1714, allocations: 4 kB / 0.9666 GB, free: 3.293 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.1717, allocations: 136.3 kB / 0.9667 GB, free: 3.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.535e-05/0.1717, allocations: 27.67 kB / 0.9667 GB, free: 3.129 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.1718, allocations: 16 kB / 0.9667 GB, free: 3.113 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006248/0.1724, allocations: 1.76 MB / 0.9685 GB, free: 1.242 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1724, allocations: 4 kB / 0.9685 GB, free: 1.238 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.173, allocations: 0.7151 MB / 0.9692 GB, free: 452 kB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.1731, allocations: 151.3 kB / 0.9693 GB, free: 300 kB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/0.1732, allocations: 16 kB / 0.9693 GB, free: 284 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.1735, allocations: 24.86 kB / 0.9694 GB, free: 260 kB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.497e-05/0.1735, allocations: 55.8 kB / 0.9694 GB, free: 204 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/0.1736, allocations: 23.98 kB / 0.9694 GB, free: 180 kB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002333/0.1738, allocations: 394.8 kB / 0.9698 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.1738, allocations: 0 / 0.9698 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005108/0.1743, allocations: 304 kB / 0.9701 GB, free: 15.5 MB / 0.9323 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.0002174/0.1745, allocations: 159 kB / 0.9702 GB, free: 15.33 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005884/0.1751, allocations: 0.8105 MB / 0.971 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.1751, allocations: 4 kB / 0.971 GB, free: 14.47 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.1753, allocations: 334 kB / 0.9714 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.1765, allocations: 0.5405 MB / 0.9719 GB, free: 13.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.1784, allocations: 1.84 MB / 0.9737 GB, free: 11.67 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.1786, allocations: 280.6 kB / 0.974 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003337/0.1789, allocations: 143 kB / 0.9741 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007106/0.1796, allocations: 497.8 kB / 0.9746 GB, free: 10.74 MB / 0.9323 GB Notification: Performance of SimCode: time 9.12e-07/0.1796, allocations: 0 / 0.9746 GB, free: 10.74 MB / 0.9323 GB Notification: Performance of Templates: time 0.02173/0.2013, allocations: 21.3 MB / 0.9954 GB, free: 5.961 MB / 0.948 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 5.35061786416918]