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.001426/0.001426, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001506/0.001506, allocations: 161 kB / 24.16 MB, free: 332 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.9427/0.9427, allocations: 177.1 MB / 204.6 MB, free: 5.34 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.868/1.868, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.984e-06/1.984e-06, allocations: 0 / 0.76 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/2.036e-05, allocations: 9.609 kB / 0.76 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1289/0.1289, allocations: 146.4 MB / 0.903 GB, free: 3.816 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002283/0.1312, allocations: 1.426 MB / 0.9044 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000262/0.1315, allocations: 19.81 kB / 0.9044 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004385/0.1319, allocations: 127 kB / 0.9046 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009221/0.1328, allocations: 0.5206 MB / 0.9051 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006688/0.1335, allocations: 391.1 kB / 0.9054 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008145/0.1343, allocations: 0.8375 MB / 0.9063 GB, free: 0.4961 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006689/0.135, allocations: 228.5 kB / 0.9065 GB, free: 272 kB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005804/0.1355, allocations: 426.8 kB / 0.9069 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.1358, allocations: 219.3 kB / 0.9071 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.1358, allocations: 28 kB / 0.9071 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004321/0.1362, allocations: 315.1 kB / 0.9074 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1363, allocations: 139.5 kB / 0.9076 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.1364, allocations: 135.7 kB / 0.9077 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004842/0.1369, allocations: 486.4 kB / 0.9081 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1369, allocations: 0 / 0.9081 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1369, allocations: 4 kB / 0.9081 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1369, allocations: 0 / 0.9081 GB, free: 14.55 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.000826/0.1378, allocations: 0.6124 MB / 0.9087 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.1378, allocations: 8.031 kB / 0.9088 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006213/0.1384, allocations: 212.3 kB / 0.909 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.1388, allocations: 306.2 kB / 0.9092 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1388, allocations: 24.59 kB / 0.9093 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.1388, allocations: 32 kB / 0.9093 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.1391, allocations: 266.4 kB / 0.9096 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1391, allocations: 7.922 kB / 0.9096 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.1391, allocations: 12 kB / 0.9096 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.1392, allocations: 12.66 kB / 0.9096 GB, free: 13 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.1393, allocations: 121.9 kB / 0.9097 GB, free: 12.88 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.0008794/0.1402, allocations: 0.9746 MB / 0.9107 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.1404, allocations: 138.9 kB / 0.9108 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.1404, allocations: 43.67 kB / 0.9108 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.1406, allocations: 47.94 kB / 0.9109 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.1406, allocations: 42.56 kB / 0.9109 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 2.084e-06/0.1406, allocations: 0 / 0.9109 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.000285/0.1409, allocations: 142.9 kB / 0.9111 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.1409, allocations: 55.41 kB / 0.9111 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.1411, allocations: 258.9 kB / 0.9114 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1411, allocations: 29.7 kB / 0.9114 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.1412, allocations: 184.9 kB / 0.9116 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.1412, allocations: 75.36 kB / 0.9116 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.1413, allocations: 45.69 kB / 0.9117 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.1413, allocations: 338.8 kB / 0.912 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.454e-05/0.1414, allocations: 30.81 kB / 0.912 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.033e-05/0.1415, allocations: 155 kB / 0.9122 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.1416, allocations: 130 kB / 0.9123 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1416, allocations: 0 / 0.9123 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001613/0.1418, allocations: 132.3 kB / 0.9124 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1418, allocations: 4 kB / 0.9124 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1418, allocations: 4 kB / 0.9124 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1418, allocations: 4 kB / 0.9124 GB, free: 9.887 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.1419, allocations: 51.91 kB / 0.9125 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.1419, allocations: 4.188 kB / 0.9125 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.797e-05/0.142, allocations: 31.77 kB / 0.9125 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.142, allocations: 8 kB / 0.9125 GB, free: 9.793 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 8.306e-05/0.1421, allocations: 124.6 kB / 0.9126 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.1422, allocations: 27.91 kB / 0.9127 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.1423, allocations: 134.4 kB / 0.9128 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1423, allocations: 4 kB / 0.9128 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.1423, allocations: 0 / 0.9128 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1423, allocations: 7.922 kB / 0.9128 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007882/0.1431, allocations: 0.596 MB / 0.9134 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1431, allocations: 48 / 0.9134 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.1432, allocations: 47.89 kB / 0.9134 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.1433, allocations: 4.344 kB / 0.9134 GB, free: 8.766 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.1433, allocations: 12 kB / 0.9135 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.1433, allocations: 7.984 kB / 0.9135 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1433, allocations: 4 kB / 0.9135 GB, free: 8.742 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.1435, allocations: 350.6 kB / 0.9138 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.1435, allocations: 43.77 kB / 0.9138 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.1435, allocations: 11.98 kB / 0.9139 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.194e-05/0.1436, allocations: 12 kB / 0.9139 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.1437, allocations: 23.84 kB / 0.9139 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.1437, allocations: 16 kB / 0.9139 GB, free: 8.23 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.192e-05/0.1438, allocations: 84.64 kB / 0.914 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1438, allocations: 0 / 0.914 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002415/0.144, allocations: 103.8 kB / 0.9141 GB, free: 8.047 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.0001683/0.1442, allocations: 120.2 kB / 0.9142 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.1443, allocations: 112.6 kB / 0.9143 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.1443, allocations: 4 kB / 0.9143 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.448e-05/0.1444, allocations: 53.22 kB / 0.9144 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.1448, allocations: 160.7 kB / 0.9145 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007875/0.1456, allocations: 0.6125 MB / 0.9151 GB, free: 6.922 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.157e-05/0.1457, allocations: 104.6 kB / 0.9152 GB, free: 6.801 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000122/0.1458, allocations: 50.95 kB / 0.9153 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.146, allocations: 145.2 kB / 0.9154 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of SimCode: time 1.162e-06/0.146, allocations: 3.938 kB / 0.9154 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of Templates: time 0.008076/0.1541, allocations: 5.97 MB / 0.9212 GB, free: 0.7969 MB / 0.8698 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 -s gbode -gbm=radauIIA3 -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.109440680127591]