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.001061/0.001061, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001129/0.001129, allocations: 165 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.048/1.048, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.852/1.852, allocations: 359 MB / 0.6052 GB, free: 11 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.753e-06/1.753e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.106e-05, allocations: 2.906 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1358/0.1358, allocations: 146.7 MB / 0.9304 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.004706/0.1405, allocations: 3.858 MB / 0.9341 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003828/0.1409, allocations: 19.81 kB / 0.9342 GB, free: 5.426 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005111/0.1414, allocations: 135 kB / 0.9343 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001241/0.1426, allocations: 0.6022 MB / 0.9349 GB, free: 4.688 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008051/0.1434, allocations: 462.8 kB / 0.9353 GB, free: 4.234 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.1445, allocations: 1.03 MB / 0.9363 GB, free: 3.203 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003776/0.1449, allocations: 249.2 kB / 0.9366 GB, free: 2.957 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005891/0.1455, allocations: 0.4908 MB / 0.937 GB, free: 2.465 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006535/0.1461, allocations: 318.7 kB / 0.9373 GB, free: 2.16 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.99e-05/0.1462, allocations: 28 kB / 0.9374 GB, free: 2.133 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006599/0.1468, allocations: 410.7 kB / 0.9378 GB, free: 1.73 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.147, allocations: 179.5 kB / 0.9379 GB, free: 1.555 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.1471, allocations: 151.7 kB / 0.9381 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0007514/0.1478, allocations: 0.5412 MB / 0.9386 GB, free: 0.8633 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1478, allocations: 0 / 0.9386 GB, free: 0.8633 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1478, allocations: 0 / 0.9386 GB, free: 0.8633 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.1479, allocations: 4 kB / 0.9386 GB, free: 0.8594 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.0008648/0.1487, allocations: 0.7605 MB / 0.9393 GB, free: 64 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1488, allocations: 12.03 kB / 0.9394 GB, free: 52 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007184/0.1495, allocations: 196.2 kB / 0.9395 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.1499, allocations: 347 kB / 0.9399 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.1499, allocations: 20.66 kB / 0.9399 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/0.15, allocations: 36 kB / 0.9399 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.1503, allocations: 317.6 kB / 0.9402 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1504, allocations: 0 / 0.9402 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.1504, allocations: 12 kB / 0.9402 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-05/0.1505, allocations: 8 kB / 0.9402 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.1507, allocations: 131.8 kB / 0.9404 GB, free: 14.95 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.001074/0.1518, allocations: 0.7883 MB / 0.9411 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.152, allocations: 175.9 kB / 0.9413 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.1521, allocations: 88.22 kB / 0.9414 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.1523, allocations: 24.27 kB / 0.9414 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.1523, allocations: 41.66 kB / 0.9415 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/0.1523, allocations: 0 / 0.9415 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of matching and sorting (n=35): time 0.001422/0.1537, allocations: 0.6496 MB / 0.9421 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.1537, allocations: 59.39 kB / 0.9422 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.1539, allocations: 298.3 kB / 0.9424 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.154, allocations: 37.64 kB / 0.9425 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1541, allocations: 231.4 kB / 0.9427 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.993e-05/0.1541, allocations: 126.9 kB / 0.9428 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.812e-05/0.1542, allocations: 71.36 kB / 0.9429 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.1544, allocations: 0.5195 MB / 0.9434 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-05/0.1544, allocations: 43.91 kB / 0.9434 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.1546, allocations: 201.6 kB / 0.9436 GB, free: 11.42 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.0004157/0.155, allocations: 267 kB / 0.9439 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.155, allocations: 0 / 0.9439 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002695/0.1553, allocations: 221.3 kB / 0.9441 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1553, allocations: 7.984 kB / 0.9441 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1553, allocations: 4 kB / 0.9441 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1553, allocations: 0 / 0.9441 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.1555, allocations: 67.91 kB / 0.9442 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1555, allocations: 8.016 kB / 0.9442 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.1557, allocations: 15.89 kB / 0.9442 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.1557, allocations: 12 kB / 0.9442 GB, free: 10.82 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.0001126/0.1558, allocations: 176.5 kB / 0.9444 GB, free: 10.63 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.1559, allocations: 43.81 kB / 0.9444 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.486e-05/0.1559, allocations: 47.03 kB / 0.9445 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1559, allocations: 4 kB / 0.9445 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1559, allocations: 0 / 0.9445 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002463/0.1562, allocations: 280.4 kB / 0.9447 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.1574, allocations: 0.8453 MB / 0.9456 GB, free: 9.289 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.1574, allocations: 4 kB / 0.9456 GB, free: 9.285 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.1576, allocations: 88.36 kB / 0.9456 GB, free: 9.199 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1576, allocations: 4 kB / 0.9456 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.1576, allocations: 16 kB / 0.9457 GB, free: 9.18 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.1576, allocations: 7.938 kB / 0.9457 GB, free: 9.172 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1576, allocations: 4 kB / 0.9457 GB, free: 9.168 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.158, allocations: 0.5537 MB / 0.9462 GB, free: 8.531 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.064e-05/0.1581, allocations: 55.78 kB / 0.9463 GB, free: 8.477 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.1582, allocations: 12 kB / 0.9463 GB, free: 8.465 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.1583, allocations: 20.02 kB / 0.9463 GB, free: 8.445 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/0.1584, allocations: 35.83 kB / 0.9463 GB, free: 8.41 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.1584, allocations: 19.94 kB / 0.9463 GB, free: 8.391 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001136/0.1585, allocations: 211 kB / 0.9465 GB, free: 8.184 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.1585, allocations: 0 / 0.9465 GB, free: 8.184 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003188/0.1588, allocations: 115.9 kB / 0.9467 GB, free: 8.07 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.0002416/0.1591, allocations: 147 kB / 0.9468 GB, free: 7.914 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002822/0.1594, allocations: 179.3 kB / 0.947 GB, free: 7.734 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1594, allocations: 0 / 0.947 GB, free: 7.734 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.1595, allocations: 110.6 kB / 0.9471 GB, free: 7.625 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000594/0.1601, allocations: 194.3 kB / 0.9473 GB, free: 7.445 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.1614, allocations: 0.865 MB / 0.9481 GB, free: 6.484 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.27e-05/0.1615, allocations: 121.8 kB / 0.9482 GB, free: 6.344 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001866/0.1617, allocations: 78.89 kB / 0.9483 GB, free: 6.27 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/0.1618, allocations: 32.5 kB / 0.9483 GB, free: 6.238 MB / 0.9011 GB Notification: Performance of SimCode: time 8.12e-07/0.1618, allocations: 4 kB / 0.9483 GB, free: 6.234 MB / 0.9011 GB Notification: Performance of Templates: time 0.009477/0.1713, allocations: 6.634 MB / 0.9548 GB, free: 15.79 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.644359020050615]