Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001494/0.001494, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001192/0.001192, allocations: 173 kB / 24.28 MB, free: 276 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.98/0.98, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.87/1.87, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 177] 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.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.231e-05, allocations: 3.562 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1619/0.1619, allocations: 156.1 MB / 0.9395 GB, free: 224 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003671/0.1656, allocations: 3.869 MB / 0.9433 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/0.1658, allocations: 23.81 kB / 0.9433 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0005212/0.1663, allocations: 190.6 kB / 0.9435 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.1677, allocations: 0.8743 MB / 0.9443 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005769/0.1683, allocations: 450.9 kB / 0.9448 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0008355/0.1692, allocations: 1.053 MB / 0.9458 GB, free: 9.762 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.1695, allocations: 241.2 kB / 0.946 GB, free: 9.52 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005334/0.17, allocations: 0.5296 MB / 0.9465 GB, free: 8.988 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005508/0.1705, allocations: 306.3 kB / 0.9468 GB, free: 8.695 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/0.1706, allocations: 32 kB / 0.9469 GB, free: 8.664 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00061/0.1712, allocations: 0.6113 MB / 0.9475 GB, free: 8.051 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.1713, allocations: 179.5 kB / 0.9476 GB, free: 7.875 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.1715, allocations: 151.7 kB / 0.9478 GB, free: 7.727 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0006837/0.1721, allocations: 0.6347 MB / 0.9484 GB, free: 7.09 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1721, allocations: 0 / 0.9484 GB, free: 7.09 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1721, allocations: 0 / 0.9484 GB, free: 7.09 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.1721, allocations: 4 kB / 0.9484 GB, free: 7.086 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.000755/0.1729, allocations: 0.7716 MB / 0.9492 GB, free: 6.277 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.1729, allocations: 8.031 kB / 0.9492 GB, free: 6.27 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006623/0.1736, allocations: 203.2 kB / 0.9494 GB, free: 6.07 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.174, allocations: 343 kB / 0.9497 GB, free: 5.711 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.174, allocations: 32.66 kB / 0.9497 GB, free: 5.68 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.174, allocations: 28 kB / 0.9497 GB, free: 5.652 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.1744, allocations: 317.6 kB / 0.95 GB, free: 5.305 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1744, allocations: 3.984 kB / 0.9501 GB, free: 5.301 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.1744, allocations: 12 kB / 0.9501 GB, free: 5.289 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.1744, allocations: 8 kB / 0.9501 GB, free: 5.281 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.1746, allocations: 127.8 kB / 0.9502 GB, free: 5.156 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.0009121/0.1755, allocations: 0.7922 MB / 0.951 GB, free: 4.324 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.1758, allocations: 172 kB / 0.9511 GB, free: 4.145 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.1759, allocations: 92.83 kB / 0.9512 GB, free: 4.051 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.176, allocations: 44.25 kB / 0.9513 GB, free: 4.008 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.176, allocations: 45.61 kB / 0.9513 GB, free: 3.953 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 1.403e-06/0.176, allocations: 0 / 0.9513 GB, free: 3.953 MB / 0.9011 GB Notification: Performance of matching and sorting (n=35): time 0.001045/0.1771, allocations: 0.6417 MB / 0.9519 GB, free: 3.277 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.1771, allocations: 55.41 kB / 0.952 GB, free: 3.211 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.1773, allocations: 298.3 kB / 0.9523 GB, free: 2.902 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.1773, allocations: 41.7 kB / 0.9523 GB, free: 2.855 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 9.309e-05/0.1774, allocations: 227.4 kB / 0.9525 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.432e-05/0.1775, allocations: 130.9 kB / 0.9527 GB, free: 2.496 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.641e-05/0.1776, allocations: 75.3 kB / 0.9527 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1777, allocations: 0.5157 MB / 0.9532 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.262e-05/0.1777, allocations: 39.97 kB / 0.9533 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.1779, allocations: 205.5 kB / 0.9535 GB, free: 1.609 MB / 0.9011 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.000389/0.1783, allocations: 267.7 kB / 0.9537 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1783, allocations: 8 kB / 0.9537 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002968/0.1786, allocations: 217.1 kB / 0.9539 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1786, allocations: 4 kB / 0.9539 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1786, allocations: 4 kB / 0.9539 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1786, allocations: 0 / 0.9539 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.1788, allocations: 67.91 kB / 0.954 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1788, allocations: 3.984 kB / 0.954 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.1789, allocations: 15.98 kB / 0.954 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.1789, allocations: 19.94 kB / 0.954 GB, free: 1.004 MB / 0.9011 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.0001006/0.179, allocations: 172.5 kB / 0.9542 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.1791, allocations: 47.81 kB / 0.9543 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.197e-05/0.1791, allocations: 43.03 kB / 0.9543 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1791, allocations: 4 kB / 0.9543 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1791, allocations: 0 / 0.9543 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002297/0.1794, allocations: 276.5 kB / 0.9546 GB, free: 440 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008064/0.1802, allocations: 0.8529 MB / 0.9554 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1802, allocations: 4 kB / 0.9554 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.1804, allocations: 79.91 kB / 0.9555 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1804, allocations: 4 kB / 0.9555 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.1804, allocations: 15.98 kB / 0.9555 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1804, allocations: 4.469 kB / 0.9555 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.1804, allocations: 11.94 kB / 0.9555 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.1809, allocations: 0.555 MB / 0.9561 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-05/0.181, allocations: 67.72 kB / 0.9561 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.181, allocations: 8 kB / 0.9561 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.1811, allocations: 12 kB / 0.9561 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.1812, allocations: 39.83 kB / 0.9562 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.1812, allocations: 15.98 kB / 0.9562 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001012/0.1813, allocations: 215 kB / 0.9564 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.1813, allocations: 0 / 0.9564 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002797/0.1816, allocations: 115.9 kB / 0.9565 GB, free: 14.26 MB / 0.9167 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.0002124/0.1818, allocations: 164.9 kB / 0.9567 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.1821, allocations: 163.4 kB / 0.9568 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1821, allocations: 4 kB / 0.9568 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.1822, allocations: 112 kB / 0.9569 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005794/0.1828, allocations: 187.3 kB / 0.9571 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.1841, allocations: 0.8688 MB / 0.958 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.759e-05/0.1842, allocations: 121.8 kB / 0.9581 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001615/0.1843, allocations: 86.88 kB / 0.9582 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.739e-05/0.1844, allocations: 32.5 kB / 0.9582 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of SimCode: time 1.092e-06/0.1844, allocations: 0 / 0.9582 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of Templates: time 0.008315/0.1927, allocations: 6.821 MB / 0.9648 GB, free: 5.781 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.596966821001843]