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.0009609/0.0009609, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001792/0.001792, allocations: 173.3 kB / 23.5 MB, free: 1.055 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.9699/0.9699, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.087/2.087, allocations: 429.5 MB / 0.6736 GB, free: 4.031 MB / 0.6355 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.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.813e-06/1.813e-06, allocations: 0 / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.9e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1407/0.1407, allocations: 156.1 MB / 1.031 GB, free: 9.98 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003796/0.1445, allocations: 3.858 MB / 1.034 GB, free: 6.113 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.1447, allocations: 15.88 kB / 1.034 GB, free: 6.098 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.1452, allocations: 186.6 kB / 1.035 GB, free: 5.914 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.1466, allocations: 0.8821 MB / 1.035 GB, free: 5.027 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.1471, allocations: 450.9 kB / 1.036 GB, free: 4.586 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009014/0.148, allocations: 1.018 MB / 1.037 GB, free: 3.566 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.1483, allocations: 229.2 kB / 1.037 GB, free: 3.336 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007743/0.149, allocations: 0.7164 MB / 1.038 GB, free: 2.617 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005155/0.1495, allocations: 307.5 kB / 1.038 GB, free: 2.324 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.1496, allocations: 28 kB / 1.038 GB, free: 2.297 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000589/0.1502, allocations: 0.6036 MB / 1.039 GB, free: 1.691 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.1503, allocations: 171.5 kB / 1.039 GB, free: 1.523 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003905/0.1507, allocations: 151.7 kB / 1.039 GB, free: 1.375 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006589/0.1514, allocations: 0.6347 MB / 1.04 GB, free: 0.7383 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1514, allocations: 0 / 1.04 GB, free: 0.7383 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.933e-06/0.1514, allocations: 0 / 1.04 GB, free: 0.7383 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1514, allocations: 0 / 1.04 GB, free: 0.7383 MB / 0.9948 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.0008302/0.1522, allocations: 0.7677 MB / 1.04 GB, free: 15.93 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1522, allocations: 12.03 kB / 1.04 GB, free: 15.92 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007036/0.1529, allocations: 195.3 kB / 1.041 GB, free: 15.73 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.1533, allocations: 335 kB / 1.041 GB, free: 15.38 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1533, allocations: 20.66 kB / 1.041 GB, free: 15.36 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.1534, allocations: 39.95 kB / 1.041 GB, free: 15.32 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.1537, allocations: 321.6 kB / 1.041 GB, free: 14.97 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1537, allocations: 3.938 kB / 1.041 GB, free: 14.96 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.1537, allocations: 12 kB / 1.041 GB, free: 14.95 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.1538, allocations: 4 kB / 1.041 GB, free: 14.95 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.154, allocations: 131.8 kB / 1.041 GB, free: 14.82 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.0009319/0.1549, allocations: 0.7921 MB / 1.042 GB, free: 13.99 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.1551, allocations: 171.9 kB / 1.042 GB, free: 13.81 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.1552, allocations: 89.75 kB / 1.042 GB, free: 13.72 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.1553, allocations: 52.23 kB / 1.042 GB, free: 13.67 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.1554, allocations: 37.67 kB / 1.043 GB, free: 13.62 MB / 1.01 GB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/0.1554, allocations: 0 / 1.043 GB, free: 13.62 MB / 1.01 GB Notification: Performance of matching and sorting (n=35): time 0.001031/0.1564, allocations: 0.6388 MB / 1.043 GB, free: 12.95 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.1564, allocations: 59.27 kB / 1.043 GB, free: 12.88 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.1566, allocations: 298.3 kB / 1.043 GB, free: 12.57 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.1566, allocations: 37.7 kB / 1.044 GB, free: 12.53 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.73e-05/0.1567, allocations: 227.4 kB / 1.044 GB, free: 12.3 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.299e-05/0.1568, allocations: 130.9 kB / 1.044 GB, free: 12.17 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-05/0.1569, allocations: 71.3 kB / 1.044 GB, free: 12.09 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.157, allocations: 0.5195 MB / 1.044 GB, free: 11.56 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.466e-05/0.1571, allocations: 39.97 kB / 1.044 GB, free: 11.52 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.1572, allocations: 199.5 kB / 1.045 GB, free: 11.29 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: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.1576, allocations: 265.7 kB / 1.045 GB, free: 11.02 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1576, allocations: 0 / 1.045 GB, free: 11.02 MB / 1.01 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002635/0.1579, allocations: 221.1 kB / 1.045 GB, free: 10.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1579, allocations: 12.02 kB / 1.045 GB, free: 10.79 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1579, allocations: 0 / 1.045 GB, free: 10.79 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1579, allocations: 4 kB / 1.045 GB, free: 10.79 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.1581, allocations: 63.91 kB / 1.045 GB, free: 10.72 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1581, allocations: 4 kB / 1.045 GB, free: 10.72 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.1582, allocations: 11.94 kB / 1.045 GB, free: 10.71 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.1582, allocations: 15.94 kB / 1.045 GB, free: 10.69 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: 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.0001053/0.1583, allocations: 176.5 kB / 1.045 GB, free: 10.51 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.1584, allocations: 51.77 kB / 1.045 GB, free: 10.46 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/0.1584, allocations: 42.98 kB / 1.045 GB, free: 10.42 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1584, allocations: 4 kB / 1.045 GB, free: 10.41 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1584, allocations: 0 / 1.045 GB, free: 10.41 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002462/0.1587, allocations: 284.4 kB / 1.046 GB, free: 10.11 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008737/0.1596, allocations: 0.8535 MB / 1.047 GB, free: 9.148 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1596, allocations: 8 kB / 1.047 GB, free: 9.141 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.1598, allocations: 79.89 kB / 1.047 GB, free: 9.062 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1598, allocations: 8 kB / 1.047 GB, free: 9.055 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.1598, allocations: 8 kB / 1.047 GB, free: 9.047 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.1598, allocations: 11.94 kB / 1.047 GB, free: 9.035 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1598, allocations: 4 kB / 1.047 GB, free: 9.031 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/0.1603, allocations: 0.5576 MB / 1.047 GB, free: 8.391 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.1604, allocations: 59.78 kB / 1.047 GB, free: 8.332 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.1604, allocations: 12 kB / 1.047 GB, free: 8.32 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.1606, allocations: 19.92 kB / 1.047 GB, free: 8.301 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.1606, allocations: 35.89 kB / 1.047 GB, free: 8.266 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.1606, allocations: 12 kB / 1.047 GB, free: 8.254 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001007/0.1607, allocations: 211 kB / 1.048 GB, free: 8.051 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1607, allocations: 0 / 1.048 GB, free: 8.051 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002887/0.161, allocations: 108 kB / 1.048 GB, free: 7.945 MB / 1.01 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.000201/0.1612, allocations: 159 kB / 1.048 GB, free: 7.781 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000262/0.1615, allocations: 175.9 kB / 1.048 GB, free: 7.605 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1615, allocations: 4 kB / 1.048 GB, free: 7.602 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.1616, allocations: 107.4 kB / 1.048 GB, free: 7.492 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.1622, allocations: 190.9 kB / 1.048 GB, free: 7.312 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.1635, allocations: 0.8571 MB / 1.049 GB, free: 6.355 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.841e-05/0.1636, allocations: 121.8 kB / 1.049 GB, free: 6.215 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001729/0.1637, allocations: 78.89 kB / 1.049 GB, free: 6.141 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.1638, allocations: 40.44 kB / 1.049 GB, free: 6.102 MB / 1.01 GB Notification: Performance of SimCode: time 7.41e-07/0.1638, allocations: 0 / 1.049 GB, free: 6.102 MB / 1.01 GB Notification: Performance of Templates: time 0.3445/0.5083, allocations: 6.646 MB / 1.056 GB, free: 221.8 MB / 1.01 GB " [Timeout remaining time 299] 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: 6.1332022089045495]