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.001358/0.001358, allocations: 83.59 kB / 20.45 MB, free: 4.105 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.001441/0.001441, allocations: 165 kB / 23.82 MB, free: 0.7344 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.9432/0.9432, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.769/1.769, allocations: 377.8 MB / 0.6236 GB, free: 8.57 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 1.433e-06/1.433e-06, allocations: 0 / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.748e-05, allocations: 3.516 kB / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1237/0.1237, allocations: 147 MB / 0.9551 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.1257, allocations: 1.405 MB / 0.9564 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.1259, allocations: 15.88 kB / 0.9565 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004648/0.1264, allocations: 135 kB / 0.9566 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0009096/0.1273, allocations: 0.5206 MB / 0.9571 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006396/0.128, allocations: 395.1 kB / 0.9575 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0007202/0.1287, allocations: 0.8337 MB / 0.9583 GB, free: 11 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003386/0.129, allocations: 239.8 kB / 0.9585 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004919/0.1295, allocations: 442.8 kB / 0.9589 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.1297, allocations: 235.3 kB / 0.9592 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.1298, allocations: 28 kB / 0.9592 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.1302, allocations: 299.2 kB / 0.9595 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1303, allocations: 135.6 kB / 0.9596 GB, free: 9.641 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.1304, allocations: 143.7 kB / 0.9597 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.1309, allocations: 490.3 kB / 0.9602 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1309, allocations: 0 / 0.9602 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1309, allocations: 0 / 0.9602 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1309, allocations: 0 / 0.9602 GB, free: 9.02 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.001181/0.1321, allocations: 0.7449 MB / 0.9609 GB, free: 8.234 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1321, allocations: 8.031 kB / 0.9609 GB, free: 8.227 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005983/0.1327, allocations: 220 kB / 0.9612 GB, free: 8.012 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.1331, allocations: 327.8 kB / 0.9615 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.1331, allocations: 24.59 kB / 0.9615 GB, free: 7.641 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.1332, allocations: 27.94 kB / 0.9615 GB, free: 7.613 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/0.1336, allocations: 293.8 kB / 0.9618 GB, free: 7.301 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1336, allocations: 0 / 0.9618 GB, free: 7.301 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.1336, allocations: 15.98 kB / 0.9618 GB, free: 7.285 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.1336, allocations: 12.66 kB / 0.9618 GB, free: 7.27 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.1339, allocations: 155.8 kB / 0.962 GB, free: 7.117 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.001144/0.135, allocations: 1.377 MB / 0.9633 GB, free: 5.676 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.1352, allocations: 107.1 kB / 0.9634 GB, free: 5.559 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.971e-05/0.1353, allocations: 59.78 kB / 0.9635 GB, free: 5.496 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/0.1355, allocations: 51.89 kB / 0.9635 GB, free: 5.445 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.1355, allocations: 37.39 kB / 0.9636 GB, free: 5.398 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.1355, allocations: 0 / 0.9636 GB, free: 5.398 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20): time 0.000378/0.1359, allocations: 208.1 kB / 0.9638 GB, free: 5.191 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.1359, allocations: 55.34 kB / 0.9638 GB, free: 5.125 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.1361, allocations: 310.3 kB / 0.9641 GB, free: 4.805 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1361, allocations: 29.7 kB / 0.9641 GB, free: 4.77 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.1362, allocations: 255.2 kB / 0.9644 GB, free: 4.516 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.1363, allocations: 83.31 kB / 0.9645 GB, free: 4.434 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-05/0.1363, allocations: 47.36 kB / 0.9645 GB, free: 4.379 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1365, allocations: 0.5118 MB / 0.965 GB, free: 3.855 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.91e-05/0.1365, allocations: 31.98 kB / 0.965 GB, free: 3.824 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.1366, allocations: 187.9 kB / 0.9652 GB, free: 3.594 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.1368, allocations: 147.9 kB / 0.9654 GB, free: 3.418 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1368, allocations: 3.938 kB / 0.9654 GB, free: 3.414 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002374/0.137, allocations: 181.3 kB / 0.9655 GB, free: 3.23 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.137, allocations: 8 kB / 0.9655 GB, free: 3.223 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1371, allocations: 0 / 0.9655 GB, free: 3.223 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1371, allocations: 4 kB / 0.9655 GB, free: 3.219 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1372, allocations: 47.84 kB / 0.9656 GB, free: 3.172 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.1372, allocations: 7.984 kB / 0.9656 GB, free: 3.164 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.307e-05/0.1373, allocations: 27.83 kB / 0.9656 GB, free: 3.137 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.1373, allocations: 12 kB / 0.9656 GB, free: 3.125 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 8.939e-05/0.1374, allocations: 168.7 kB / 0.9658 GB, free: 2.949 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.1375, allocations: 35.86 kB / 0.9658 GB, free: 2.914 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.1377, allocations: 172.7 kB / 0.966 GB, free: 2.742 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.1377, allocations: 7.938 kB / 0.966 GB, free: 2.734 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1377, allocations: 0 / 0.966 GB, free: 2.734 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1377, allocations: 0 / 0.966 GB, free: 2.734 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006249/0.1383, allocations: 0.6848 MB / 0.9667 GB, free: 1.961 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1383, allocations: 4 kB / 0.9667 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.715e-05/0.1384, allocations: 43.91 kB / 0.9667 GB, free: 1.914 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1384, allocations: 4 kB / 0.9667 GB, free: 1.91 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1384, allocations: 4 kB / 0.9667 GB, free: 1.906 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1384, allocations: 7.938 kB / 0.9667 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1384, allocations: 4.344 kB / 0.9667 GB, free: 1.895 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.1387, allocations: 417.8 kB / 0.9671 GB, free: 1.422 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.1388, allocations: 47.78 kB / 0.9672 GB, free: 1.375 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.1388, allocations: 11.94 kB / 0.9672 GB, free: 1.363 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.862e-05/0.1389, allocations: 7.984 kB / 0.9672 GB, free: 1.355 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.1389, allocations: 23.91 kB / 0.9672 GB, free: 1.332 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.1389, allocations: 12 kB / 0.9672 GB, free: 1.32 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002459/0.1392, allocations: 211 kB / 0.9674 GB, free: 1.117 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1392, allocations: 0 / 0.9674 GB, free: 1.117 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002787/0.1395, allocations: 111.8 kB / 0.9675 GB, free: 1.008 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.0001842/0.1396, allocations: 131.1 kB / 0.9677 GB, free: 0.8672 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.1399, allocations: 127.4 kB / 0.9678 GB, free: 0.7383 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1399, allocations: 384 / 0.9678 GB, free: 0.7383 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.829e-05/0.14, allocations: 71.53 kB / 0.9679 GB, free: 0.6641 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.1404, allocations: 151.4 kB / 0.968 GB, free: 0.5195 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008266/0.1413, allocations: 0.6356 MB / 0.9686 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.308e-05/0.1413, allocations: 108.6 kB / 0.9687 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.1415, allocations: 62.94 kB / 0.9688 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.1415, allocations: 32.48 kB / 0.9688 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of SimCode: time 6.01e-07/0.1415, allocations: 0 / 0.9688 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of Templates: time 0.007617/0.1492, allocations: 5.926 MB / 0.9746 GB, free: 9.844 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.126854858826846]