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.0009364/0.0009364, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009654/0.0009654, allocations: 169 kB / 24.28 MB, free: 280 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.9334/0.9334, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.763/1.763, allocations: 359 MB / 0.6055 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.252e-06/1.252e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.659e-05, allocations: 3.219 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1397/0.1397, allocations: 157.4 MB / 0.9408 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.1414, allocations: 0.9664 MB / 0.9417 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.1416, allocations: 11.88 kB / 0.9417 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.1421, allocations: 162.8 kB / 0.9419 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.1433, allocations: 0.6609 MB / 0.9425 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.1438, allocations: 251.4 kB / 0.9428 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0005453/0.1443, allocations: 0.5186 MB / 0.9433 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002837/0.1446, allocations: 152.1 kB / 0.9434 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004266/0.1451, allocations: 295.2 kB / 0.9437 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.1452, allocations: 147.5 kB / 0.9438 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.1453, allocations: 16 kB / 0.9439 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006028/0.1459, allocations: 470.5 kB / 0.9443 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.579e-05/0.146, allocations: 87.73 kB / 0.9444 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 9.364e-05/0.1461, allocations: 75.83 kB / 0.9445 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0005891/0.1467, allocations: 442.6 kB / 0.9449 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1467, allocations: 4 kB / 0.9449 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1467, allocations: 4 kB / 0.9449 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1467, allocations: 0 / 0.9449 GB, free: 10.69 MB / 0.9011 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.001064/0.1477, allocations: 0.6004 MB / 0.9455 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1478, allocations: 8.031 kB / 0.9455 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002852/0.1481, allocations: 71.7 kB / 0.9456 GB, free: 9.977 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.1484, allocations: 231.6 kB / 0.9458 GB, free: 9.723 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.1484, allocations: 20.27 kB / 0.9458 GB, free: 9.703 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.1484, allocations: 19.98 kB / 0.9458 GB, free: 9.684 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.1487, allocations: 171.5 kB / 0.946 GB, free: 9.508 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1487, allocations: 0 / 0.946 GB, free: 9.508 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.1488, allocations: 8 kB / 0.946 GB, free: 9.5 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.1488, allocations: 15.78 kB / 0.946 GB, free: 9.484 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.149, allocations: 99.94 kB / 0.9461 GB, free: 9.387 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.0008647/0.1499, allocations: 0.623 MB / 0.9467 GB, free: 8.719 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.1501, allocations: 71.03 kB / 0.9468 GB, free: 8.637 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.819e-05/0.1501, allocations: 43.77 kB / 0.9468 GB, free: 8.59 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.1503, allocations: 43.91 kB / 0.9469 GB, free: 8.547 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1503, allocations: 41.33 kB / 0.9469 GB, free: 8.496 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.1503, allocations: 0 / 0.9469 GB, free: 8.496 MB / 0.9011 GB Notification: Performance of matching and sorting (n=14): time 0.0004168/0.1507, allocations: 147.6 kB / 0.947 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.1507, allocations: 55.41 kB / 0.9471 GB, free: 8.281 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1509, allocations: 243.7 kB / 0.9473 GB, free: 8.027 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1509, allocations: 29.7 kB / 0.9474 GB, free: 7.992 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 8.952e-05/0.151, allocations: 191 kB / 0.9475 GB, free: 7.801 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.1511, allocations: 51.56 kB / 0.9476 GB, free: 7.75 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.1511, allocations: 43.36 kB / 0.9476 GB, free: 7.699 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1512, allocations: 0.5001 MB / 0.9481 GB, free: 7.188 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-05/0.1513, allocations: 19.98 kB / 0.9481 GB, free: 7.168 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.1514, allocations: 144 kB / 0.9483 GB, free: 6.996 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.1515, allocations: 75.06 kB / 0.9483 GB, free: 6.91 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1515, allocations: 0 / 0.9483 GB, free: 6.91 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002097/0.1518, allocations: 123.3 kB / 0.9485 GB, free: 6.785 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1518, allocations: 8 kB / 0.9485 GB, free: 6.777 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1518, allocations: 0 / 0.9485 GB, free: 6.777 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1518, allocations: 3.938 kB / 0.9485 GB, free: 6.773 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1519, allocations: 31.97 kB / 0.9485 GB, free: 6.742 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1519, allocations: 3.938 kB / 0.9485 GB, free: 6.738 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.025e-05/0.152, allocations: 8.062 kB / 0.9485 GB, free: 6.73 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.152, allocations: 12 kB / 0.9485 GB, free: 6.719 MB / 0.9011 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.000226/0.1523, allocations: 164.5 kB / 0.9487 GB, free: 6.547 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.1523, allocations: 19.91 kB / 0.9487 GB, free: 6.527 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.1523, allocations: 25.47 kB / 0.9487 GB, free: 6.508 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1523, allocations: 4 kB / 0.9487 GB, free: 6.504 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.1524, allocations: 0 / 0.9487 GB, free: 6.504 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1524, allocations: 7.922 kB / 0.9487 GB, free: 6.496 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005986/0.153, allocations: 0.5379 MB / 0.9493 GB, free: 5.887 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.153, allocations: 7.938 kB / 0.9493 GB, free: 5.879 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.64e-05/0.1531, allocations: 27.92 kB / 0.9493 GB, free: 5.852 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1531, allocations: 7.984 kB / 0.9493 GB, free: 5.844 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1531, allocations: 4 kB / 0.9493 GB, free: 5.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1531, allocations: 4 kB / 0.9493 GB, free: 5.836 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1531, allocations: 3.938 kB / 0.9493 GB, free: 5.832 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.1533, allocations: 325.8 kB / 0.9496 GB, free: 5.465 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.1534, allocations: 35.81 kB / 0.9497 GB, free: 5.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.1534, allocations: 8 kB / 0.9497 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1535, allocations: 7.984 kB / 0.9497 GB, free: 5.414 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.1536, allocations: 15.98 kB / 0.9497 GB, free: 5.398 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.1536, allocations: 4 kB / 0.9497 GB, free: 5.395 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.449e-05/0.1537, allocations: 176.8 kB / 0.9499 GB, free: 5.223 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.1537, allocations: 3.938 kB / 0.9499 GB, free: 5.219 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003255/0.154, allocations: 67.83 kB / 0.9499 GB, free: 5.152 MB / 0.9011 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.0002094/0.1542, allocations: 143.1 kB / 0.9501 GB, free: 5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.1544, allocations: 83.53 kB / 0.9501 GB, free: 4.914 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1544, allocations: 0 / 0.9501 GB, free: 4.914 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 7.902e-05/0.1545, allocations: 51.61 kB / 0.9502 GB, free: 4.859 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.155, allocations: 87.58 kB / 0.9503 GB, free: 4.777 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008464/0.1558, allocations: 435.3 kB / 0.9507 GB, free: 4.297 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.434e-05/0.1559, allocations: 91.95 kB / 0.9508 GB, free: 4.188 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.156, allocations: 49.44 kB / 0.9508 GB, free: 4.137 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.1561, allocations: 20.48 kB / 0.9509 GB, free: 4.117 MB / 0.9011 GB Notification: Performance of SimCode: time 8.52e-07/0.1561, allocations: 0 / 0.9509 GB, free: 4.117 MB / 0.9011 GB Notification: Performance of Templates: time 0.00564/0.1617, allocations: 3.605 MB / 0.9544 GB, free: 0.6133 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: 5.002499258844182]