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.001026/0.001026, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001154/0.001154, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9288/0.9288, 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.882/1.882, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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.013e-06/2.013e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.445e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1307/0.1307, allocations: 146.7 MB / 0.9548 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004006/0.1347, allocations: 3.864 MB / 0.9586 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.135, allocations: 19.81 kB / 0.9586 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004661/0.1354, allocations: 135 kB / 0.9587 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.1365, allocations: 0.6022 MB / 0.9593 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007024/0.1372, allocations: 454.9 kB / 0.9598 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0009317/0.1381, allocations: 1.034 MB / 0.9608 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003254/0.1384, allocations: 253.2 kB / 0.961 GB, free: 8.176 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009684/0.1394, allocations: 0.5935 MB / 0.9616 GB, free: 7.598 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.1397, allocations: 291.1 kB / 0.9619 GB, free: 7.312 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.312e-05/0.1398, allocations: 28 kB / 0.9619 GB, free: 7.285 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.1402, allocations: 335 kB / 0.9622 GB, free: 6.957 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.1403, allocations: 167.5 kB / 0.9624 GB, free: 6.793 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.1404, allocations: 151.7 kB / 0.9625 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005905/0.141, allocations: 0.5217 MB / 0.963 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.141, allocations: 0 / 0.963 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.072e-06/0.141, allocations: 0 / 0.963 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.141, allocations: 0 / 0.963 GB, free: 6.121 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.0008481/0.1419, allocations: 0.7487 MB / 0.9638 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1419, allocations: 16.03 kB / 0.9638 GB, free: 5.32 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005919/0.1425, allocations: 180.3 kB / 0.964 GB, free: 5.145 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.1429, allocations: 338.3 kB / 0.9643 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.1429, allocations: 24.66 kB / 0.9643 GB, free: 4.762 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.1429, allocations: 32 kB / 0.9643 GB, free: 4.73 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.1433, allocations: 321.5 kB / 0.9646 GB, free: 4.383 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1433, allocations: 0 / 0.9646 GB, free: 4.383 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.1433, allocations: 12 kB / 0.9647 GB, free: 4.371 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.1433, allocations: 11.98 kB / 0.9647 GB, free: 4.359 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.1435, allocations: 123.8 kB / 0.9648 GB, free: 4.238 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.0009744/0.1445, allocations: 0.796 MB / 0.9656 GB, free: 3.395 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.1448, allocations: 180.5 kB / 0.9657 GB, free: 3.207 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1449, allocations: 92.2 kB / 0.9658 GB, free: 3.113 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-05/0.145, allocations: 24.2 kB / 0.9658 GB, free: 3.09 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.145, allocations: 41.67 kB / 0.9659 GB, free: 3.039 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.145, allocations: 0 / 0.9659 GB, free: 3.039 MB / 0.9167 GB Notification: Performance of matching and sorting (n=35): time 0.001092/0.1461, allocations: 0.645 MB / 0.9665 GB, free: 2.359 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.1461, allocations: 59.41 kB / 0.9666 GB, free: 2.289 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.1463, allocations: 302.3 kB / 0.9669 GB, free: 1.98 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.1463, allocations: 33.7 kB / 0.9669 GB, free: 1.941 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.63e-05/0.1464, allocations: 231.4 kB / 0.9671 GB, free: 1.711 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.741e-05/0.1465, allocations: 130.9 kB / 0.9672 GB, free: 1.582 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/0.1466, allocations: 67.11 kB / 0.9673 GB, free: 1.508 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1467, allocations: 0.5196 MB / 0.9678 GB, free: 0.9766 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.214e-05/0.1468, allocations: 39.97 kB / 0.9678 GB, free: 0.9375 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.1469, allocations: 164.4 kB / 0.968 GB, free: 0.75 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.0004018/0.1473, allocations: 274.5 kB / 0.9683 GB, free: 488 kB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1473, allocations: 0 / 0.9683 GB, free: 488 kB / 0.9167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002593/0.1476, allocations: 221.1 kB / 0.9685 GB, free: 260 kB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1476, allocations: 8 kB / 0.9685 GB, free: 252 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1476, allocations: 0 / 0.9685 GB, free: 252 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1476, allocations: 0 / 0.9685 GB, free: 252 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.1478, allocations: 63.91 kB / 0.9685 GB, free: 188 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1478, allocations: 4 kB / 0.9685 GB, free: 184 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.1479, allocations: 11.98 kB / 0.9686 GB, free: 172 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.1479, allocations: 19.97 kB / 0.9686 GB, free: 152 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.000116/0.1481, allocations: 172.5 kB / 0.9687 GB, free: 15.97 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.1481, allocations: 47.77 kB / 0.9688 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.264e-05/0.1482, allocations: 43.03 kB / 0.9688 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1482, allocations: 4 kB / 0.9688 GB, free: 15.87 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1482, allocations: 0 / 0.9688 GB, free: 15.87 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002347/0.1484, allocations: 280.5 kB / 0.9691 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000822/0.1492, allocations: 0.8535 MB / 0.9699 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.1492, allocations: 4 kB / 0.9699 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.1494, allocations: 79.91 kB / 0.97 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.1494, allocations: 4.469 kB / 0.97 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.1495, allocations: 19.98 kB / 0.97 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.1495, allocations: 11.94 kB / 0.97 GB, free: 14.49 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1495, allocations: 7.938 kB / 0.9701 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.1499, allocations: 0.5513 MB / 0.9706 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/0.15, allocations: 59.78 kB / 0.9706 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.15, allocations: 11.98 kB / 0.9707 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.1502, allocations: 16 kB / 0.9707 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.1502, allocations: 43.86 kB / 0.9707 GB, free: 13.72 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.1502, allocations: 15.98 kB / 0.9707 GB, free: 13.71 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000106/0.1504, allocations: 207 kB / 0.9709 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1504, allocations: 0 / 0.9709 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002863/0.1506, allocations: 112 kB / 0.971 GB, free: 13.39 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.0001904/0.1508, allocations: 147.1 kB / 0.9712 GB, free: 13.24 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002632/0.1511, allocations: 175.9 kB / 0.9713 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1511, allocations: 0 / 0.9713 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.1512, allocations: 111.3 kB / 0.9715 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005607/0.1518, allocations: 194.7 kB / 0.9716 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.153, allocations: 0.8622 MB / 0.9725 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.122e-05/0.1531, allocations: 125.7 kB / 0.9726 GB, free: 11.67 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001645/0.1532, allocations: 78.89 kB / 0.9727 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.1533, allocations: 40.48 kB / 0.9727 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of SimCode: time 5.31e-07/0.1533, allocations: 0 / 0.9727 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of Templates: time 0.009134/0.1624, allocations: 7.072 MB / 0.9796 GB, free: 4.668 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.407865200191736]