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.001136/0.001136, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001916/0.003052, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.001354/0.001354, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001587/0.002941, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 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.9589/0.9589, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09104/1.05, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.314/2.314, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2149/2.529, allocations: 145.9 MB / 0.817 GB, free: 4.223 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.764e-06/1.764e-06, allocations: 0 / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.175e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1594/0.1594, allocations: 146.8 MB / 0.9617 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1612, allocations: 1.402 MB / 0.963 GB, free: 14.12 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.1614, allocations: 19.81 kB / 0.9631 GB, free: 14.1 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.1617, allocations: 139 kB / 0.9632 GB, free: 13.96 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007183/0.1624, allocations: 0.505 MB / 0.9637 GB, free: 13.46 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005124/0.163, allocations: 383.1 kB / 0.964 GB, free: 13.08 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005939/0.1635, allocations: 0.8103 MB / 0.9648 GB, free: 12.27 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002753/0.1638, allocations: 220.3 kB / 0.965 GB, free: 12.05 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004487/0.1643, allocations: 443.8 kB / 0.9655 GB, free: 11.61 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.1645, allocations: 223.3 kB / 0.9657 GB, free: 11.39 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.1645, allocations: 28 kB / 0.9657 GB, free: 11.37 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000379/0.1649, allocations: 315.1 kB / 0.966 GB, free: 11.06 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.165, allocations: 111.7 kB / 0.9661 GB, free: 10.95 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1651, allocations: 119.8 kB / 0.9662 GB, free: 10.83 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.1656, allocations: 430.6 kB / 0.9666 GB, free: 10.41 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.401e-05/0.1656, allocations: 0 / 0.9666 GB, free: 10.41 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1656, allocations: 4 kB / 0.9666 GB, free: 10.41 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.1656, allocations: 0 / 0.9666 GB, free: 10.41 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.0009356/0.1665, allocations: 0.7772 MB / 0.9674 GB, free: 9.586 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.1665, allocations: 8.031 kB / 0.9674 GB, free: 9.578 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005372/0.1671, allocations: 220.3 kB / 0.9676 GB, free: 9.363 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.1674, allocations: 289.2 kB / 0.9679 GB, free: 9.055 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1674, allocations: 24.59 kB / 0.9679 GB, free: 9.031 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.1674, allocations: 31.98 kB / 0.968 GB, free: 9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.1677, allocations: 270.3 kB / 0.9682 GB, free: 8.715 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1677, allocations: 0 / 0.9682 GB, free: 8.715 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.1678, allocations: 12 kB / 0.9682 GB, free: 8.703 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.1678, allocations: 16.66 kB / 0.9682 GB, free: 8.684 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.1679, allocations: 117.9 kB / 0.9683 GB, free: 8.57 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.0008765/0.1688, allocations: 0.9902 MB / 0.9693 GB, free: 7.535 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.169, allocations: 134.9 kB / 0.9694 GB, free: 7.391 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.169, allocations: 47.67 kB / 0.9695 GB, free: 7.34 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.1692, allocations: 43.95 kB / 0.9695 GB, free: 7.297 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.1692, allocations: 34.56 kB / 0.9696 GB, free: 7.254 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.1692, allocations: 4 kB / 0.9696 GB, free: 7.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0002878/0.1695, allocations: 156.2 kB / 0.9697 GB, free: 7.094 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.1695, allocations: 51.41 kB / 0.9698 GB, free: 7.031 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.1697, allocations: 254.8 kB / 0.97 GB, free: 6.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1697, allocations: 29.7 kB / 0.97 GB, free: 6.734 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.1698, allocations: 173 kB / 0.9702 GB, free: 6.562 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.1698, allocations: 75.34 kB / 0.9703 GB, free: 6.488 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.1699, allocations: 49.64 kB / 0.9703 GB, free: 6.434 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.901e-05/0.1699, allocations: 342.8 kB / 0.9706 GB, free: 6.09 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.872e-05/0.17, allocations: 22.81 kB / 0.9707 GB, free: 6.066 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.1701, allocations: 155.1 kB / 0.9708 GB, free: 5.875 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1702, allocations: 119.5 kB / 0.9709 GB, free: 5.734 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1702, allocations: 0 / 0.9709 GB, free: 5.734 MB / 0.948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001627/0.1704, allocations: 146.7 kB / 0.9711 GB, free: 5.586 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1704, allocations: 4 kB / 0.9711 GB, free: 5.582 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1704, allocations: 4 kB / 0.9711 GB, free: 5.578 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.1704, allocations: 0 / 0.9711 GB, free: 5.578 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.1705, allocations: 51.91 kB / 0.9711 GB, free: 5.527 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1705, allocations: 4 kB / 0.9711 GB, free: 5.523 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.553e-05/0.1706, allocations: 28 kB / 0.9712 GB, free: 5.496 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.1706, allocations: 15.94 kB / 0.9712 GB, free: 5.48 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 8.029e-05/0.1707, allocations: 120.7 kB / 0.9713 GB, free: 5.352 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.1708, allocations: 23.97 kB / 0.9713 GB, free: 5.328 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.1709, allocations: 147.6 kB / 0.9715 GB, free: 5.176 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1709, allocations: 0 / 0.9715 GB, free: 5.176 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1709, allocations: 0 / 0.9715 GB, free: 5.176 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1709, allocations: 3.938 kB / 0.9715 GB, free: 5.172 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000521/0.1715, allocations: 0.5961 MB / 0.972 GB, free: 4.504 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1715, allocations: 8 kB / 0.972 GB, free: 4.496 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.949e-05/0.1716, allocations: 43.86 kB / 0.9721 GB, free: 4.453 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.1716, allocations: 39.8 kB / 0.9721 GB, free: 4.414 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.1716, allocations: 8.328 kB / 0.9721 GB, free: 4.406 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1716, allocations: 12 kB / 0.9721 GB, free: 4.395 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1716, allocations: 4 kB / 0.9722 GB, free: 4.391 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.1716, allocations: 7.938 kB / 0.9722 GB, free: 4.383 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.1718, allocations: 354.6 kB / 0.9725 GB, free: 3.973 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.1719, allocations: 8 kB / 0.9725 GB, free: 3.965 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.1719, allocations: 8 kB / 0.9725 GB, free: 3.957 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.172, allocations: 23.91 kB / 0.9725 GB, free: 3.934 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.172, allocations: 8 kB / 0.9725 GB, free: 3.926 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.291e-05/0.1721, allocations: 92.62 kB / 0.9726 GB, free: 3.832 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1721, allocations: 0 / 0.9726 GB, free: 3.832 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002477/0.1723, allocations: 115.7 kB / 0.9727 GB, free: 3.719 MB / 0.948 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.0001829/0.1725, allocations: 120.3 kB / 0.9729 GB, free: 3.594 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001586/0.1726, allocations: 101.8 kB / 0.973 GB, free: 3.496 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.1727, allocations: 12 kB / 0.973 GB, free: 3.484 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.605e-05/0.1727, allocations: 60.62 kB / 0.973 GB, free: 3.422 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.1732, allocations: 169.7 kB / 0.9732 GB, free: 3.258 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.1759, allocations: 0.619 MB / 0.9738 GB, free: 2.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.236e-05/0.1759, allocations: 108.5 kB / 0.9739 GB, free: 2.445 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.1761, allocations: 38.97 kB / 0.9739 GB, free: 2.41 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.1763, allocations: 145.3 kB / 0.9741 GB, free: 2.27 MB / 0.948 GB Notification: Performance of SimCode: time 1.162e-06/0.1763, allocations: 0 / 0.9741 GB, free: 2.27 MB / 0.948 GB Notification: Performance of Templates: time 0.007738/0.184, allocations: 6.053 MB / 0.98 GB, free: 12.37 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.ref.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.331528130918741]