Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001022/0.001022, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.00108/0.00108, allocations: 165 kB / 23.82 MB, free: 0.7383 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.9701/0.9701, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.794/1.794, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.465e-05, allocations: 4.281 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1317/0.1317, allocations: 146.7 MB / 0.9304 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.004684/0.1364, allocations: 3.855 MB / 0.9341 GB, free: 5.473 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002805/0.1367, allocations: 23.81 kB / 0.9342 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004877/0.1371, allocations: 127 kB / 0.9343 GB, free: 5.324 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.1384, allocations: 0.6177 MB / 0.9349 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008609/0.1393, allocations: 450.9 kB / 0.9353 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001123/0.1404, allocations: 1.034 MB / 0.9363 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003833/0.1408, allocations: 245.2 kB / 0.9366 GB, free: 2.984 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.142, allocations: 0.5716 MB / 0.9371 GB, free: 2.426 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005883/0.1425, allocations: 295.2 kB / 0.9374 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 5.481e-05/0.1426, allocations: 32 kB / 0.9374 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005232/0.1431, allocations: 327 kB / 0.9377 GB, free: 1.785 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.1433, allocations: 171.5 kB / 0.9379 GB, free: 1.617 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.1434, allocations: 143.7 kB / 0.938 GB, free: 1.477 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0008009/0.1442, allocations: 0.5256 MB / 0.9385 GB, free: 0.9492 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1442, allocations: 0 / 0.9385 GB, free: 0.9492 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1442, allocations: 0 / 0.9385 GB, free: 0.9492 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.1442, allocations: 0 / 0.9385 GB, free: 0.9492 MB / 0.8855 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.0009915/0.1452, allocations: 0.7565 MB / 0.9393 GB, free: 160 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1453, allocations: 8.031 kB / 0.9393 GB, free: 152 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008347/0.1461, allocations: 184.3 kB / 0.9395 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/0.1466, allocations: 338.3 kB / 0.9398 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.1466, allocations: 20.66 kB / 0.9398 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.887e-05/0.1467, allocations: 39.98 kB / 0.9399 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.1471, allocations: 321.6 kB / 0.9402 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1471, allocations: 0 / 0.9402 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.1471, allocations: 8 kB / 0.9402 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.1472, allocations: 11.94 kB / 0.9402 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/0.1474, allocations: 123.8 kB / 0.9403 GB, free: 15.06 MB / 0.9011 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.001208/0.1486, allocations: 0.796 MB / 0.9411 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.1489, allocations: 168 kB / 0.9412 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.149, allocations: 88.2 kB / 0.9413 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.1491, allocations: 28.27 kB / 0.9413 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.1492, allocations: 37.61 kB / 0.9414 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 2.515e-06/0.1492, allocations: 0 / 0.9414 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of matching and sorting (n=35): time 0.001299/0.1505, allocations: 0.6497 MB / 0.942 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.1505, allocations: 55.41 kB / 0.9421 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.1507, allocations: 302.3 kB / 0.9424 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.1508, allocations: 29.7 kB / 0.9424 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.1509, allocations: 239.4 kB / 0.9426 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.463e-05/0.151, allocations: 126.9 kB / 0.9427 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.592e-05/0.1511, allocations: 67.36 kB / 0.9428 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.1512, allocations: 0.5235 MB / 0.9433 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.346e-05/0.1513, allocations: 39.98 kB / 0.9433 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.1515, allocations: 172.2 kB / 0.9435 GB, free: 11.58 MB / 0.9011 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.0005071/0.152, allocations: 271 kB / 0.9438 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.152, allocations: 0 / 0.9438 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003414/0.1523, allocations: 217.3 kB / 0.944 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.1524, allocations: 7.938 kB / 0.944 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1524, allocations: 4 kB / 0.944 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1524, allocations: 4.031 kB / 0.944 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.1526, allocations: 67.91 kB / 0.9441 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1526, allocations: 0 / 0.9441 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.1528, allocations: 11.98 kB / 0.9441 GB, free: 11 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.1528, allocations: 15.94 kB / 0.9441 GB, free: 10.98 MB / 0.9011 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.0001378/0.153, allocations: 176.5 kB / 0.9443 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.335e-05/0.153, allocations: 51.8 kB / 0.9443 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.578e-05/0.1531, allocations: 47.03 kB / 0.9443 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1531, allocations: 4 kB / 0.9443 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1531, allocations: 4 kB / 0.9444 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003182/0.1534, allocations: 276.5 kB / 0.9446 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.1545, allocations: 0.8538 MB / 0.9455 GB, free: 9.438 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1545, allocations: 4 kB / 0.9455 GB, free: 9.434 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.1547, allocations: 79.89 kB / 0.9455 GB, free: 9.355 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.1547, allocations: 4 kB / 0.9455 GB, free: 9.352 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.1548, allocations: 16 kB / 0.9456 GB, free: 9.336 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.1548, allocations: 4 kB / 0.9456 GB, free: 9.332 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1548, allocations: 7.938 kB / 0.9456 GB, free: 9.324 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006163/0.1554, allocations: 0.5538 MB / 0.9461 GB, free: 8.688 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.1555, allocations: 59.77 kB / 0.9462 GB, free: 8.629 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.1555, allocations: 12 kB / 0.9462 GB, free: 8.617 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.1557, allocations: 15.98 kB / 0.9462 GB, free: 8.602 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.1558, allocations: 35.83 kB / 0.9462 GB, free: 8.566 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.1558, allocations: 16 kB / 0.9462 GB, free: 8.551 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001399/0.156, allocations: 211 kB / 0.9464 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.156, allocations: 0 / 0.9464 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004345/0.1564, allocations: 112 kB / 0.9465 GB, free: 8.238 MB / 0.9011 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.0002516/0.1567, allocations: 151.1 kB / 0.9467 GB, free: 8.078 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003306/0.157, allocations: 167.3 kB / 0.9468 GB, free: 7.91 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.157, allocations: 4 kB / 0.9469 GB, free: 7.906 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.1571, allocations: 109.4 kB / 0.947 GB, free: 7.797 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007806/0.1579, allocations: 189.1 kB / 0.9471 GB, free: 7.613 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.1596, allocations: 0.8689 MB / 0.948 GB, free: 6.648 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.419e-05/0.1597, allocations: 117.8 kB / 0.9481 GB, free: 6.512 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002287/0.1599, allocations: 86.88 kB / 0.9482 GB, free: 6.43 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.815e-05/0.16, allocations: 32.5 kB / 0.9482 GB, free: 6.398 MB / 0.9011 GB Notification: Performance of SimCode: time 9.02e-07/0.16, allocations: 0 / 0.9482 GB, free: 6.398 MB / 0.9011 GB Notification: Performance of Templates: time 0.01112/0.1711, allocations: 7.061 MB / 0.9551 GB, free: 15.52 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.297846023924649]