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.001365/0.001365, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001434/0.001434, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.022/1.022, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.974/1.974, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.864e-06/1.864e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.683e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1379/0.1379, allocations: 146.7 MB / 0.9548 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004652/0.1426, allocations: 3.863 MB / 0.9586 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003736/0.1429, allocations: 19.81 kB / 0.9586 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005583/0.1435, allocations: 127.1 kB / 0.9587 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.1448, allocations: 0.6099 MB / 0.9593 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008288/0.1456, allocations: 454.9 kB / 0.9598 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001102/0.1467, allocations: 1.034 MB / 0.9608 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003997/0.1471, allocations: 247.8 kB / 0.961 GB, free: 8.184 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009282/0.1481, allocations: 0.5259 MB / 0.9615 GB, free: 7.656 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007784/0.1488, allocations: 300 kB / 0.9618 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.1489, allocations: 28 kB / 0.9618 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007314/0.1496, allocations: 410.8 kB / 0.9622 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.1498, allocations: 175.5 kB / 0.9624 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.1499, allocations: 151.7 kB / 0.9625 GB, free: 6.617 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000968/0.1509, allocations: 0.5451 MB / 0.9631 GB, free: 6.07 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.1509, allocations: 0 / 0.9631 GB, free: 6.07 MB / 0.9167 GB Notification: Performance of FrontEnd: time 4.198e-06/0.1509, allocations: 4 kB / 0.9631 GB, free: 6.066 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.1509, allocations: 0 / 0.9631 GB, free: 6.066 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.0009854/0.1519, allocations: 0.7566 MB / 0.9638 GB, free: 5.273 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.152, allocations: 8.031 kB / 0.9638 GB, free: 5.266 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007169/0.1527, allocations: 192.3 kB / 0.964 GB, free: 5.078 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/0.1532, allocations: 350.9 kB / 0.9643 GB, free: 4.707 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.1532, allocations: 28.59 kB / 0.9644 GB, free: 4.68 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.82e-05/0.1533, allocations: 36 kB / 0.9644 GB, free: 4.645 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/0.1536, allocations: 317.6 kB / 0.9647 GB, free: 4.301 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1536, allocations: 0 / 0.9647 GB, free: 4.301 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.1537, allocations: 12 kB / 0.9647 GB, free: 4.289 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.1537, allocations: 4 kB / 0.9647 GB, free: 4.285 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.1539, allocations: 131.8 kB / 0.9648 GB, free: 4.152 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.001062/0.155, allocations: 0.7961 MB / 0.9656 GB, free: 3.312 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.1552, allocations: 172.5 kB / 0.9658 GB, free: 3.133 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.1553, allocations: 94.95 kB / 0.9659 GB, free: 3.039 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.1554, allocations: 24.27 kB / 0.9659 GB, free: 3.016 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1555, allocations: 45.67 kB / 0.9659 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=33): time 3.056e-06/0.1555, allocations: 0 / 0.9659 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of matching and sorting (n=35): time 0.001199/0.1567, allocations: 0.6489 MB / 0.9666 GB, free: 2.277 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.1567, allocations: 55.41 kB / 0.9666 GB, free: 2.211 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.1569, allocations: 298.3 kB / 0.9669 GB, free: 1.906 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.1569, allocations: 37.7 kB / 0.967 GB, free: 1.863 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.157, allocations: 223.5 kB / 0.9672 GB, free: 1.641 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/0.1571, allocations: 138.8 kB / 0.9673 GB, free: 1.504 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.513e-05/0.1572, allocations: 71.11 kB / 0.9674 GB, free: 1.426 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1574, allocations: 0.5195 MB / 0.9679 GB, free: 0.8945 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.571e-05/0.1575, allocations: 39.97 kB / 0.9679 GB, free: 0.8555 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.1576, allocations: 201.8 kB / 0.9681 GB, free: 0.6211 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.0004474/0.1581, allocations: 262.6 kB / 0.9684 GB, free: 368 kB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1581, allocations: 7.938 kB / 0.9684 GB, free: 360 kB / 0.9167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002834/0.1583, allocations: 225.1 kB / 0.9686 GB, free: 128 kB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1584, allocations: 9.594 kB / 0.9686 GB, free: 120 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1584, allocations: 4 kB / 0.9686 GB, free: 116 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.1584, allocations: 0 / 0.9686 GB, free: 116 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.1586, allocations: 67.91 kB / 0.9687 GB, free: 48 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1586, allocations: 3.984 kB / 0.9687 GB, free: 44 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.1587, allocations: 15.89 kB / 0.9687 GB, free: 28 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.1588, allocations: 19.98 kB / 0.9687 GB, free: 8 kB / 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 0.0001376/0.1589, allocations: 168.5 kB / 0.9689 GB, free: 15.83 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.1589, allocations: 43.81 kB / 0.9689 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.263e-05/0.159, allocations: 51.03 kB / 0.9689 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.159, allocations: 4 kB / 0.969 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.159, allocations: 0 / 0.969 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002799/0.1593, allocations: 280.4 kB / 0.9692 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000972/0.1603, allocations: 0.8438 MB / 0.97 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1603, allocations: 4 kB / 0.97 GB, free: 14.47 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.1605, allocations: 83.89 kB / 0.9701 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1605, allocations: 4 kB / 0.9701 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.1605, allocations: 12 kB / 0.9701 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.1605, allocations: 11.92 kB / 0.9702 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1605, allocations: 4 kB / 0.9702 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004929/0.161, allocations: 0.5555 MB / 0.9707 GB, free: 13.72 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 9.393e-05/0.1611, allocations: 55.78 kB / 0.9708 GB, free: 13.67 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.1611, allocations: 15.98 kB / 0.9708 GB, free: 13.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.1613, allocations: 12 kB / 0.9708 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.1613, allocations: 43.86 kB / 0.9708 GB, free: 13.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.1614, allocations: 12 kB / 0.9708 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001221/0.1615, allocations: 215 kB / 0.971 GB, free: 13.38 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1615, allocations: 0 / 0.971 GB, free: 13.38 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003446/0.1618, allocations: 108 kB / 0.9711 GB, free: 13.27 MB / 0.9323 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.0002466/0.1621, allocations: 151.1 kB / 0.9713 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002994/0.1624, allocations: 175.9 kB / 0.9715 GB, free: 12.94 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1624, allocations: 3.938 kB / 0.9715 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.1626, allocations: 112 kB / 0.9716 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000618/0.1632, allocations: 189.5 kB / 0.9717 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.1647, allocations: 0.8702 MB / 0.9726 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.249e-05/0.1648, allocations: 121.8 kB / 0.9727 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001997/0.165, allocations: 78.89 kB / 0.9728 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.574e-05/0.1651, allocations: 32.5 kB / 0.9728 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of SimCode: time 1.072e-06/0.1651, allocations: 0 / 0.9728 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of Templates: time 0.009858/0.175, allocations: 6.656 MB / 0.9793 GB, free: 4.973 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.907850855030119]