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.001007/0.001007, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.000999/0.000999, allocations: 169.4 kB / 24.06 MB, free: 456 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.9055/0.9055, allocations: 177.1 MB / 204.5 MB, free: 5.523 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 2.069/2.069, allocations: 429.5 MB / 0.6743 GB, free: 3.934 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.635e-06/2.635e-06, allocations: 4 kB / 0.8794 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102e-05/1.366e-05, allocations: 5.125 kB / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1339/0.1339, allocations: 144.2 MB / 1.02 GB, free: 5.297 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.1358, allocations: 1.372 MB / 1.022 GB, free: 3.922 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.1361, allocations: 19.81 kB / 1.022 GB, free: 3.902 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.1365, allocations: 127 kB / 1.022 GB, free: 3.777 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0008793/0.1373, allocations: 0.5167 MB / 1.022 GB, free: 3.258 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006126/0.138, allocations: 391.1 kB / 1.023 GB, free: 2.875 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0006842/0.1386, allocations: 0.8257 MB / 1.023 GB, free: 2.043 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003115/0.139, allocations: 216.4 kB / 1.024 GB, free: 1.828 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004814/0.1394, allocations: 430.8 kB / 1.024 GB, free: 1.406 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.1397, allocations: 231.3 kB / 1.024 GB, free: 1.18 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.1397, allocations: 27.94 kB / 1.024 GB, free: 1.152 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004361/0.1401, allocations: 303.1 kB / 1.025 GB, free: 0.8555 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1402, allocations: 143.5 kB / 1.025 GB, free: 0.7148 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1404, allocations: 139.7 kB / 1.025 GB, free: 0.5781 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0005305/0.1409, allocations: 482.4 kB / 1.025 GB, free: 108 kB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1409, allocations: 0 / 1.025 GB, free: 108 kB / 0.9792 GB Notification: Performance of FrontEnd: time 8.92e-07/0.1409, allocations: 0 / 1.025 GB, free: 108 kB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.1409, allocations: 0 / 1.025 GB, free: 108 kB / 0.9792 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.0009201/0.1418, allocations: 0.7369 MB / 1.026 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.1418, allocations: 12.03 kB / 1.026 GB, free: 15.31 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000592/0.1424, allocations: 224 kB / 1.026 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.1428, allocations: 308 kB / 1.027 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.1428, allocations: 32.58 kB / 1.027 GB, free: 14.73 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.1428, allocations: 28 kB / 1.027 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.1431, allocations: 269.7 kB / 1.027 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1431, allocations: 4 kB / 1.027 GB, free: 14.41 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.1432, allocations: 8 kB / 1.027 GB, free: 14.41 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.1432, allocations: 16.66 kB / 1.027 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.1434, allocations: 127.1 kB / 1.027 GB, free: 14.27 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.00114/0.1445, allocations: 1.315 MB / 1.028 GB, free: 12.89 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.1447, allocations: 95.25 kB / 1.028 GB, free: 12.79 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.1448, allocations: 59.58 kB / 1.028 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/0.1449, allocations: 51.95 kB / 1.028 GB, free: 12.68 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.145, allocations: 33.39 kB / 1.029 GB, free: 12.63 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=20): time 2.134e-06/0.145, allocations: 0 / 1.029 GB, free: 12.63 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20): time 0.000332/0.1453, allocations: 182.8 kB / 1.029 GB, free: 12.45 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.1453, allocations: 55.41 kB / 1.029 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.1455, allocations: 298.2 kB / 1.029 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1455, allocations: 33.7 kB / 1.029 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.1456, allocations: 259.1 kB / 1.029 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.1457, allocations: 79.31 kB / 1.029 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.154e-05/0.1457, allocations: 51.34 kB / 1.029 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1458, allocations: 0.5117 MB / 1.03 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.159e-05/0.1459, allocations: 31.86 kB / 1.03 GB, free: 11.08 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.146, allocations: 179.9 kB / 1.03 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.1461, allocations: 131.8 kB / 1.03 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1461, allocations: 4 kB / 1.03 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002002/0.1463, allocations: 171.3 kB / 1.03 GB, free: 10.53 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1463, allocations: 10.5 kB / 1.03 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1463, allocations: 0 / 1.03 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.1463, allocations: 4.188 kB / 1.03 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.1465, allocations: 55.91 kB / 1.03 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.1465, allocations: 3.938 kB / 1.03 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.453e-05/0.1466, allocations: 23.89 kB / 1.031 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.1466, allocations: 11.98 kB / 1.031 GB, free: 10.42 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 9.508e-05/0.1467, allocations: 168.5 kB / 1.031 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.1467, allocations: 31.81 kB / 1.031 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.1469, allocations: 155.8 kB / 1.031 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1469, allocations: 4 kB / 1.031 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1469, allocations: 7.938 kB / 1.031 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1469, allocations: 3.984 kB / 1.031 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005674/0.1475, allocations: 0.6111 MB / 1.031 GB, free: 9.348 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1475, allocations: 4.344 kB / 1.031 GB, free: 9.344 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.824e-05/0.1476, allocations: 39.92 kB / 1.032 GB, free: 9.305 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.1476, allocations: 4 kB / 1.032 GB, free: 9.301 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1476, allocations: 15.98 kB / 1.032 GB, free: 9.285 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1476, allocations: 4 kB / 1.032 GB, free: 9.281 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1476, allocations: 0 / 1.032 GB, free: 9.281 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.1479, allocations: 393.6 kB / 1.032 GB, free: 8.832 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.1479, allocations: 55.7 kB / 1.032 GB, free: 8.777 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.148, allocations: 8 kB / 1.032 GB, free: 8.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.1481, allocations: 8 kB / 1.032 GB, free: 8.762 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.1481, allocations: 31.84 kB / 1.032 GB, free: 8.73 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.1481, allocations: 4 kB / 1.032 GB, free: 8.727 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 8.596e-05/0.1482, allocations: 207 kB / 1.032 GB, free: 8.527 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.1482, allocations: 3.938 kB / 1.032 GB, free: 8.523 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002964/0.1485, allocations: 99.78 kB / 1.032 GB, free: 8.426 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.0001868/0.1487, allocations: 143.1 kB / 1.032 GB, free: 8.273 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.1489, allocations: 111.9 kB / 1.033 GB, free: 8.16 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1489, allocations: 0 / 1.033 GB, free: 8.16 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.027e-05/0.1489, allocations: 63.61 kB / 1.033 GB, free: 8.094 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.1494, allocations: 163 kB / 1.033 GB, free: 7.941 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008184/0.1502, allocations: 0.6279 MB / 1.033 GB, free: 7.238 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.553e-05/0.1503, allocations: 100.6 kB / 1.033 GB, free: 7.117 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.1504, allocations: 42.97 kB / 1.034 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.1507, allocations: 174.1 kB / 1.034 GB, free: 6.902 MB / 0.9948 GB Notification: Performance of SimCode: time 7.82e-07/0.1507, allocations: 0 / 1.034 GB, free: 6.902 MB / 0.9948 GB Notification: Performance of Templates: time 0.0078/0.1585, allocations: 5.934 MB / 1.039 GB, free: 1.129 MB / 0.9948 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.353548489976674]