Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.000926/0.000926, allocations: 83.59 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.00142/0.00142, allocations: 169 kB / 23.82 MB, free: 0.7422 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.8916/0.8916, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.694/1.694, allocations: 359 MB / 0.6052 GB, free: 10.98 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.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.758e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1498/0.1498, allocations: 146.1 MB / 0.9297 GB, free: 9.945 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1514, allocations: 0.9582 MB / 0.9307 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.1516, allocations: 11.88 kB / 0.9307 GB, free: 8.973 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003208/0.1519, allocations: 115.2 kB / 0.9308 GB, free: 8.859 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0006556/0.1526, allocations: 397.9 kB / 0.9312 GB, free: 8.469 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.153, allocations: 247.4 kB / 0.9314 GB, free: 8.227 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.1534, allocations: 0.5109 MB / 0.9319 GB, free: 7.715 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.1536, allocations: 136.4 kB / 0.932 GB, free: 7.578 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003174/0.1539, allocations: 283.2 kB / 0.9323 GB, free: 7.301 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.1541, allocations: 143.6 kB / 0.9324 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.1541, allocations: 20 kB / 0.9325 GB, free: 7.141 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003054/0.1544, allocations: 251.2 kB / 0.9327 GB, free: 6.895 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 7.231e-05/0.1545, allocations: 91.72 kB / 0.9328 GB, free: 6.805 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 6.437e-05/0.1545, allocations: 71.84 kB / 0.9329 GB, free: 6.734 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.1549, allocations: 354.8 kB / 0.9332 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1549, allocations: 0 / 0.9332 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1549, allocations: 0 / 0.9332 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1549, allocations: 0 / 0.9332 GB, free: 6.387 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007324/0.1556, allocations: 0.5933 MB / 0.9338 GB, free: 5.758 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.538e-05/0.1556, allocations: 8.031 kB / 0.9338 GB, free: 5.75 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.1558, allocations: 76.59 kB / 0.9339 GB, free: 5.676 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.156, allocations: 228.2 kB / 0.9341 GB, free: 5.426 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.156, allocations: 8.703 kB / 0.9341 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.1561, allocations: 24.3 kB / 0.9341 GB, free: 5.395 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.1563, allocations: 175.5 kB / 0.9343 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1563, allocations: 4 kB / 0.9343 GB, free: 5.211 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1563, allocations: 8 kB / 0.9343 GB, free: 5.203 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.1563, allocations: 15.77 kB / 0.9343 GB, free: 5.188 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.1565, allocations: 95.94 kB / 0.9344 GB, free: 5.094 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.000627/0.1571, allocations: 0.6308 MB / 0.935 GB, free: 4.418 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.1572, allocations: 75.05 kB / 0.9351 GB, free: 4.332 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.293e-05/0.1573, allocations: 51.64 kB / 0.9351 GB, free: 4.277 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.789e-05/0.1574, allocations: 23.98 kB / 0.9351 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.1574, allocations: 33.39 kB / 0.9352 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.1574, allocations: 0 / 0.9352 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.0002803/0.1577, allocations: 155.9 kB / 0.9353 GB, free: 4.055 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/0.1577, allocations: 51.41 kB / 0.9354 GB, free: 3.992 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.1578, allocations: 239.4 kB / 0.9356 GB, free: 3.742 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1578, allocations: 25.7 kB / 0.9356 GB, free: 3.711 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.1579, allocations: 195 kB / 0.9358 GB, free: 3.516 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.1579, allocations: 55.53 kB / 0.9359 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.158, allocations: 39.36 kB / 0.9359 GB, free: 3.414 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1581, allocations: 0.5 MB / 0.9364 GB, free: 2.902 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.937e-05/0.1581, allocations: 27.92 kB / 0.9364 GB, free: 2.875 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.46e-05/0.1582, allocations: 135.1 kB / 0.9365 GB, free: 2.715 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.602e-05/0.1583, allocations: 79.05 kB / 0.9366 GB, free: 2.625 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1583, allocations: 0 / 0.9366 GB, free: 2.625 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001461/0.1584, allocations: 118.9 kB / 0.9367 GB, free: 2.504 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.395e-06/0.1584, allocations: 7.938 kB / 0.9367 GB, free: 2.496 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.1585, allocations: 4.062 kB / 0.9368 GB, free: 2.492 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/0.1585, allocations: 4 kB / 0.9368 GB, free: 2.488 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.79e-05/0.1585, allocations: 23.98 kB / 0.9368 GB, free: 2.465 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1585, allocations: 7.938 kB / 0.9368 GB, free: 2.457 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.872e-05/0.1586, allocations: 11.94 kB / 0.9368 GB, free: 2.445 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.1586, allocations: 11.94 kB / 0.9368 GB, free: 2.434 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0002453/0.1589, allocations: 168.5 kB / 0.937 GB, free: 2.258 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.1589, allocations: 19.91 kB / 0.937 GB, free: 2.238 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.1589, allocations: 29.45 kB / 0.937 GB, free: 2.215 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1589, allocations: 4 kB / 0.937 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1589, allocations: 0 / 0.937 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1589, allocations: 0 / 0.937 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004498/0.1594, allocations: 0.5379 MB / 0.9375 GB, free: 1.602 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1594, allocations: 4 kB / 0.9375 GB, free: 1.598 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.974e-05/0.1595, allocations: 28.14 kB / 0.9376 GB, free: 1.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1595, allocations: 11.94 kB / 0.9376 GB, free: 1.559 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1595, allocations: 0 / 0.9376 GB, free: 1.559 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1595, allocations: 4 kB / 0.9376 GB, free: 1.555 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1595, allocations: 4 kB / 0.9376 GB, free: 1.551 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.1597, allocations: 325.6 kB / 0.9379 GB, free: 1.184 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.1597, allocations: 35.83 kB / 0.9379 GB, free: 1.148 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1597, allocations: 11.94 kB / 0.9379 GB, free: 1.137 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.418e-05/0.1598, allocations: 4 kB / 0.938 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.1598, allocations: 15.97 kB / 0.938 GB, free: 1.117 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.1598, allocations: 12 kB / 0.938 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.722e-05/0.1599, allocations: 176.1 kB / 0.9381 GB, free: 0.9336 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1599, allocations: 0 / 0.9381 GB, free: 0.9336 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002151/0.1601, allocations: 63.89 kB / 0.9382 GB, free: 0.8711 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (14): * Single equations (assignments): 14 * 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.0001458/0.1603, allocations: 131.1 kB / 0.9383 GB, free: 0.7305 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.1604, allocations: 82.72 kB / 0.9384 GB, free: 0.6484 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.1604, allocations: 0 / 0.9384 GB, free: 0.6484 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.858e-05/0.1605, allocations: 47.59 kB / 0.9385 GB, free: 0.5977 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1608, allocations: 92.38 kB / 0.9385 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.1614, allocations: 448.3 kB / 0.939 GB, free: 16 kB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.811e-05/0.1614, allocations: 83.97 kB / 0.9391 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.1615, allocations: 53.42 kB / 0.9391 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.1616, allocations: 20.5 kB / 0.9391 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of SimCode: time 5.41e-07/0.1616, allocations: 0 / 0.9391 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of Templates: time 0.005051/0.1666, allocations: 3.713 MB / 0.9428 GB, free: 12.23 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.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: 4.95528187090531]