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.0009345/0.0009345, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0009768/0.0009768, allocations: 169 kB / 23.27 MB, free: 1.223 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.8773/0.8773, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.237/2.237, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.493e-06/1.493e-06, allocations: 0 / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.894e-05, allocations: 5.125 kB / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1235/0.1235, allocations: 144.2 MB / 1.031 GB, free: 8.984 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.1252, allocations: 1.379 MB / 1.032 GB, free: 7.602 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.1254, allocations: 19.81 kB / 1.032 GB, free: 7.582 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004382/0.1258, allocations: 127 kB / 1.032 GB, free: 7.457 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008433/0.1267, allocations: 0.5167 MB / 1.033 GB, free: 6.938 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005713/0.1272, allocations: 391.1 kB / 1.033 GB, free: 6.555 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006302/0.1279, allocations: 0.8179 MB / 1.034 GB, free: 5.734 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002896/0.1282, allocations: 231.7 kB / 1.034 GB, free: 5.504 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000482/0.1286, allocations: 418.9 kB / 1.034 GB, free: 5.094 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004887/0.1291, allocations: 239.3 kB / 1.035 GB, free: 4.859 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.1292, allocations: 28 kB / 1.035 GB, free: 4.832 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.1296, allocations: 307.1 kB / 1.035 GB, free: 4.531 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.1297, allocations: 131.6 kB / 1.035 GB, free: 4.402 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.1298, allocations: 147.7 kB / 1.035 GB, free: 4.258 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004888/0.1303, allocations: 478.5 kB / 1.036 GB, free: 3.789 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1303, allocations: 0 / 1.036 GB, free: 3.789 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1303, allocations: 0 / 1.036 GB, free: 3.789 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.1303, allocations: 4 kB / 1.036 GB, free: 3.785 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.0009301/0.1312, allocations: 0.7329 MB / 1.036 GB, free: 3.012 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1312, allocations: 8.031 kB / 1.036 GB, free: 3.004 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005522/0.1318, allocations: 224.1 kB / 1.037 GB, free: 2.785 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.1321, allocations: 316 kB / 1.037 GB, free: 2.441 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1321, allocations: 24.59 kB / 1.037 GB, free: 2.418 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.1322, allocations: 24 kB / 1.037 GB, free: 2.395 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.1324, allocations: 277.6 kB / 1.037 GB, free: 2.098 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1325, allocations: 0 / 1.037 GB, free: 2.098 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.1325, allocations: 15.98 kB / 1.037 GB, free: 2.082 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.1325, allocations: 16.64 kB / 1.037 GB, free: 2.066 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.1327, allocations: 127.1 kB / 1.037 GB, free: 1.941 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.0009915/0.1337, allocations: 1.315 MB / 1.039 GB, free: 0.5742 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.1338, allocations: 91.27 kB / 1.039 GB, free: 484 kB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.945e-05/0.1339, allocations: 63.62 kB / 1.039 GB, free: 416 kB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.134, allocations: 47.89 kB / 1.039 GB, free: 368 kB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.1341, allocations: 41.39 kB / 1.039 GB, free: 316 kB / 0.9948 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.1341, allocations: 0 / 1.039 GB, free: 316 kB / 0.9948 GB Notification: Performance of matching and sorting (n=20): time 0.0003153/0.1344, allocations: 182.8 kB / 1.039 GB, free: 128 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.1344, allocations: 51.41 kB / 1.039 GB, free: 64 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.1346, allocations: 306.2 kB / 1.039 GB, free: 15.74 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1346, allocations: 29.7 kB / 1.039 GB, free: 15.7 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1347, allocations: 255.2 kB / 1.04 GB, free: 15.45 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.962e-05/0.1347, allocations: 79.31 kB / 1.04 GB, free: 15.37 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/0.1348, allocations: 55.28 kB / 1.04 GB, free: 15.3 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1349, allocations: 0.5118 MB / 1.04 GB, free: 14.78 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.918e-05/0.135, allocations: 27.81 kB / 1.04 GB, free: 14.76 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.1351, allocations: 182.4 kB / 1.04 GB, free: 14.54 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.1352, allocations: 135.6 kB / 1.041 GB, free: 14.38 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1352, allocations: 0 / 1.041 GB, free: 14.38 MB / 1.01 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001819/0.1354, allocations: 169.3 kB / 1.041 GB, free: 14.2 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1354, allocations: 4 kB / 1.041 GB, free: 14.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1354, allocations: 7.938 kB / 1.041 GB, free: 14.19 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1354, allocations: 192 / 1.041 GB, free: 14.19 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1355, allocations: 55.91 kB / 1.041 GB, free: 14.14 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1355, allocations: 7.938 kB / 1.041 GB, free: 14.13 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.203e-05/0.1356, allocations: 15.89 kB / 1.041 GB, free: 14.11 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.1356, allocations: 15.98 kB / 1.041 GB, free: 14.1 MB / 1.01 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.766e-05/0.1357, allocations: 168.5 kB / 1.041 GB, free: 13.92 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.1358, allocations: 31.81 kB / 1.041 GB, free: 13.89 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.1359, allocations: 165.5 kB / 1.041 GB, free: 13.72 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.136, allocations: 4 kB / 1.041 GB, free: 13.72 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.136, allocations: 7.938 kB / 1.041 GB, free: 13.71 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.136, allocations: 0 / 1.041 GB, free: 13.71 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007742/0.1367, allocations: 0.615 MB / 1.042 GB, free: 13.02 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1367, allocations: 4.344 kB / 1.042 GB, free: 13.01 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.671e-05/0.1368, allocations: 43.91 kB / 1.042 GB, free: 12.97 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1368, allocations: 4 kB / 1.042 GB, free: 12.96 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1368, allocations: 8 kB / 1.042 GB, free: 12.96 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1368, allocations: 4 kB / 1.042 GB, free: 12.95 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1368, allocations: 4 kB / 1.042 GB, free: 12.95 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.1371, allocations: 390.5 kB / 1.042 GB, free: 12.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.1372, allocations: 55.7 kB / 1.042 GB, free: 12.45 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.1373, allocations: 4 kB / 1.042 GB, free: 12.45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.12e-05/0.1374, allocations: 12 kB / 1.042 GB, free: 12.43 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.1374, allocations: 27.84 kB / 1.042 GB, free: 12.41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.1374, allocations: 8 kB / 1.042 GB, free: 12.4 MB / 1.01 GB Notification: Performance of sorting global known variables: time 7.967e-05/0.1375, allocations: 203 kB / 1.043 GB, free: 12.2 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1375, allocations: 0 / 1.043 GB, free: 12.2 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002637/0.1378, allocations: 111.8 kB / 1.043 GB, free: 12.09 MB / 1.01 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.0001703/0.1379, allocations: 139 kB / 1.043 GB, free: 11.95 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.1381, allocations: 115.4 kB / 1.043 GB, free: 11.83 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1381, allocations: 0 / 1.043 GB, free: 11.83 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 6.357e-05/0.1381, allocations: 59.53 kB / 1.043 GB, free: 11.77 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.1386, allocations: 153.9 kB / 1.043 GB, free: 11.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007974/0.1394, allocations: 0.6241 MB / 1.044 GB, free: 10.93 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.171e-05/0.1395, allocations: 108.6 kB / 1.044 GB, free: 10.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.1396, allocations: 46.97 kB / 1.044 GB, free: 10.75 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.1398, allocations: 170.1 kB / 1.044 GB, free: 10.59 MB / 1.01 GB Notification: Performance of SimCode: time 6.61e-07/0.1398, allocations: 0 / 1.044 GB, free: 10.59 MB / 1.01 GB Notification: Performance of Templates: time 0.007798/0.1476, allocations: 5.84 MB / 1.05 GB, free: 4.891 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.640927755273879]