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.0009509/0.0009509, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001113/0.001113, allocations: 181 kB / 23.36 MB, free: 1.133 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.9157/0.9157, allocations: 177.1 MB / 203.8 MB, free: 5.449 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.249/2.249, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.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.193e-06/1.193e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.014e-05, allocations: 8.5 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1234/0.1235, allocations: 146.3 MB / 0.9815 GB, free: 11.3 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.1259, allocations: 1.4 MB / 0.9828 GB, free: 9.902 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.1261, allocations: 23.81 kB / 0.9829 GB, free: 9.879 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.1266, allocations: 127 kB / 0.983 GB, free: 9.754 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.1276, allocations: 0.5206 MB / 0.9835 GB, free: 9.23 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007108/0.1283, allocations: 391.1 kB / 0.9839 GB, free: 8.848 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0008013/0.1291, allocations: 0.8219 MB / 0.9847 GB, free: 8.023 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003316/0.1295, allocations: 224.3 kB / 0.9849 GB, free: 7.797 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005454/0.13, allocations: 422.8 kB / 0.9853 GB, free: 7.383 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.1303, allocations: 219.3 kB / 0.9855 GB, free: 7.168 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/0.1303, allocations: 28 kB / 0.9855 GB, free: 7.141 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004474/0.1307, allocations: 303.2 kB / 0.9858 GB, free: 6.844 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1309, allocations: 139.5 kB / 0.986 GB, free: 6.707 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.131, allocations: 135.7 kB / 0.9861 GB, free: 6.574 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005689/0.1316, allocations: 490.4 kB / 0.9865 GB, free: 6.094 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1316, allocations: 0 / 0.9865 GB, free: 6.094 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1316, allocations: 0 / 0.9865 GB, free: 6.094 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.1316, allocations: 0 / 0.9865 GB, free: 6.094 MB / 0.948 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.0009607/0.1325, allocations: 0.6043 MB / 0.9871 GB, free: 5.465 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.1326, allocations: 8.031 kB / 0.9871 GB, free: 5.457 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007486/0.1333, allocations: 224.2 kB / 0.9874 GB, free: 5.238 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.1337, allocations: 281.3 kB / 0.9876 GB, free: 4.934 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.1337, allocations: 24.59 kB / 0.9877 GB, free: 4.906 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.1338, allocations: 28 kB / 0.9877 GB, free: 4.879 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.1341, allocations: 270.3 kB / 0.9879 GB, free: 4.594 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1341, allocations: 0 / 0.9879 GB, free: 4.594 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.1341, allocations: 15.98 kB / 0.988 GB, free: 4.578 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.1342, allocations: 8.656 kB / 0.988 GB, free: 4.57 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.1344, allocations: 125.9 kB / 0.9881 GB, free: 4.445 MB / 0.948 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.001309/0.1357, allocations: 0.9823 MB / 0.989 GB, free: 3.422 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.1359, allocations: 138.9 kB / 0.9892 GB, free: 3.273 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.652e-05/0.1359, allocations: 47.67 kB / 0.9892 GB, free: 3.223 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/0.1361, allocations: 51.95 kB / 0.9893 GB, free: 3.172 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.1362, allocations: 38.5 kB / 0.9893 GB, free: 3.125 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.1362, allocations: 0 / 0.9893 GB, free: 3.125 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0003419/0.1365, allocations: 143.8 kB / 0.9894 GB, free: 2.98 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.1365, allocations: 55.41 kB / 0.9895 GB, free: 2.914 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.1367, allocations: 258.8 kB / 0.9897 GB, free: 2.648 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1367, allocations: 33.7 kB / 0.9898 GB, free: 2.609 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.296e-05/0.1368, allocations: 180.9 kB / 0.9899 GB, free: 2.43 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.1368, allocations: 67.36 kB / 0.99 GB, free: 2.363 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.159e-05/0.1369, allocations: 53.62 kB / 0.9901 GB, free: 2.305 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.137, allocations: 334.8 kB / 0.9904 GB, free: 1.969 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.034e-05/0.137, allocations: 26.81 kB / 0.9904 GB, free: 1.941 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.1371, allocations: 159 kB / 0.9906 GB, free: 1.746 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.1373, allocations: 112.9 kB / 0.9907 GB, free: 1.613 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1373, allocations: 0 / 0.9907 GB, free: 1.613 MB / 0.948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001991/0.1375, allocations: 142.7 kB / 0.9908 GB, free: 1.469 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.1375, allocations: 8.188 kB / 0.9908 GB, free: 1.461 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1375, allocations: 4 kB / 0.9908 GB, free: 1.457 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1375, allocations: 4 kB / 0.9908 GB, free: 1.453 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.1377, allocations: 47.91 kB / 0.9909 GB, free: 1.406 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1377, allocations: 4 kB / 0.9909 GB, free: 1.402 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.1378, allocations: 31.77 kB / 0.9909 GB, free: 1.371 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.1378, allocations: 12 kB / 0.9909 GB, free: 1.359 MB / 0.948 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.058e-05/0.1379, allocations: 124.5 kB / 0.991 GB, free: 1.227 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.1379, allocations: 23.97 kB / 0.9911 GB, free: 1.203 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.1381, allocations: 135.8 kB / 0.9912 GB, free: 1.062 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1381, allocations: 0 / 0.9912 GB, free: 1.062 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1381, allocations: 0 / 0.9912 GB, free: 1.062 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1382, allocations: 7.922 kB / 0.9912 GB, free: 1.055 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006322/0.1388, allocations: 0.5964 MB / 0.9918 GB, free: 396 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1388, allocations: 4 kB / 0.9918 GB, free: 392 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.1389, allocations: 39.91 kB / 0.9918 GB, free: 352 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.1389, allocations: 4 kB / 0.9918 GB, free: 348 kB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1389, allocations: 8 kB / 0.9918 GB, free: 340 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1389, allocations: 7.938 kB / 0.9918 GB, free: 332 kB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.1389, allocations: 4 kB / 0.9918 GB, free: 328 kB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.1392, allocations: 358.6 kB / 0.9922 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.1392, allocations: 39.91 kB / 0.9922 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.1393, allocations: 8 kB / 0.9922 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.1394, allocations: 11.98 kB / 0.9922 GB, free: 15.85 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.1395, allocations: 27.84 kB / 0.9923 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.1395, allocations: 8 kB / 0.9923 GB, free: 15.81 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.723e-05/0.1395, allocations: 92.56 kB / 0.9924 GB, free: 15.72 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1395, allocations: 0 / 0.9924 GB, free: 15.72 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003585/0.1399, allocations: 111.7 kB / 0.9925 GB, free: 15.61 MB / 0.9636 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.000184/0.1401, allocations: 116.3 kB / 0.9926 GB, free: 15.49 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.1403, allocations: 102.3 kB / 0.9927 GB, free: 15.39 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.1403, allocations: 4 kB / 0.9927 GB, free: 15.38 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.084e-05/0.1404, allocations: 61.45 kB / 0.9927 GB, free: 15.32 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.1409, allocations: 149.2 kB / 0.9929 GB, free: 15.18 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008767/0.1418, allocations: 0.6002 MB / 0.9935 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.463e-05/0.1418, allocations: 108.5 kB / 0.9936 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001547/0.142, allocations: 38.98 kB / 0.9936 GB, free: 14.35 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/0.1423, allocations: 149.2 kB / 0.9937 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of SimCode: time 7.32e-07/0.1423, allocations: 0 / 0.9937 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of Templates: time 0.008954/0.1512, allocations: 5.778 MB / 0.9994 GB, free: 8.578 MB / 0.9636 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.298353910911828]