Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001302/0.001302, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001415/0.001415, allocations: 185 kB / 24.09 MB, free: 416 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.9354/0.9354, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.916/1.916, allocations: 377.9 MB / 0.624 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.856e-06/2.856e-06, allocations: 0 / 0.812 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.612e-05, allocations: 3 kB / 0.812 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1259/0.1259, allocations: 144 MB / 0.9526 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003294/0.1292, allocations: 3.838 MB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.1294, allocations: 19.81 kB / 0.9564 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004167/0.1298, allocations: 135 kB / 0.9565 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0008506/0.1307, allocations: 0.6061 MB / 0.9571 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007842/0.1315, allocations: 458.8 kB / 0.9575 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0007603/0.1322, allocations: 1.026 MB / 0.9585 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002696/0.1325, allocations: 253.2 kB / 0.9588 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008455/0.1333, allocations: 0.5916 MB / 0.9594 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.1336, allocations: 291.2 kB / 0.9596 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.545e-05/0.1337, allocations: 32 kB / 0.9597 GB, free: 9.742 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003267/0.134, allocations: 327 kB / 0.96 GB, free: 9.422 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.1341, allocations: 171.5 kB / 0.9601 GB, free: 9.254 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.1342, allocations: 147.7 kB / 0.9603 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005044/0.1347, allocations: 0.5256 MB / 0.9608 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1347, allocations: 0 / 0.9608 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1347, allocations: 0 / 0.9608 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1347, allocations: 0 / 0.9608 GB, free: 8.582 MB / 0.9167 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.0006894/0.1354, allocations: 0.7526 MB / 0.9615 GB, free: 7.793 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1355, allocations: 12.03 kB / 0.9615 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005326/0.136, allocations: 176.3 kB / 0.9617 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.1363, allocations: 330.3 kB / 0.962 GB, free: 7.258 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.1363, allocations: 20.66 kB / 0.9621 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.1364, allocations: 36 kB / 0.9621 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.1366, allocations: 297.6 kB / 0.9624 GB, free: 6.879 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1366, allocations: 7.875 kB / 0.9624 GB, free: 6.871 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.1367, allocations: 12 kB / 0.9624 GB, free: 6.859 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1367, allocations: 12 kB / 0.9624 GB, free: 6.848 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.1368, allocations: 99.12 kB / 0.9625 GB, free: 6.75 MB / 0.9167 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.0007959/0.1376, allocations: 0.7302 MB / 0.9632 GB, free: 5.988 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.1378, allocations: 164.1 kB / 0.9634 GB, free: 5.82 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.287e-05/0.1378, allocations: 80.19 kB / 0.9634 GB, free: 5.738 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.078e-05/0.1379, allocations: 26.28 kB / 0.9635 GB, free: 5.715 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1379, allocations: 45.59 kB / 0.9635 GB, free: 5.66 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=33): time 2.475e-06/0.138, allocations: 3.984 kB / 0.9635 GB, free: 5.656 MB / 0.9167 GB Notification: Performance of matching and sorting (n=35): time 0.0007906/0.1387, allocations: 0.5495 MB / 0.9641 GB, free: 5.074 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.1388, allocations: 59.39 kB / 0.9641 GB, free: 5.004 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.1389, allocations: 298.2 kB / 0.9644 GB, free: 4.695 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1389, allocations: 33.7 kB / 0.9644 GB, free: 4.656 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.139, allocations: 235.4 kB / 0.9646 GB, free: 4.422 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/0.1391, allocations: 122.9 kB / 0.9648 GB, free: 4.301 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.1392, allocations: 79.08 kB / 0.9648 GB, free: 4.215 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.1393, allocations: 0.5195 MB / 0.9653 GB, free: 3.684 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.796e-05/0.1394, allocations: 31.97 kB / 0.9654 GB, free: 3.652 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.52e-05/0.1395, allocations: 156.4 kB / 0.9655 GB, free: 3.473 MB / 0.9167 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.0002831/0.1398, allocations: 230.2 kB / 0.9657 GB, free: 3.238 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1398, allocations: 0 / 0.9657 GB, free: 3.238 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002675/0.14, allocations: 205.1 kB / 0.9659 GB, free: 3.031 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.14, allocations: 8 kB / 0.966 GB, free: 3.023 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1401, allocations: 0 / 0.966 GB, free: 3.023 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1401, allocations: 3.984 kB / 0.966 GB, free: 3.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1402, allocations: 59.92 kB / 0.966 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.1402, allocations: 4.031 kB / 0.966 GB, free: 2.957 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.1403, allocations: 19.92 kB / 0.966 GB, free: 2.938 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.1404, allocations: 8 kB / 0.966 GB, free: 2.93 MB / 0.9167 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.952e-05/0.1405, allocations: 176.5 kB / 0.9662 GB, free: 2.746 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.1405, allocations: 43.81 kB / 0.9663 GB, free: 2.703 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.203e-05/0.1406, allocations: 47.03 kB / 0.9663 GB, free: 2.652 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.1406, allocations: 4 kB / 0.9663 GB, free: 2.648 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.1406, allocations: 0 / 0.9663 GB, free: 2.648 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001819/0.1407, allocations: 256.5 kB / 0.9665 GB, free: 2.367 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006917/0.1414, allocations: 0.783 MB / 0.9673 GB, free: 1.488 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1414, allocations: 4.469 kB / 0.9673 GB, free: 1.484 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.1416, allocations: 83.89 kB / 0.9674 GB, free: 1.402 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1416, allocations: 4 kB / 0.9674 GB, free: 1.398 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.1416, allocations: 12 kB / 0.9674 GB, free: 1.387 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1416, allocations: 4 kB / 0.9674 GB, free: 1.383 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.1416, allocations: 11.92 kB / 0.9674 GB, free: 1.371 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.1421, allocations: 0.5224 MB / 0.9679 GB, free: 0.7656 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.661e-05/0.1422, allocations: 67.75 kB / 0.968 GB, free: 0.6992 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.1422, allocations: 8 kB / 0.968 GB, free: 0.6914 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.1424, allocations: 22.88 kB / 0.968 GB, free: 0.6719 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.1424, allocations: 35.83 kB / 0.9681 GB, free: 0.6367 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.1424, allocations: 19.98 kB / 0.9681 GB, free: 0.6172 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.813e-05/0.1425, allocations: 195 kB / 0.9683 GB, free: 436 kB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1425, allocations: 0 / 0.9683 GB, free: 436 kB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002679/0.1428, allocations: 112 kB / 0.9684 GB, free: 324 kB / 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.0001774/0.143, allocations: 147.1 kB / 0.9685 GB, free: 168 kB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.1432, allocations: 159.8 kB / 0.9687 GB, free: 4 kB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1432, allocations: 4 kB / 0.9687 GB, free: 0 / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.1433, allocations: 101.1 kB / 0.9688 GB, free: 15.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.1438, allocations: 189.6 kB / 0.9689 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1449, allocations: 0.8571 MB / 0.9698 GB, free: 14.76 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.572e-05/0.1449, allocations: 125.8 kB / 0.9699 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001322/0.1451, allocations: 58.92 kB / 0.97 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.1453, allocations: 218 kB / 0.9702 GB, free: 14.35 MB / 0.9323 GB Notification: Performance of SimCode: time 6.11e-07/0.1453, allocations: 0 / 0.9702 GB, free: 14.35 MB / 0.9323 GB Notification: Performance of Templates: time 0.008917/0.1543, allocations: 7.249 MB / 0.9772 GB, free: 7.301 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.317924142349511]