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.0009801/0.0009801, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009627/0.0009627, allocations: 170 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.9302/0.9302, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.329/2.329, allocations: 438.1 MB / 0.682 GB, free: 14.17 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.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.874e-06/1.874e-06, allocations: 0 / 0.8897 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.765e-05, allocations: 6.25 kB / 0.8898 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1299/0.1299, allocations: 144 MB / 1.03 GB, free: 9.191 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003842/0.1338, allocations: 3.802 MB / 1.034 GB, free: 5.375 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.1341, allocations: 19.81 kB / 1.034 GB, free: 5.355 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004513/0.1345, allocations: 135.1 kB / 1.034 GB, free: 5.223 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.1356, allocations: 0.606 MB / 1.035 GB, free: 4.613 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006929/0.1363, allocations: 446.9 kB / 1.035 GB, free: 4.176 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001164/0.1375, allocations: 1.034 MB / 1.036 GB, free: 3.137 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003919/0.1379, allocations: 225.3 kB / 1.036 GB, free: 2.914 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00176/0.1396, allocations: 0.5928 MB / 1.037 GB, free: 2.34 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004616/0.1401, allocations: 283.2 kB / 1.037 GB, free: 2.062 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.287e-05/0.1401, allocations: 32 kB / 1.037 GB, free: 2.031 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007387/0.1409, allocations: 327 kB / 1.038 GB, free: 1.711 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.141, allocations: 175.5 kB / 1.038 GB, free: 1.539 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.1412, allocations: 147.7 kB / 1.038 GB, free: 1.395 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007746/0.1419, allocations: 0.5178 MB / 1.038 GB, free: 0.875 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.142, allocations: 0 / 1.038 GB, free: 0.875 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.004e-06/0.142, allocations: 4 kB / 1.038 GB, free: 0.8711 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.142, allocations: 3.938 kB / 1.038 GB, free: 0.8672 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.0007712/0.1427, allocations: 0.7329 MB / 1.039 GB, free: 100 kB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1428, allocations: 12.62 kB / 1.039 GB, free: 88 kB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005995/0.1434, allocations: 188.2 kB / 1.039 GB, free: 15.9 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.1437, allocations: 326.3 kB / 1.04 GB, free: 15.55 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.1437, allocations: 20.66 kB / 1.04 GB, free: 15.53 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.1438, allocations: 32 kB / 1.04 GB, free: 15.5 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.1441, allocations: 297.6 kB / 1.04 GB, free: 15.18 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1441, allocations: 0 / 1.04 GB, free: 15.18 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.1441, allocations: 16 kB / 1.04 GB, free: 15.16 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1441, allocations: 4 kB / 1.04 GB, free: 15.16 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.1442, allocations: 103.1 kB / 1.04 GB, free: 15.05 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.0008758/0.1451, allocations: 0.7263 MB / 1.041 GB, free: 14.3 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.1453, allocations: 170.6 kB / 1.041 GB, free: 14.12 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.329e-05/0.1454, allocations: 80.77 kB / 1.041 GB, free: 14.04 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.675e-05/0.1455, allocations: 23.39 kB / 1.041 GB, free: 14.02 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.1455, allocations: 41.67 kB / 1.041 GB, free: 13.97 MB / 1.01 GB Notification: Performance of pre-optimization done (n=33): time 2.916e-06/0.1455, allocations: 0 / 1.041 GB, free: 13.97 MB / 1.01 GB Notification: Performance of matching and sorting (n=35): time 0.0008546/0.1464, allocations: 0.5561 MB / 1.042 GB, free: 13.38 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.1464, allocations: 59.41 kB / 1.042 GB, free: 13.31 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.1465, allocations: 298.2 kB / 1.042 GB, free: 13 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.1466, allocations: 33.7 kB / 1.042 GB, free: 12.96 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/0.1467, allocations: 231.4 kB / 1.042 GB, free: 12.73 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.667e-05/0.1467, allocations: 126.9 kB / 1.042 GB, free: 12.61 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.217e-05/0.1468, allocations: 71.33 kB / 1.042 GB, free: 12.53 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.147, allocations: 0.5234 MB / 1.043 GB, free: 12 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.062e-05/0.147, allocations: 35.91 kB / 1.043 GB, free: 11.96 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.937e-05/0.1471, allocations: 160.5 kB / 1.043 GB, free: 11.78 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.0002874/0.1474, allocations: 227.2 kB / 1.043 GB, free: 11.55 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1474, allocations: 0 / 1.043 GB, free: 11.55 MB / 1.01 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002107/0.1476, allocations: 205 kB / 1.044 GB, free: 11.34 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1476, allocations: 4 kB / 1.044 GB, free: 11.34 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1476, allocations: 0 / 1.044 GB, free: 11.34 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1476, allocations: 7.984 kB / 1.044 GB, free: 11.33 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.1478, allocations: 55.92 kB / 1.044 GB, free: 11.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.1478, allocations: 4 kB / 1.044 GB, free: 11.27 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.1479, allocations: 11.98 kB / 1.044 GB, free: 11.26 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.1479, allocations: 16.03 kB / 1.044 GB, free: 11.24 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.0001107/0.1481, allocations: 176.5 kB / 1.044 GB, free: 11.06 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.1481, allocations: 47.77 kB / 1.044 GB, free: 11.01 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.238e-05/0.1482, allocations: 46.92 kB / 1.044 GB, free: 10.97 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1482, allocations: 4 kB / 1.044 GB, free: 10.96 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1482, allocations: 0 / 1.044 GB, free: 10.96 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001885/0.1484, allocations: 256.2 kB / 1.044 GB, free: 10.68 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007692/0.1491, allocations: 0.7757 MB / 1.045 GB, free: 9.812 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1491, allocations: 4 kB / 1.045 GB, free: 9.809 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.1493, allocations: 75.91 kB / 1.045 GB, free: 9.734 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.1493, allocations: 8.453 kB / 1.045 GB, free: 9.727 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.1493, allocations: 20 kB / 1.045 GB, free: 9.707 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.1493, allocations: 7.938 kB / 1.045 GB, free: 9.699 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1493, allocations: 4 kB / 1.045 GB, free: 9.695 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.1498, allocations: 0.5205 MB / 1.046 GB, free: 9.094 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.638e-05/0.1498, allocations: 63.72 kB / 1.046 GB, free: 9.031 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.1499, allocations: 12 kB / 1.046 GB, free: 9.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.15, allocations: 8 kB / 1.046 GB, free: 9.012 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.1501, allocations: 43.83 kB / 1.046 GB, free: 8.969 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1501, allocations: 16.02 kB / 1.046 GB, free: 8.953 MB / 1.01 GB Notification: Performance of sorting global known variables: time 8.379e-05/0.1502, allocations: 203 kB / 1.046 GB, free: 8.754 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.1502, allocations: 4 kB / 1.046 GB, free: 8.75 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002795/0.1504, allocations: 107.9 kB / 1.046 GB, free: 8.645 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.0002072/0.1506, allocations: 151 kB / 1.046 GB, free: 8.488 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.1508, allocations: 155.6 kB / 1.046 GB, free: 8.332 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1508, allocations: 4 kB / 1.046 GB, free: 8.328 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.744e-05/0.1509, allocations: 101.8 kB / 1.046 GB, free: 8.227 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.1515, allocations: 183.5 kB / 1.047 GB, free: 8.051 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.1526, allocations: 0.857 MB / 1.047 GB, free: 7.094 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.295e-05/0.1527, allocations: 121.8 kB / 1.048 GB, free: 6.957 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001344/0.1528, allocations: 50.94 kB / 1.048 GB, free: 6.91 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.1531, allocations: 206.1 kB / 1.048 GB, free: 6.707 MB / 1.01 GB Notification: Performance of SimCode: time 7.61e-07/0.1531, allocations: 4 kB / 1.048 GB, free: 6.703 MB / 1.01 GB Notification: Performance of Templates: time 0.407/0.5601, allocations: 7.085 MB / 1.055 GB, free: 69.49 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: 5.962309394031763]