Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001291/0.001291, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001758/0.001758, allocations: 173 kB / 23.49 MB, free: 1.059 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.145/1.145, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.984/1.984, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.222e-05, allocations: 3.906 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1524/0.1524, allocations: 169.9 MB / 1.044 GB, free: 12.18 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.1545, allocations: 1.861 MB / 1.046 GB, free: 10.32 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.1547, allocations: 15.88 kB / 1.046 GB, free: 10.3 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.1552, allocations: 222.4 kB / 1.046 GB, free: 10.09 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.1563, allocations: 0.7927 MB / 1.047 GB, free: 9.289 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.1573, allocations: 0.8874 MB / 1.048 GB, free: 8.398 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0005753/0.1579, allocations: 0.8297 MB / 1.049 GB, free: 7.562 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.1583, allocations: 227.6 kB / 1.049 GB, free: 7.336 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000731/0.159, allocations: 0.6932 MB / 1.049 GB, free: 6.641 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.1592, allocations: 231.3 kB / 1.05 GB, free: 6.414 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.1592, allocations: 27.94 kB / 1.05 GB, free: 6.387 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007934/0.16, allocations: 0.9035 MB / 1.051 GB, free: 5.48 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.1601, allocations: 135.5 kB / 1.051 GB, free: 5.348 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.1603, allocations: 135.7 kB / 1.051 GB, free: 5.215 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0007724/0.161, allocations: 0.8178 MB / 1.052 GB, free: 4.395 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.161, allocations: 0 / 1.052 GB, free: 4.395 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.773e-06/0.161, allocations: 0 / 1.052 GB, free: 4.395 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.161, allocations: 0 / 1.052 GB, free: 4.395 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001012/0.162, allocations: 0.7714 MB / 1.052 GB, free: 3.582 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1621, allocations: 16.02 kB / 1.052 GB, free: 3.566 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006119/0.1627, allocations: 223.1 kB / 1.053 GB, free: 3.348 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.1631, allocations: 319.5 kB / 1.053 GB, free: 3.008 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1631, allocations: 20.66 kB / 1.053 GB, free: 2.988 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.1631, allocations: 24 kB / 1.053 GB, free: 2.965 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.1635, allocations: 297.7 kB / 1.053 GB, free: 2.648 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1635, allocations: 0 / 1.053 GB, free: 2.648 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.1635, allocations: 11.98 kB / 1.053 GB, free: 2.637 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.1635, allocations: 16.66 kB / 1.053 GB, free: 2.621 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002593/0.1638, allocations: 155.8 kB / 1.053 GB, free: 2.469 MB / 1.01 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.001106/0.1649, allocations: 1.377 MB / 1.055 GB, free: 1.027 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.1651, allocations: 108.2 kB / 1.055 GB, free: 0.9102 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.303e-05/0.1652, allocations: 63.7 kB / 1.055 GB, free: 0.8438 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002497/0.1655, allocations: 71.88 kB / 1.055 GB, free: 0.7734 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.1655, allocations: 37.33 kB / 1.055 GB, free: 0.7266 MB / 1.01 GB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/0.1655, allocations: 0 / 1.055 GB, free: 0.7266 MB / 1.01 GB Notification: Performance of matching and sorting (n=20): time 0.000407/0.1659, allocations: 202.7 kB / 1.055 GB, free: 0.5234 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.1659, allocations: 59.41 kB / 1.055 GB, free: 464 kB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.1661, allocations: 302.3 kB / 1.056 GB, free: 144 kB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1661, allocations: 29.7 kB / 1.056 GB, free: 108 kB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.3981/0.5643, allocations: 247.2 kB / 1.056 GB, free: 223.4 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.705e-05/0.5644, allocations: 79.47 kB / 1.056 GB, free: 223.3 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/0.5644, allocations: 53.47 kB / 1.056 GB, free: 223.3 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.091e-05/0.5645, allocations: 0.5047 MB / 1.056 GB, free: 222.8 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.265e-05/0.5646, allocations: 31.72 kB / 1.056 GB, free: 222.8 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.5647, allocations: 185.8 kB / 1.057 GB, free: 222.7 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.5648, allocations: 152.1 kB / 1.057 GB, free: 222.6 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.5648, allocations: 2.312 kB / 1.057 GB, free: 222.6 MB / 1.01 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002598/0.5651, allocations: 189.9 kB / 1.057 GB, free: 222.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.5651, allocations: 6 kB / 1.057 GB, free: 222.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5651, allocations: 0.5938 kB / 1.057 GB, free: 222.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.5651, allocations: 3.5 kB / 1.057 GB, free: 222.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.5653, allocations: 46.23 kB / 1.057 GB, free: 222.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.5653, allocations: 8.422 kB / 1.057 GB, free: 222.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.5654, allocations: 19.81 kB / 1.057 GB, free: 222.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.5655, allocations: 11.8 kB / 1.057 GB, free: 222.5 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * 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 8.435e-05/0.5655, allocations: 169.7 kB / 1.057 GB, free: 222.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.5656, allocations: 37.91 kB / 1.057 GB, free: 222.3 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.5658, allocations: 174.8 kB / 1.057 GB, free: 222.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.5658, allocations: 6.844 kB / 1.057 GB, free: 222.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5658, allocations: 4.5 kB / 1.057 GB, free: 222.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5658, allocations: 4.734 kB / 1.057 GB, free: 222.3 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006094/0.5665, allocations: 0.6746 MB / 1.058 GB, free: 221.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5665, allocations: 3 kB / 1.058 GB, free: 221.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.951e-05/0.5666, allocations: 40.45 kB / 1.058 GB, free: 221.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.5666, allocations: 2.5 kB / 1.058 GB, free: 221.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.5666, allocations: 7.281 kB / 1.058 GB, free: 221.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.5666, allocations: 6.047 kB / 1.058 GB, free: 221.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5666, allocations: 6.75 kB / 1.058 GB, free: 221.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.5668, allocations: 411.5 kB / 1.059 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.141e-05/0.5669, allocations: 49.3 kB / 1.059 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.5669, allocations: 10.22 kB / 1.059 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-05/0.567, allocations: 10.19 kB / 1.059 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.567, allocations: 20.22 kB / 1.059 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.567, allocations: 15.89 kB / 1.059 GB, free: 221.4 MB / 1.01 GB Notification: Performance of sorting global known variables: time 9.591e-05/0.5671, allocations: 210.4 kB / 1.059 GB, free: 221.3 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.5671, allocations: 0 / 1.059 GB, free: 221.3 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003223/0.5675, allocations: 109.2 kB / 1.059 GB, free: 221.2 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * 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.0002121/0.5677, allocations: 159.2 kB / 1.059 GB, free: 221.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.5679, allocations: 123.5 kB / 1.059 GB, free: 221.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5679, allocations: 0 / 1.059 GB, free: 221.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 7.991e-05/0.568, allocations: 74.61 kB / 1.059 GB, free: 221.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.5685, allocations: 138.5 kB / 1.059 GB, free: 221.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008765/0.5694, allocations: 0.6215 MB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.35e-05/0.5694, allocations: 105 kB / 1.06 GB, free: 220.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.5696, allocations: 71.84 kB / 1.06 GB, free: 220.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.5696, allocations: 29.33 kB / 1.06 GB, free: 220.5 MB / 1.01 GB Notification: Performance of SimCode: time 1.002e-06/0.5696, allocations: 0 / 1.06 GB, free: 220.5 MB / 1.01 GB Notification: Performance of Templates: time 0.007203/0.5768, allocations: 5.644 MB / 1.066 GB, free: 220 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.95349414809607]