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.000935/0.000935, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001082/0.001082, allocations: 181 kB / 24.09 MB, free: 420 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.9803/0.9803, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.834/1.834, allocations: 377.9 MB / 0.624 GB, free: 8.379 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.745e-06/2.745e-06, allocations: 3.984 kB / 0.812 GB, free: 320 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.823e-05, allocations: 6.906 kB / 0.812 GB, free: 312 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1284/0.1284, allocations: 144.3 MB / 0.9529 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.1306, allocations: 1.399 MB / 0.9542 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002273/0.1308, allocations: 19.81 kB / 0.9543 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004296/0.1312, allocations: 135 kB / 0.9544 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0008602/0.1321, allocations: 0.5245 MB / 0.9549 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006006/0.1327, allocations: 391.1 kB / 0.9553 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0006985/0.1334, allocations: 0.8414 MB / 0.9561 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.1337, allocations: 227.9 kB / 0.9563 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.1342, allocations: 442.8 kB / 0.9567 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.1344, allocations: 239.3 kB / 0.957 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.1344, allocations: 28 kB / 0.957 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.1348, allocations: 299.2 kB / 0.9573 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.1349, allocations: 135.5 kB / 0.9574 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 9.99e-05/0.135, allocations: 143.7 kB / 0.9575 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005143/0.1355, allocations: 482.4 kB / 0.958 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1355, allocations: 4 kB / 0.958 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1355, allocations: 4 kB / 0.958 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.1355, allocations: 0 / 0.958 GB, free: 10.31 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.001026/0.1366, allocations: 0.7406 MB / 0.9587 GB, free: 9.527 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.1366, allocations: 12.03 kB / 0.9587 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005385/0.1371, allocations: 220 kB / 0.959 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.1375, allocations: 319.7 kB / 0.9593 GB, free: 8.957 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1375, allocations: 24.59 kB / 0.9593 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.1375, allocations: 31.98 kB / 0.9593 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.1378, allocations: 273.7 kB / 0.9596 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1378, allocations: 0 / 0.9596 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.1378, allocations: 16 kB / 0.9596 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/0.1379, allocations: 16.64 kB / 0.9596 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.138, allocations: 127.1 kB / 0.9597 GB, free: 8.453 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.0009842/0.139, allocations: 1.315 MB / 0.961 GB, free: 7.078 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.1391, allocations: 91.16 kB / 0.9611 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.1392, allocations: 55.77 kB / 0.9611 GB, free: 6.918 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.1394, allocations: 51.89 kB / 0.9612 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.1394, allocations: 37.38 kB / 0.9612 GB, free: 6.82 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.1394, allocations: 4 kB / 0.9612 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0003106/0.1397, allocations: 179.6 kB / 0.9614 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.1397, allocations: 55.41 kB / 0.9615 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.1399, allocations: 310.1 kB / 0.9618 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1399, allocations: 29.7 kB / 0.9618 GB, free: 6.219 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.14, allocations: 259.2 kB / 0.962 GB, free: 5.961 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.1401, allocations: 75.36 kB / 0.9621 GB, free: 5.887 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.1401, allocations: 59.33 kB / 0.9622 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1402, allocations: 0.5118 MB / 0.9627 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.942e-05/0.1403, allocations: 23.92 kB / 0.9627 GB, free: 5.273 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.1404, allocations: 180.8 kB / 0.9629 GB, free: 5.051 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.1405, allocations: 129.7 kB / 0.963 GB, free: 4.895 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1405, allocations: 4 kB / 0.963 GB, free: 4.891 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001805/0.1407, allocations: 171.5 kB / 0.9631 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1407, allocations: 4 kB / 0.9632 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1407, allocations: 7.984 kB / 0.9632 GB, free: 4.707 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1407, allocations: 4 kB / 0.9632 GB, free: 4.703 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.1408, allocations: 43.92 kB / 0.9632 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.1408, allocations: 8.125 kB / 0.9632 GB, free: 4.652 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.492e-05/0.1409, allocations: 27.88 kB / 0.9632 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.1409, allocations: 8 kB / 0.9632 GB, free: 4.617 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 9.484e-05/0.141, allocations: 172.5 kB / 0.9634 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.1411, allocations: 31.81 kB / 0.9634 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.1413, allocations: 163.8 kB / 0.9636 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1413, allocations: 4 kB / 0.9636 GB, free: 4.234 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.1413, allocations: 3.938 kB / 0.9636 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1413, allocations: 0 / 0.9636 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.1418, allocations: 0.6344 MB / 0.9642 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1418, allocations: 4 kB / 0.9642 GB, free: 3.512 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.529e-05/0.1419, allocations: 39.92 kB / 0.9643 GB, free: 3.473 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1419, allocations: 4.344 kB / 0.9643 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1419, allocations: 12 kB / 0.9643 GB, free: 3.457 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1419, allocations: 7.984 kB / 0.9643 GB, free: 3.449 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1419, allocations: 3.984 kB / 0.9643 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.1421, allocations: 394.4 kB / 0.9647 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.1422, allocations: 39.8 kB / 0.9647 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.1422, allocations: 11.98 kB / 0.9647 GB, free: 2.945 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.65e-05/0.1423, allocations: 8 kB / 0.9647 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.1424, allocations: 31.88 kB / 0.9648 GB, free: 2.906 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.1424, allocations: 8 kB / 0.9648 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002985/0.1427, allocations: 210.9 kB / 0.965 GB, free: 2.695 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.1427, allocations: 0 / 0.965 GB, free: 2.695 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002618/0.1429, allocations: 107.7 kB / 0.9651 GB, free: 2.59 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.0001798/0.1431, allocations: 139.1 kB / 0.9652 GB, free: 2.445 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001595/0.1433, allocations: 111.4 kB / 0.9653 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1433, allocations: 0 / 0.9653 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.561e-05/0.1433, allocations: 67.52 kB / 0.9654 GB, free: 2.262 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.1438, allocations: 161.3 kB / 0.9655 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000767/0.1446, allocations: 0.6201 MB / 0.9661 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.25e-05/0.1446, allocations: 112.5 kB / 0.9662 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.1448, allocations: 50.97 kB / 0.9663 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.145, allocations: 178.1 kB / 0.9665 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of SimCode: time 4.91e-07/0.145, allocations: 0 / 0.9665 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of Templates: time 0.007726/0.1527, allocations: 6.036 MB / 0.9724 GB, free: 11.18 MB / 0.8855 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.1912699970416725]