Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001403/0.001403, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001153/0.001153, allocations: 169 kB / 24.28 MB, free: 272 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.932/0.932, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.853/1.853, allocations: 377.8 MB / 0.6239 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.8115 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.958e-05/3.225e-05, allocations: 3.156 kB / 0.8115 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1452/0.1453, allocations: 169.9 MB / 0.9774 GB, free: 6.496 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002355/0.1476, allocations: 1.882 MB / 0.9793 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002754/0.1479, allocations: 19.81 kB / 0.9793 GB, free: 4.594 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005814/0.1485, allocations: 222.4 kB / 0.9795 GB, free: 4.375 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.1497, allocations: 0.7811 MB / 0.9802 GB, free: 3.59 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.1511, allocations: 0.9068 MB / 0.9811 GB, free: 2.68 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0009382/0.1521, allocations: 0.8415 MB / 0.982 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.1524, allocations: 243.5 kB / 0.9822 GB, free: 1.594 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008752/0.1533, allocations: 0.7009 MB / 0.9829 GB, free: 0.8906 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.1535, allocations: 239.3 kB / 0.9831 GB, free: 0.6562 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.1535, allocations: 24 kB / 0.9831 GB, free: 0.6328 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.1546, allocations: 0.9034 MB / 0.984 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.1547, allocations: 143.5 kB / 0.9841 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.1548, allocations: 135.7 kB / 0.9843 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0009053/0.1557, allocations: 0.8139 MB / 0.9851 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1557, allocations: 4 kB / 0.9851 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1557, allocations: 4 kB / 0.9851 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.1557, allocations: 0 / 0.9851 GB, free: 14.63 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001096/0.1568, allocations: 0.783 MB / 0.9858 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1569, allocations: 8.031 kB / 0.9858 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006905/0.1576, allocations: 227.1 kB / 0.9861 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.1579, allocations: 319.2 kB / 0.9864 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.158, allocations: 20.66 kB / 0.9864 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.158, allocations: 36 kB / 0.9864 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.1584, allocations: 289.7 kB / 0.9867 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1584, allocations: 0 / 0.9867 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.1584, allocations: 12 kB / 0.9867 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/0.1584, allocations: 12.66 kB / 0.9867 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.1587, allocations: 159.8 kB / 0.9869 GB, free: 12.69 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.001137/0.1598, allocations: 1.385 MB / 0.9882 GB, free: 11.24 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.16, allocations: 107.2 kB / 0.9883 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.416e-05/0.1601, allocations: 63.72 kB / 0.9884 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/0.1603, allocations: 67.88 kB / 0.9885 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.1603, allocations: 41.33 kB / 0.9885 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.1603, allocations: 0 / 0.9885 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20): time 0.0004023/0.1607, allocations: 199.6 kB / 0.9887 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001798/0.1609, allocations: 55.41 kB / 0.9887 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.1611, allocations: 310.3 kB / 0.989 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.1611, allocations: 25.7 kB / 0.9891 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.1612, allocations: 259.2 kB / 0.9893 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.1613, allocations: 79.33 kB / 0.9894 GB, free: 9.984 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.1614, allocations: 47.36 kB / 0.9894 GB, free: 9.93 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1615, allocations: 0.5118 MB / 0.9899 GB, free: 9.406 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.183e-05/0.1615, allocations: 35.91 kB / 0.99 GB, free: 9.371 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1617, allocations: 186 kB / 0.9901 GB, free: 9.145 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.1618, allocations: 145.7 kB / 0.9903 GB, free: 8.973 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1618, allocations: 4 kB / 0.9903 GB, free: 8.969 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002497/0.1621, allocations: 187.8 kB / 0.9905 GB, free: 8.781 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1621, allocations: 8 kB / 0.9905 GB, free: 8.773 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1621, allocations: 0 / 0.9905 GB, free: 8.773 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1621, allocations: 4.188 kB / 0.9905 GB, free: 8.77 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.1623, allocations: 55.91 kB / 0.9905 GB, free: 8.715 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1623, allocations: 0 / 0.9905 GB, free: 8.715 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.367e-05/0.1624, allocations: 15.89 kB / 0.9905 GB, free: 8.699 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.1624, allocations: 15.98 kB / 0.9906 GB, free: 8.684 MB / 0.9011 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 0.0001049/0.1625, allocations: 168.5 kB / 0.9907 GB, free: 8.508 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.1625, allocations: 43.69 kB / 0.9908 GB, free: 8.465 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.1628, allocations: 171.8 kB / 0.9909 GB, free: 8.289 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1628, allocations: 4 kB / 0.9909 GB, free: 8.285 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1628, allocations: 4 kB / 0.9909 GB, free: 8.281 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1628, allocations: 0 / 0.9909 GB, free: 8.281 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006836/0.1635, allocations: 0.6847 MB / 0.9916 GB, free: 7.508 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1635, allocations: 4.344 kB / 0.9916 GB, free: 7.504 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.625e-05/0.1636, allocations: 43.91 kB / 0.9916 GB, free: 7.461 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.1636, allocations: 4 kB / 0.9916 GB, free: 7.457 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.1636, allocations: 8 kB / 0.9917 GB, free: 7.449 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.1636, allocations: 4 kB / 0.9917 GB, free: 7.445 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.1636, allocations: 7.938 kB / 0.9917 GB, free: 7.438 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.1639, allocations: 398.5 kB / 0.992 GB, free: 6.984 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.164, allocations: 51.72 kB / 0.9921 GB, free: 6.934 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.164, allocations: 8 kB / 0.9921 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.616e-05/0.1641, allocations: 15.98 kB / 0.9921 GB, free: 6.91 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.1641, allocations: 19.86 kB / 0.9921 GB, free: 6.891 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.1642, allocations: 16.03 kB / 0.9922 GB, free: 6.875 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001261/0.1643, allocations: 211 kB / 0.9924 GB, free: 6.672 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1643, allocations: 0 / 0.9924 GB, free: 6.672 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00031/0.1646, allocations: 107.8 kB / 0.9925 GB, free: 6.566 MB / 0.9011 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.0002666/0.1649, allocations: 167 kB / 0.9926 GB, free: 6.395 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.1651, allocations: 115.5 kB / 0.9927 GB, free: 6.277 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1651, allocations: 4 kB / 0.9927 GB, free: 6.273 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 8.947e-05/0.1652, allocations: 64.41 kB / 0.9928 GB, free: 6.207 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005408/0.1657, allocations: 156.8 kB / 0.9929 GB, free: 6.055 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009987/0.1667, allocations: 0.6264 MB / 0.9936 GB, free: 5.352 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.323e-05/0.1668, allocations: 116.4 kB / 0.9937 GB, free: 5.219 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001668/0.167, allocations: 74.84 kB / 0.9937 GB, free: 5.145 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.66e-05/0.1671, allocations: 24.5 kB / 0.9938 GB, free: 5.121 MB / 0.9011 GB Notification: Performance of SimCode: time 9.42e-07/0.1671, allocations: 0 / 0.9938 GB, free: 5.121 MB / 0.9011 GB Notification: Performance of Templates: time 0.007793/0.1749, allocations: 5.815 MB / 0.9994 GB, free: 15.49 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.179895530920476]