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.0009148/0.0009148, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009763/0.0009763, allocations: 161 kB / 23.82 MB, free: 0.75 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.994/0.994, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.838/1.838, allocations: 377.8 MB / 0.6236 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.174e-06/2.174e-06, allocations: 0 / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.313e-05, allocations: 9.734 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1401/0.1401, allocations: 147 MB / 0.9551 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.1422, allocations: 1.403 MB / 0.9564 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002559/0.1425, allocations: 19.81 kB / 0.9565 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004869/0.1429, allocations: 135 kB / 0.9566 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0008886/0.1438, allocations: 0.5128 MB / 0.9571 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.1445, allocations: 399 kB / 0.9575 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0008135/0.1454, allocations: 0.8414 MB / 0.9583 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003566/0.1457, allocations: 231.9 kB / 0.9585 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005848/0.1463, allocations: 442.8 kB / 0.9589 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.1466, allocations: 235.3 kB / 0.9592 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.1466, allocations: 24 kB / 0.9592 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004334/0.147, allocations: 311.2 kB / 0.9595 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.1472, allocations: 135.5 kB / 0.9596 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.1473, allocations: 135.7 kB / 0.9597 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005991/0.1479, allocations: 490.4 kB / 0.9602 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1479, allocations: 0 / 0.9602 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1479, allocations: 0 / 0.9602 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.1479, allocations: 0 / 0.9602 GB, free: 8.98 MB / 0.9167 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.001339/0.1492, allocations: 0.7487 MB / 0.9609 GB, free: 8.191 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1493, allocations: 8.031 kB / 0.9609 GB, free: 8.184 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006241/0.1499, allocations: 216.1 kB / 0.9611 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.1503, allocations: 327.7 kB / 0.9615 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.1503, allocations: 24.59 kB / 0.9615 GB, free: 7.602 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.1504, allocations: 28 kB / 0.9615 GB, free: 7.574 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.1508, allocations: 289.7 kB / 0.9618 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.1508, allocations: 4 kB / 0.9618 GB, free: 7.262 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.1508, allocations: 12 kB / 0.9618 GB, free: 7.25 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.1508, allocations: 24.64 kB / 0.9618 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.1511, allocations: 151.8 kB / 0.962 GB, free: 7.074 MB / 0.9167 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.001265/0.1523, allocations: 1.377 MB / 0.9633 GB, free: 5.633 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.1526, allocations: 111.2 kB / 0.9634 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.659e-05/0.1527, allocations: 59.66 kB / 0.9635 GB, free: 5.449 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/0.1529, allocations: 43.95 kB / 0.9635 GB, free: 5.406 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.1529, allocations: 37.39 kB / 0.9636 GB, free: 5.359 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.1529, allocations: 0 / 0.9636 GB, free: 5.359 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20): time 0.0004154/0.1533, allocations: 211.3 kB / 0.9638 GB, free: 5.148 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.1533, allocations: 63.34 kB / 0.9638 GB, free: 5.074 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.1535, allocations: 302.3 kB / 0.9641 GB, free: 4.762 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1536, allocations: 29.7 kB / 0.9641 GB, free: 4.727 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1537, allocations: 255.2 kB / 0.9644 GB, free: 4.473 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.1537, allocations: 71.39 kB / 0.9644 GB, free: 4.402 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/0.1538, allocations: 59.34 kB / 0.9645 GB, free: 4.336 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1539, allocations: 0.504 MB / 0.965 GB, free: 3.82 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.075e-05/0.154, allocations: 31.98 kB / 0.965 GB, free: 3.789 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1541, allocations: 186.8 kB / 0.9652 GB, free: 3.559 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.1542, allocations: 145.6 kB / 0.9653 GB, free: 3.383 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1542, allocations: 0 / 0.9653 GB, free: 3.383 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002406/0.1545, allocations: 190.3 kB / 0.9655 GB, free: 3.191 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1545, allocations: 8 kB / 0.9655 GB, free: 3.184 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1545, allocations: 0 / 0.9655 GB, free: 3.184 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1545, allocations: 4 kB / 0.9655 GB, free: 3.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.1547, allocations: 47.92 kB / 0.9656 GB, free: 3.133 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.1547, allocations: 7.938 kB / 0.9656 GB, free: 3.125 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.492e-05/0.1548, allocations: 19.88 kB / 0.9656 GB, free: 3.105 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.1548, allocations: 8 kB / 0.9656 GB, free: 3.098 MB / 0.9167 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.0001048/0.1549, allocations: 176.7 kB / 0.9658 GB, free: 2.914 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.1549, allocations: 35.8 kB / 0.9658 GB, free: 2.879 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.1552, allocations: 177.5 kB / 0.966 GB, free: 2.703 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1552, allocations: 3.938 kB / 0.966 GB, free: 2.699 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.1552, allocations: 0 / 0.966 GB, free: 2.699 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1552, allocations: 3.984 kB / 0.966 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006675/0.1559, allocations: 0.6848 MB / 0.9667 GB, free: 1.922 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1559, allocations: 7.938 kB / 0.9667 GB, free: 1.914 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.156, allocations: 35.92 kB / 0.9667 GB, free: 1.879 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.156, allocations: 4 kB / 0.9667 GB, free: 1.875 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.156, allocations: 12 kB / 0.9667 GB, free: 1.863 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/0.156, allocations: 15.92 kB / 0.9667 GB, free: 1.848 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.156, allocations: 352 / 0.9667 GB, free: 1.848 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.1566, allocations: 410.9 kB / 0.9671 GB, free: 1.383 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.1566, allocations: 43.8 kB / 0.9672 GB, free: 1.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.1567, allocations: 11.98 kB / 0.9672 GB, free: 1.328 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1568, allocations: 8 kB / 0.9672 GB, free: 1.32 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.1568, allocations: 31.89 kB / 0.9672 GB, free: 1.289 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1568, allocations: 7.984 kB / 0.9672 GB, free: 1.281 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001092/0.1569, allocations: 211 kB / 0.9674 GB, free: 1.078 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1569, allocations: 4 kB / 0.9674 GB, free: 1.074 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002934/0.1572, allocations: 111.7 kB / 0.9675 GB, free: 0.9648 MB / 0.9167 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.0001871/0.1574, allocations: 139.1 kB / 0.9677 GB, free: 0.8164 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.1576, allocations: 119.5 kB / 0.9678 GB, free: 0.6953 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1576, allocations: 0 / 0.9678 GB, free: 0.6953 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.744e-05/0.1577, allocations: 75.91 kB / 0.9679 GB, free: 0.6172 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000623/0.1584, allocations: 151.8 kB / 0.968 GB, free: 484 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009486/0.1593, allocations: 0.6269 MB / 0.9686 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.594e-05/0.1594, allocations: 104.6 kB / 0.9687 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001527/0.1595, allocations: 66.92 kB / 0.9688 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-05/0.1596, allocations: 28.5 kB / 0.9688 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of SimCode: time 8.52e-07/0.1596, allocations: 0 / 0.9688 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of Templates: time 0.007933/0.1675, allocations: 5.481 MB / 0.9742 GB, free: 10.26 MB / 0.9323 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.392938036005944]