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.0008925/0.0008925, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009627/0.0009627, allocations: 173 kB / 23.03 MB, free: 1.543 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.9401/0.9401, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.963/1.963, allocations: 429.5 MB / 0.6733 GB, free: 4.023 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 1.563e-06/1.563e-06, allocations: 0 / 0.8782 GB, free: 6.176 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.131e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.172 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1537/0.1538, allocations: 147 MB / 1.022 GB, free: 2.684 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1557, allocations: 1.375 MB / 1.023 GB, free: 1.309 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.1559, allocations: 15.88 kB / 1.023 GB, free: 1.293 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0006043/0.1565, allocations: 138.9 kB / 1.023 GB, free: 1.156 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0009612/0.1575, allocations: 0.509 MB / 1.024 GB, free: 0.6445 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006371/0.1581, allocations: 395 kB / 1.024 GB, free: 264 kB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0007379/0.1589, allocations: 0.8181 MB / 1.025 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003675/0.1593, allocations: 228.3 kB / 1.025 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005312/0.1598, allocations: 430.8 kB / 1.025 GB, free: 14.79 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.16, allocations: 235.3 kB / 1.026 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.16, allocations: 28 kB / 1.026 GB, free: 14.53 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004/0.1604, allocations: 303.2 kB / 1.026 GB, free: 14.23 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1605, allocations: 131.6 kB / 1.026 GB, free: 14.1 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.1607, allocations: 143.7 kB / 1.026 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005117/0.1612, allocations: 478.4 kB / 1.027 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1612, allocations: 0 / 1.027 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1612, allocations: 0 / 1.027 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.1612, allocations: 4 kB / 1.027 GB, free: 13.49 MB / 0.9948 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.0009662/0.1621, allocations: 0.7406 MB / 1.027 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1622, allocations: 8.031 kB / 1.027 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005709/0.1628, allocations: 220.1 kB / 1.028 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.1631, allocations: 320 kB / 1.028 GB, free: 12.14 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.1631, allocations: 24.59 kB / 1.028 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.1632, allocations: 24 kB / 1.028 GB, free: 12.1 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.1635, allocations: 301.8 kB / 1.028 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1635, allocations: 0 / 1.028 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.1635, allocations: 12 kB / 1.028 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.1636, allocations: 20.58 kB / 1.028 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.1638, allocations: 147.8 kB / 1.029 GB, free: 11.6 MB / 0.9948 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.001151/0.165, allocations: 1.373 MB / 1.03 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.1652, allocations: 111.2 kB / 1.03 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/0.1652, allocations: 61.91 kB / 1.03 GB, free: 9.98 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003144/0.1655, allocations: 43.95 kB / 1.03 GB, free: 9.938 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1656, allocations: 45.39 kB / 1.03 GB, free: 9.883 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=20): time 1.213e-06/0.1656, allocations: 0 / 1.03 GB, free: 9.883 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20): time 0.0003849/0.166, allocations: 207.6 kB / 1.03 GB, free: 9.676 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.166, allocations: 59.28 kB / 1.03 GB, free: 9.605 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1661, allocations: 302.3 kB / 1.031 GB, free: 9.293 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1662, allocations: 29.7 kB / 1.031 GB, free: 9.258 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/0.1663, allocations: 255.2 kB / 1.031 GB, free: 9.004 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.1663, allocations: 75.31 kB / 1.031 GB, free: 8.93 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.859e-05/0.1664, allocations: 55.36 kB / 1.031 GB, free: 8.867 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1665, allocations: 0.504 MB / 1.032 GB, free: 8.352 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.79e-05/0.1665, allocations: 43.91 kB / 1.032 GB, free: 8.309 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.1666, allocations: 180 kB / 1.032 GB, free: 8.086 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.1668, allocations: 147.2 kB / 1.032 GB, free: 7.914 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1668, allocations: 0 / 1.032 GB, free: 7.914 MB / 0.9948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002124/0.167, allocations: 185.3 kB / 1.032 GB, free: 7.727 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.167, allocations: 10.03 kB / 1.032 GB, free: 7.719 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.167, allocations: 0 / 1.032 GB, free: 7.719 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.167, allocations: 4 kB / 1.032 GB, free: 7.715 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.1672, allocations: 51.84 kB / 1.032 GB, free: 7.664 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1672, allocations: 0 / 1.032 GB, free: 7.664 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.575e-05/0.1673, allocations: 19.89 kB / 1.032 GB, free: 7.645 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.1673, allocations: 12.17 kB / 1.032 GB, free: 7.633 MB / 0.9948 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.489e-05/0.1674, allocations: 176.5 kB / 1.032 GB, free: 7.449 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.1674, allocations: 35.81 kB / 1.032 GB, free: 7.414 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.1676, allocations: 173.8 kB / 1.033 GB, free: 7.238 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1676, allocations: 7.938 kB / 1.033 GB, free: 7.23 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.1676, allocations: 0 / 1.033 GB, free: 7.23 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1676, allocations: 0 / 1.033 GB, free: 7.23 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005864/0.1682, allocations: 0.677 MB / 1.033 GB, free: 6.465 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.1682, allocations: 4 kB / 1.033 GB, free: 6.461 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.264e-05/0.1683, allocations: 39.91 kB / 1.033 GB, free: 6.422 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1683, allocations: 4 kB / 1.033 GB, free: 6.418 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1683, allocations: 8 kB / 1.033 GB, free: 6.41 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.1683, allocations: 4 kB / 1.033 GB, free: 6.406 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1683, allocations: 8.281 kB / 1.033 GB, free: 6.398 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.1686, allocations: 412 kB / 1.034 GB, free: 5.93 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.1686, allocations: 59.72 kB / 1.034 GB, free: 5.871 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.1687, allocations: 8 kB / 1.034 GB, free: 5.863 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.1688, allocations: 8 kB / 1.034 GB, free: 5.855 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.1688, allocations: 23.91 kB / 1.034 GB, free: 5.832 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.1688, allocations: 8 kB / 1.034 GB, free: 5.824 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001012/0.1689, allocations: 211 kB / 1.034 GB, free: 5.617 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1689, allocations: 4 kB / 1.034 GB, free: 5.613 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000259/0.1692, allocations: 111.8 kB / 1.034 GB, free: 5.504 MB / 0.9948 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.000174/0.1693, allocations: 139.1 kB / 1.034 GB, free: 5.355 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1696, allocations: 117.3 kB / 1.034 GB, free: 5.238 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1696, allocations: 384 / 1.034 GB, free: 5.238 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.128e-05/0.1696, allocations: 79.5 kB / 1.034 GB, free: 5.156 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.1701, allocations: 147.6 kB / 1.035 GB, free: 5.016 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000802/0.1709, allocations: 0.6202 MB / 1.035 GB, free: 4.32 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.022e-05/0.171, allocations: 104.6 kB / 1.035 GB, free: 4.199 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001311/0.1711, allocations: 62.94 kB / 1.035 GB, free: 4.137 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.1711, allocations: 28.48 kB / 1.035 GB, free: 4.109 MB / 0.9948 GB Notification: Performance of SimCode: time 6.82e-07/0.1711, allocations: 0 / 1.035 GB, free: 4.109 MB / 0.9948 GB Notification: Performance of Templates: time 0.00724/0.1784, allocations: 5.73 MB / 1.041 GB, free: 14.53 MB / 1.01 GB " [Timeout remaining time 300] 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.754503933247179]