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.00151/0.00151, 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.001686/0.001686, allocations: 177 kB / 23.36 MB, free: 1.133 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.983/0.983, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.449/2.449, allocations: 438.8 MB / 0.6826 GB, free: 13.62 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.253e-06/1.253e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.109e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1368/0.1369, allocations: 146.1 MB / 0.9813 GB, free: 11.48 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003863/0.1407, allocations: 3.866 MB / 0.9851 GB, free: 7.602 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.141, allocations: 15.88 kB / 0.9851 GB, free: 7.586 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.1414, allocations: 135 kB / 0.9853 GB, free: 7.453 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.1424, allocations: 0.6099 MB / 0.9858 GB, free: 6.84 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00062/0.143, allocations: 442.9 kB / 0.9863 GB, free: 6.406 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0008274/0.1438, allocations: 1.01 MB / 0.9873 GB, free: 5.391 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005855/0.1444, allocations: 267.4 kB / 0.9875 GB, free: 5.133 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007742/0.1452, allocations: 0.582 MB / 0.9881 GB, free: 4.57 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002965/0.1455, allocations: 279.1 kB / 0.9883 GB, free: 4.297 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.1455, allocations: 28 kB / 0.9884 GB, free: 4.27 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004611/0.146, allocations: 327.1 kB / 0.9887 GB, free: 3.949 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.1461, allocations: 171.5 kB / 0.9888 GB, free: 3.781 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.1462, allocations: 155.7 kB / 0.989 GB, free: 3.629 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.1468, allocations: 0.5217 MB / 0.9895 GB, free: 3.105 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1468, allocations: 0 / 0.9895 GB, free: 3.105 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1468, allocations: 0 / 0.9895 GB, free: 3.105 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.1468, allocations: 0 / 0.9895 GB, free: 3.105 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.0006343/0.1474, allocations: 0.6003 MB / 0.9901 GB, free: 2.48 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.1475, allocations: 12.62 kB / 0.9901 GB, free: 2.469 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006128/0.1481, allocations: 184.5 kB / 0.9903 GB, free: 2.289 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.1484, allocations: 315.7 kB / 0.9906 GB, free: 1.953 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1485, allocations: 24.66 kB / 0.9906 GB, free: 1.926 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.1485, allocations: 32 kB / 0.9906 GB, free: 1.895 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.1488, allocations: 308.4 kB / 0.9909 GB, free: 1.562 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1488, allocations: 3.984 kB / 0.9909 GB, free: 1.559 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.1488, allocations: 16 kB / 0.9909 GB, free: 1.543 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1488, allocations: 4 kB / 0.991 GB, free: 1.539 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.149, allocations: 91.09 kB / 0.991 GB, free: 1.449 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.0007587/0.1497, allocations: 0.5658 MB / 0.9916 GB, free: 0.8633 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.1499, allocations: 207.6 kB / 0.9918 GB, free: 0.6484 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.179e-05/0.15, allocations: 73.97 kB / 0.9919 GB, free: 0.5742 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.972e-05/0.1501, allocations: 28.27 kB / 0.9919 GB, free: 0.5469 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.1501, allocations: 34.84 kB / 0.9919 GB, free: 0.5039 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.1501, allocations: 0 / 0.9919 GB, free: 0.5039 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.0008685/0.151, allocations: 0.5052 MB / 0.9924 GB, free: 15.97 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.151, allocations: 63.34 kB / 0.9925 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.1511, allocations: 235 kB / 0.9927 GB, free: 15.65 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.1511, allocations: 37.7 kB / 0.9927 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.1512, allocations: 153.1 kB / 0.9929 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/0.1513, allocations: 126.9 kB / 0.993 GB, free: 15.33 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.1513, allocations: 57.67 kB / 0.9931 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.299e-05/0.1514, allocations: 350.7 kB / 0.9934 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.85e-05/0.1515, allocations: 34.81 kB / 0.9934 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.884e-05/0.1516, allocations: 130.8 kB / 0.9935 GB, free: 14.73 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.0002853/0.1518, allocations: 232.9 kB / 0.9938 GB, free: 14.49 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1518, allocations: 4 kB / 0.9938 GB, free: 14.49 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001694/0.152, allocations: 153.3 kB / 0.9939 GB, free: 14.33 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.152, allocations: 7.938 kB / 0.9939 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.152, allocations: 4 kB / 0.9939 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.152, allocations: 4 kB / 0.9939 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.1522, allocations: 67.91 kB / 0.994 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-06/0.1522, allocations: 4 kB / 0.994 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.1523, allocations: 12.03 kB / 0.994 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.1524, allocations: 8 kB / 0.994 GB, free: 14.23 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 9.58e-05/0.1525, allocations: 136.5 kB / 0.9942 GB, free: 14.08 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.1525, allocations: 31.97 kB / 0.9942 GB, free: 14.05 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.113e-05/0.1526, allocations: 46.98 kB / 0.9942 GB, free: 14 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1526, allocations: 4 kB / 0.9942 GB, free: 14 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.1526, allocations: 0 / 0.9942 GB, free: 14 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001546/0.1527, allocations: 220.2 kB / 0.9944 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006621/0.1534, allocations: 0.7188 MB / 0.9951 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.1534, allocations: 7.938 kB / 0.9952 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.1536, allocations: 95.12 kB / 0.9952 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1536, allocations: 8 kB / 0.9953 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.1536, allocations: 12 kB / 0.9953 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.1536, allocations: 8 kB / 0.9953 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.1536, allocations: 7.984 kB / 0.9953 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.154, allocations: 474.7 kB / 0.9957 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.1541, allocations: 51.77 kB / 0.9958 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.1541, allocations: 12 kB / 0.9958 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.1542, allocations: 16.03 kB / 0.9958 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.1543, allocations: 35.89 kB / 0.9958 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.1543, allocations: 11.98 kB / 0.9959 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.342e-05/0.1543, allocations: 80.66 kB / 0.9959 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.1543, allocations: 3.938 kB / 0.9959 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002582/0.1546, allocations: 116 kB / 0.996 GB, free: 11.96 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.0001763/0.1548, allocations: 120.2 kB / 0.9962 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001882/0.155, allocations: 144.7 kB / 0.9963 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.155, allocations: 7.938 kB / 0.9963 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.624e-05/0.1551, allocations: 88.61 kB / 0.9964 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.1556, allocations: 184.5 kB / 0.9966 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.1566, allocations: 0.8168 MB / 0.9974 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.742e-05/0.1567, allocations: 121.8 kB / 0.9975 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001405/0.1568, allocations: 50.94 kB / 0.9975 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.1571, allocations: 173.2 kB / 0.9977 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of SimCode: time 7.32e-07/0.1571, allocations: 4 kB / 0.9977 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of Templates: time 0.008444/0.1656, allocations: 7.021 MB / 1.005 GB, free: 3.309 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 -s gbode -gbm=radauIIA3 -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.623705157078803]