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.001047/0.001047, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.0009889/0.0009889, allocations: 185 kB / 24.09 MB, free: 424 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.9293/0.9293, 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 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.753/1.753, allocations: 359 MB / 0.6055 GB, free: 10.85 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.523e-06/1.523e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093e-05/1.245e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1182/0.1183, allocations: 144 MB / 0.9282 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003576/0.1218, allocations: 3.822 MB / 0.9319 GB, free: 7.879 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.1221, allocations: 19.81 kB / 0.9319 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.1225, allocations: 127.1 kB / 0.932 GB, free: 7.734 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0009512/0.1234, allocations: 0.6099 MB / 0.9326 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.124, allocations: 458.9 kB / 0.9331 GB, free: 6.672 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0008251/0.1248, allocations: 1.032 MB / 0.9341 GB, free: 5.641 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.1251, allocations: 249.2 kB / 0.9343 GB, free: 5.395 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008953/0.126, allocations: 0.5785 MB / 0.9349 GB, free: 4.836 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.1263, allocations: 295.1 kB / 0.9352 GB, free: 4.547 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.1263, allocations: 32 kB / 0.9352 GB, free: 4.516 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/0.1267, allocations: 319.1 kB / 0.9355 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.1268, allocations: 175.5 kB / 0.9357 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.127, allocations: 151.6 kB / 0.9358 GB, free: 3.883 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005488/0.1275, allocations: 0.5217 MB / 0.9363 GB, free: 3.359 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.1275, allocations: 0 / 0.9363 GB, free: 3.359 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1275, allocations: 0 / 0.9363 GB, free: 3.359 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.1275, allocations: 4 kB / 0.9363 GB, free: 3.355 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.0007035/0.1282, allocations: 0.7525 MB / 0.9371 GB, free: 2.566 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1283, allocations: 12.03 kB / 0.9371 GB, free: 2.555 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005396/0.1288, allocations: 176.3 kB / 0.9372 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.1291, allocations: 326.3 kB / 0.9375 GB, free: 2.039 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1291, allocations: 20.66 kB / 0.9376 GB, free: 2.02 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.1292, allocations: 47.97 kB / 0.9376 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.1294, allocations: 293.6 kB / 0.9379 GB, free: 1.648 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1294, allocations: 0 / 0.9379 GB, free: 1.648 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.1295, allocations: 12 kB / 0.9379 GB, free: 1.637 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.1295, allocations: 8 kB / 0.9379 GB, free: 1.629 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.1296, allocations: 107 kB / 0.938 GB, free: 1.523 MB / 0.8855 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.0007829/0.1304, allocations: 0.7302 MB / 0.9387 GB, free: 0.7617 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.1306, allocations: 156.5 kB / 0.9389 GB, free: 0.5977 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.355e-05/0.1306, allocations: 85.67 kB / 0.939 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.054e-05/0.1307, allocations: 16.28 kB / 0.939 GB, free: 0.4961 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.1307, allocations: 45.67 kB / 0.939 GB, free: 452 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.1307, allocations: 0 / 0.939 GB, free: 452 kB / 0.8855 GB Notification: Performance of matching and sorting (n=35): time 0.0007804/0.1315, allocations: 0.5583 MB / 0.9396 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.1315, allocations: 55.41 kB / 0.9396 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.1317, allocations: 298.2 kB / 0.9399 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1317, allocations: 33.7 kB / 0.9399 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/0.1318, allocations: 231.4 kB / 0.9401 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.1319, allocations: 130.9 kB / 0.9403 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/0.1319, allocations: 75.33 kB / 0.9403 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1321, allocations: 0.5156 MB / 0.9408 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.627e-05/0.1321, allocations: 31.97 kB / 0.9409 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.549e-05/0.1322, allocations: 157.7 kB / 0.941 GB, free: 14.25 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.000275/0.1325, allocations: 233.4 kB / 0.9413 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1325, allocations: 0 / 0.9413 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001984/0.1327, allocations: 193.4 kB / 0.9414 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.1327, allocations: 11.97 kB / 0.9414 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1327, allocations: 7.984 kB / 0.9415 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.395e-06/0.1327, allocations: 4 kB / 0.9415 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.1328, allocations: 63.91 kB / 0.9415 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.1329, allocations: 0 / 0.9415 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.133, allocations: 19.94 kB / 0.9415 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.133, allocations: 8 kB / 0.9415 GB, free: 13.71 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 9.937e-05/0.1331, allocations: 180.4 kB / 0.9417 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.1331, allocations: 43.81 kB / 0.9418 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.06e-05/0.1332, allocations: 51.03 kB / 0.9418 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.1332, allocations: 4 kB / 0.9418 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1332, allocations: 0 / 0.9418 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001927/0.1334, allocations: 256.5 kB / 0.9421 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006949/0.1341, allocations: 0.7778 MB / 0.9428 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1341, allocations: 0 / 0.9428 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.1343, allocations: 83.84 kB / 0.9429 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1343, allocations: 4 kB / 0.9429 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.1343, allocations: 15.98 kB / 0.9429 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1343, allocations: 4 kB / 0.9429 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1343, allocations: 7.938 kB / 0.9429 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.1361, allocations: 0.5329 MB / 0.9434 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.1363, allocations: 51.78 kB / 0.9435 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.466e-05/0.1363, allocations: 15.98 kB / 0.9435 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.1367, allocations: 16 kB / 0.9435 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/0.1368, allocations: 35.83 kB / 0.9436 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.1368, allocations: 12 kB / 0.9436 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001639/0.137, allocations: 206.9 kB / 0.9438 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1e-07/0.137, allocations: 0 / 0.9438 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005614/0.1375, allocations: 108 kB / 0.9439 GB, free: 11.11 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.0002925/0.1378, allocations: 147.1 kB / 0.944 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003626/0.1382, allocations: 155.2 kB / 0.9442 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.1382, allocations: 4 kB / 0.9442 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.1383, allocations: 101.1 kB / 0.9443 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000918/0.1392, allocations: 177.6 kB / 0.9444 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.1412, allocations: 0.8766 MB / 0.9453 GB, free: 9.551 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.1413, allocations: 121.8 kB / 0.9454 GB, free: 9.41 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002613/0.1416, allocations: 54.94 kB / 0.9455 GB, free: 9.359 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/0.142, allocations: 206.1 kB / 0.9457 GB, free: 9.156 MB / 0.9011 GB Notification: Performance of SimCode: time 1.433e-06/0.142, allocations: 0 / 0.9457 GB, free: 9.156 MB / 0.9011 GB Notification: Performance of Templates: time 0.01345/0.1555, allocations: 7.265 MB / 0.9527 GB, free: 2.09 MB / 0.9011 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.144527370110154]