Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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.0009611/0.0009611, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009787/0.0009787, allocations: 181 kB / 23.36 MB, free: 1.129 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.9185/0.9185, allocations: 177.2 MB / 203.8 MB, free: 5.504 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.306/2.306, allocations: 438.8 MB / 0.6827 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.237e-05/1.349e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1427/0.1427, allocations: 146.1 MB / 0.9812 GB, free: 11.6 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004135/0.1468, allocations: 3.863 MB / 0.985 GB, free: 7.73 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002846/0.1471, allocations: 19.81 kB / 0.985 GB, free: 7.711 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004523/0.1475, allocations: 142.9 kB / 0.9852 GB, free: 7.57 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.1487, allocations: 0.61 MB / 0.9858 GB, free: 6.957 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006986/0.1494, allocations: 438.9 kB / 0.9862 GB, free: 6.527 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0009624/0.1504, allocations: 1.018 MB / 0.9872 GB, free: 5.504 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.1507, allocations: 233.2 kB / 0.9874 GB, free: 5.27 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.1518, allocations: 0.5937 MB / 0.988 GB, free: 4.695 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003566/0.1522, allocations: 275.2 kB / 0.9882 GB, free: 4.426 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.1522, allocations: 31.98 kB / 0.9883 GB, free: 4.395 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004803/0.1527, allocations: 319.1 kB / 0.9886 GB, free: 4.082 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.1528, allocations: 179.5 kB / 0.9887 GB, free: 3.906 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.1529, allocations: 143.7 kB / 0.9889 GB, free: 3.766 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006535/0.1536, allocations: 0.5217 MB / 0.9894 GB, free: 3.242 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1536, allocations: 4 kB / 0.9894 GB, free: 3.238 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1536, allocations: 0 / 0.9894 GB, free: 3.238 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.1536, allocations: 0 / 0.9894 GB, free: 3.238 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.000692/0.1543, allocations: 0.6003 MB / 0.99 GB, free: 2.613 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.1543, allocations: 16.56 kB / 0.99 GB, free: 2.598 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005673/0.1549, allocations: 188.4 kB / 0.9902 GB, free: 2.414 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.1553, allocations: 303.8 kB / 0.9905 GB, free: 2.09 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.1553, allocations: 24.66 kB / 0.9905 GB, free: 2.062 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/0.1553, allocations: 28 kB / 0.9905 GB, free: 2.035 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.1557, allocations: 316.4 kB / 0.9908 GB, free: 1.695 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.1557, allocations: 0 / 0.9908 GB, free: 1.695 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.1557, allocations: 12 kB / 0.9908 GB, free: 1.684 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1557, allocations: 8 kB / 0.9908 GB, free: 1.676 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.1559, allocations: 91.16 kB / 0.9909 GB, free: 1.586 MB / 0.948 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.000846/0.1567, allocations: 0.5696 MB / 0.9915 GB, free: 0.9961 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.1569, allocations: 199.7 kB / 0.9917 GB, free: 0.7891 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.911e-05/0.157, allocations: 80.7 kB / 0.9918 GB, free: 0.707 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.835e-05/0.1571, allocations: 24.27 kB / 0.9918 GB, free: 0.6836 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1571, allocations: 38.84 kB / 0.9918 GB, free: 0.6367 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 1.764e-06/0.1571, allocations: 0 / 0.9918 GB, free: 0.6367 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.0009108/0.158, allocations: 0.5052 MB / 0.9923 GB, free: 104 kB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.158, allocations: 55.41 kB / 0.9924 GB, free: 36 kB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.1582, allocations: 235 kB / 0.9926 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.1582, allocations: 33.7 kB / 0.9926 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.1583, allocations: 161.1 kB / 0.9928 GB, free: 15.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.25e-05/0.1583, allocations: 126.9 kB / 0.9929 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/0.1584, allocations: 61.67 kB / 0.9929 GB, free: 15.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.735e-05/0.1585, allocations: 346.7 kB / 0.9933 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.075e-05/0.1586, allocations: 34.81 kB / 0.9933 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.441e-05/0.1586, allocations: 142.7 kB / 0.9934 GB, free: 14.85 MB / 0.9636 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.1589, allocations: 228.9 kB / 0.9937 GB, free: 14.62 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1589, allocations: 0 / 0.9937 GB, free: 14.62 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001801/0.1591, allocations: 153.3 kB / 0.9938 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1591, allocations: 8 kB / 0.9938 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1591, allocations: 0 / 0.9938 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1592, allocations: 0 / 0.9938 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.1593, allocations: 67.91 kB / 0.9939 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1593, allocations: 32 / 0.9939 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.1595, allocations: 12 kB / 0.9939 GB, free: 14.38 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.1595, allocations: 8 kB / 0.9939 GB, free: 14.37 MB / 0.9636 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: dynBal.medium.p = dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.1596, allocations: 140.5 kB / 0.994 GB, free: 14.22 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.1596, allocations: 31.97 kB / 0.9941 GB, free: 14.19 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.483e-05/0.1597, allocations: 46.98 kB / 0.9941 GB, free: 14.14 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1597, allocations: 4 kB / 0.9941 GB, free: 14.14 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1597, allocations: 0 / 0.9941 GB, free: 14.14 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001646/0.1598, allocations: 216.3 kB / 0.9943 GB, free: 13.89 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006896/0.1605, allocations: 0.7226 MB / 0.995 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1605, allocations: 3.938 kB / 0.995 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.1607, allocations: 80.38 kB / 0.9951 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1607, allocations: 8 kB / 0.9951 GB, free: 13 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.1607, allocations: 12 kB / 0.9951 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.1608, allocations: 11.92 kB / 0.9951 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1608, allocations: 4 kB / 0.9951 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005012/0.1613, allocations: 471.3 kB / 0.9956 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.498e-05/0.1613, allocations: 51.77 kB / 0.9956 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.1614, allocations: 16 kB / 0.9957 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.1615, allocations: 16.03 kB / 0.9957 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.1615, allocations: 35.83 kB / 0.9957 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1616, allocations: 15.98 kB / 0.9957 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.689e-05/0.1616, allocations: 88.62 kB / 0.9958 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1616, allocations: 3.938 kB / 0.9958 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002813/0.1619, allocations: 108 kB / 0.9959 GB, free: 12.11 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (dynBal.medium.Xi[1],dynBal.U) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002342/0.1621, allocations: 116.3 kB / 0.996 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1623, allocations: 148.6 kB / 0.9962 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.1623, allocations: 8 kB / 0.9962 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.778e-05/0.1624, allocations: 96.55 kB / 0.9963 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.1629, allocations: 182.1 kB / 0.9964 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.1641, allocations: 0.8161 MB / 0.9972 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.201e-05/0.1642, allocations: 125.8 kB / 0.9974 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.1644, allocations: 46.95 kB / 0.9974 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.1647, allocations: 169.2 kB / 0.9976 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of SimCode: time 8.21e-07/0.1647, allocations: 4 kB / 0.9976 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of Templates: time 0.009245/0.174, allocations: 7.035 MB / 1.004 GB, free: 3.461 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.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.4756627259776]