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.001391/0.001391, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001496/0.001496, allocations: 165 kB / 24.16 MB, free: 332 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.9432/0.9432, allocations: 177.2 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.814/1.814, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.583e-06/1.583e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.295e-05, allocations: 3.078 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1302/0.1302, allocations: 146.4 MB / 0.9029 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001971/0.1322, allocations: 1.419 MB / 0.9043 GB, free: 2.488 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.1324, allocations: 23.81 kB / 0.9043 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.1327, allocations: 135 kB / 0.9045 GB, free: 2.332 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000819/0.1336, allocations: 0.5128 MB / 0.905 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006056/0.1342, allocations: 399 kB / 0.9054 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007361/0.1349, allocations: 0.8454 MB / 0.9062 GB, free: 0.5781 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003346/0.1352, allocations: 232.5 kB / 0.9064 GB, free: 352 kB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005075/0.1357, allocations: 434.8 kB / 0.9068 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.1359, allocations: 219.3 kB / 0.907 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.136, allocations: 28 kB / 0.9071 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004173/0.1364, allocations: 311.1 kB / 0.9074 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.1365, allocations: 131.6 kB / 0.9075 GB, free: 15.24 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.1366, allocations: 143.7 kB / 0.9076 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.000492/0.1371, allocations: 482.5 kB / 0.9081 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1371, allocations: 0 / 0.9081 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.12e-07/0.1371, allocations: 3.938 kB / 0.9081 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1371, allocations: 0 / 0.9081 GB, free: 14.62 MB / 0.8698 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.0007613/0.1379, allocations: 0.6124 MB / 0.9087 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.1379, allocations: 8.031 kB / 0.9087 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00052/0.1384, allocations: 216.3 kB / 0.9089 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.139, allocations: 310.2 kB / 0.9092 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.139, allocations: 24.59 kB / 0.9092 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.139, allocations: 31.98 kB / 0.9092 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.1393, allocations: 266.3 kB / 0.9095 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1393, allocations: 0 / 0.9095 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.1393, allocations: 12 kB / 0.9095 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.1393, allocations: 8.656 kB / 0.9095 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.1395, allocations: 129.9 kB / 0.9096 GB, free: 12.95 MB / 0.8698 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.0009116/0.1404, allocations: 0.9707 MB / 0.9106 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.1406, allocations: 138.9 kB / 0.9107 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.897e-05/0.1406, allocations: 43.67 kB / 0.9108 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/0.1408, allocations: 47.95 kB / 0.9108 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.1408, allocations: 38.56 kB / 0.9108 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 1.012e-06/0.1408, allocations: 0 / 0.9108 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0002492/0.141, allocations: 153.9 kB / 0.911 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.1411, allocations: 55.41 kB / 0.911 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.1412, allocations: 251 kB / 0.9113 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1412, allocations: 29.7 kB / 0.9113 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.1413, allocations: 184.9 kB / 0.9115 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.1413, allocations: 71.36 kB / 0.9116 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.1414, allocations: 49.67 kB / 0.9116 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.1414, allocations: 338.8 kB / 0.9119 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.649e-05/0.1415, allocations: 18.83 kB / 0.9119 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.366e-05/0.1416, allocations: 159 kB / 0.9121 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1417, allocations: 129.7 kB / 0.9122 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1417, allocations: 0 / 0.9122 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001439/0.1418, allocations: 134.7 kB / 0.9123 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.1418, allocations: 8.172 kB / 0.9124 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1418, allocations: 8 kB / 0.9124 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.1418, allocations: 0 / 0.9124 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1419, allocations: 51.86 kB / 0.9124 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.1419, allocations: 4 kB / 0.9124 GB, free: 9.914 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.075e-05/0.142, allocations: 31.77 kB / 0.9124 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.142, allocations: 7.938 kB / 0.9125 GB, free: 9.875 MB / 0.8698 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 7.302e-05/0.1421, allocations: 120.7 kB / 0.9126 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.1421, allocations: 24.02 kB / 0.9126 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.1423, allocations: 151.8 kB / 0.9127 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1423, allocations: 4 kB / 0.9127 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.1423, allocations: 0 / 0.9127 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1423, allocations: 3.938 kB / 0.9127 GB, free: 9.559 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.1428, allocations: 0.5963 MB / 0.9133 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1428, allocations: 4 kB / 0.9133 GB, free: 8.887 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.19e-05/0.1429, allocations: 35.92 kB / 0.9134 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1429, allocations: 4 kB / 0.9134 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1429, allocations: 11.98 kB / 0.9134 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1429, allocations: 4 kB / 0.9134 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1429, allocations: 7.938 kB / 0.9134 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.1431, allocations: 354.6 kB / 0.9137 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.1431, allocations: 43.86 kB / 0.9138 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.1432, allocations: 12 kB / 0.9138 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.1433, allocations: 8 kB / 0.9138 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.1433, allocations: 19.91 kB / 0.9138 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.1433, allocations: 12 kB / 0.9138 GB, free: 8.32 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.547e-05/0.1434, allocations: 84.64 kB / 0.9139 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1434, allocations: 0 / 0.9139 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002297/0.1436, allocations: 111.7 kB / 0.914 GB, free: 8.129 MB / 0.8698 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.0001564/0.1437, allocations: 120.3 kB / 0.9141 GB, free: 8.004 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.1439, allocations: 106.5 kB / 0.9142 GB, free: 7.898 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1439, allocations: 4 kB / 0.9142 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.895e-05/0.1439, allocations: 57.7 kB / 0.9143 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.1443, allocations: 161.3 kB / 0.9144 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007281/0.1451, allocations: 0.6104 MB / 0.915 GB, free: 7.004 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.885e-05/0.1451, allocations: 104.6 kB / 0.9151 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.1452, allocations: 46.95 kB / 0.9152 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.1454, allocations: 149.2 kB / 0.9153 GB, free: 6.688 MB / 0.8698 GB Notification: Performance of SimCode: time 6.71e-07/0.1454, allocations: 0 / 0.9153 GB, free: 6.688 MB / 0.8698 GB Notification: Performance of Templates: time 0.007141/0.1526, allocations: 5.986 MB / 0.9212 GB, free: 0.8711 MB / 0.8698 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: 4.957223812118173]