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.001155/0.001155, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001924/0.003079, allocations: 440 kB / 10.41 MB, free: 284 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.00129/0.00129, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001881/0.003172, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9194/0.9194, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09072/1.01, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.273/2.273, allocations: 447.1 MB / 0.675 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.216/2.489, allocations: 146 MB / 0.8176 GB, free: 3.875 MB / 0.7917 GB " [Timeout remaining time 178] 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.172e-06/1.172e-06, allocations: 0 / 0.8189 GB, free: 2.562 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.197e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1426/0.1427, allocations: 146.8 MB / 0.9623 GB, free: 15.16 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.1447, allocations: 1.406 MB / 0.9637 GB, free: 13.75 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.1448, allocations: 19.81 kB / 0.9637 GB, free: 13.73 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.1452, allocations: 143 kB / 0.9638 GB, free: 13.59 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008039/0.146, allocations: 0.4972 MB / 0.9643 GB, free: 13.09 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006333/0.1466, allocations: 379.1 kB / 0.9647 GB, free: 12.71 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0006417/0.1473, allocations: 0.818 MB / 0.9655 GB, free: 11.89 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.1475, allocations: 220.3 kB / 0.9657 GB, free: 11.67 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004243/0.1479, allocations: 443.8 kB / 0.9661 GB, free: 11.24 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.1481, allocations: 227.3 kB / 0.9663 GB, free: 11.02 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.1482, allocations: 24 kB / 0.9663 GB, free: 10.99 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.1485, allocations: 315.1 kB / 0.9666 GB, free: 10.68 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.152e-05/0.1486, allocations: 111.6 kB / 0.9668 GB, free: 10.57 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.031e-05/0.1487, allocations: 119.8 kB / 0.9669 GB, free: 10.46 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.1491, allocations: 434.6 kB / 0.9673 GB, free: 10.03 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.092e-05/0.1491, allocations: 4 kB / 0.9673 GB, free: 10.03 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1491, allocations: 0 / 0.9673 GB, free: 10.03 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.1491, allocations: 0 / 0.9673 GB, free: 10.03 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.0008695/0.15, allocations: 0.7811 MB / 0.968 GB, free: 9.203 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.15, allocations: 8.031 kB / 0.9681 GB, free: 9.195 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005324/0.1506, allocations: 220.2 kB / 0.9683 GB, free: 8.98 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.1509, allocations: 285.2 kB / 0.9685 GB, free: 8.668 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1509, allocations: 24.59 kB / 0.9686 GB, free: 8.645 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.1509, allocations: 35.98 kB / 0.9686 GB, free: 8.609 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.1512, allocations: 266.4 kB / 0.9688 GB, free: 8.328 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1512, allocations: 3.938 kB / 0.9689 GB, free: 8.324 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.1512, allocations: 12 kB / 0.9689 GB, free: 8.312 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.1513, allocations: 12.66 kB / 0.9689 GB, free: 8.297 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.1514, allocations: 113.9 kB / 0.969 GB, free: 8.188 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.0008145/0.1522, allocations: 0.9863 MB / 0.9699 GB, free: 7.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.1524, allocations: 130.9 kB / 0.9701 GB, free: 7.02 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.1524, allocations: 48.55 kB / 0.9701 GB, free: 6.969 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.1526, allocations: 51.94 kB / 0.9702 GB, free: 6.918 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.1526, allocations: 38.56 kB / 0.9702 GB, free: 6.871 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.1526, allocations: 0 / 0.9702 GB, free: 6.871 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0002551/0.1529, allocations: 148 kB / 0.9703 GB, free: 6.723 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.1529, allocations: 51.41 kB / 0.9704 GB, free: 6.66 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.153, allocations: 254.8 kB / 0.9706 GB, free: 6.398 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.153, allocations: 33.64 kB / 0.9707 GB, free: 6.359 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.1531, allocations: 177 kB / 0.9708 GB, free: 6.184 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.1531, allocations: 75.34 kB / 0.9709 GB, free: 6.109 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.1532, allocations: 53.62 kB / 0.971 GB, free: 6.051 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.939e-05/0.1532, allocations: 342.8 kB / 0.9713 GB, free: 5.707 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.642e-05/0.1533, allocations: 22.81 kB / 0.9713 GB, free: 5.684 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.1536, allocations: 153.3 kB / 0.9715 GB, free: 5.496 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.1537, allocations: 121.8 kB / 0.9716 GB, free: 5.355 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1537, allocations: 0 / 0.9716 GB, free: 5.355 MB / 0.948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001479/0.1539, allocations: 144.2 kB / 0.9717 GB, free: 5.207 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1539, allocations: 9.406 kB / 0.9717 GB, free: 5.199 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1539, allocations: 3.938 kB / 0.9717 GB, free: 5.195 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.1539, allocations: 4 kB / 0.9717 GB, free: 5.191 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.154, allocations: 51.91 kB / 0.9718 GB, free: 5.141 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.154, allocations: 8.188 kB / 0.9718 GB, free: 5.133 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.1541, allocations: 27.81 kB / 0.9718 GB, free: 5.105 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.1541, allocations: 8 kB / 0.9718 GB, free: 5.098 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 7.222e-05/0.1542, allocations: 120.6 kB / 0.9719 GB, free: 4.969 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.1542, allocations: 27.97 kB / 0.972 GB, free: 4.941 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.1544, allocations: 138.5 kB / 0.9721 GB, free: 4.801 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.1544, allocations: 4 kB / 0.9721 GB, free: 4.797 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.1544, allocations: 3.984 kB / 0.9721 GB, free: 4.793 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1544, allocations: 3.938 kB / 0.9721 GB, free: 4.789 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.1549, allocations: 0.5961 MB / 0.9727 GB, free: 4.121 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1549, allocations: 0 / 0.9727 GB, free: 4.121 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.155, allocations: 47.91 kB / 0.9727 GB, free: 4.074 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.155, allocations: 40.14 kB / 0.9728 GB, free: 4.035 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.155, allocations: 4 kB / 0.9728 GB, free: 4.031 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.155, allocations: 11.98 kB / 0.9728 GB, free: 4.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.155, allocations: 4 kB / 0.9728 GB, free: 4.016 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.155, allocations: 4 kB / 0.9728 GB, free: 4.012 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.1552, allocations: 358.6 kB / 0.9731 GB, free: 3.598 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.1553, allocations: 8 kB / 0.9731 GB, free: 3.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.644e-05/0.1553, allocations: 12 kB / 0.9732 GB, free: 3.578 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.1554, allocations: 31.84 kB / 0.9732 GB, free: 3.547 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.1554, allocations: 4 kB / 0.9732 GB, free: 3.543 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.911e-05/0.1554, allocations: 92.62 kB / 0.9733 GB, free: 3.449 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.1554, allocations: 0 / 0.9733 GB, free: 3.449 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002193/0.1557, allocations: 103.8 kB / 0.9734 GB, free: 3.348 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.0001545/0.1558, allocations: 126.6 kB / 0.9735 GB, free: 3.219 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001483/0.156, allocations: 112.5 kB / 0.9736 GB, free: 3.105 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.156, allocations: 4 kB / 0.9736 GB, free: 3.102 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.497e-05/0.1561, allocations: 74.19 kB / 0.9737 GB, free: 3.027 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/0.1566, allocations: 0.7795 MB / 0.9744 GB, free: 2.109 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.1592, allocations: 0.6144 MB / 0.975 GB, free: 1.426 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.594e-05/0.1593, allocations: 104.6 kB / 0.9751 GB, free: 1.301 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.1594, allocations: 42.97 kB / 0.9752 GB, free: 1.262 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.1596, allocations: 137.3 kB / 0.9753 GB, free: 1.129 MB / 0.948 GB Notification: Performance of SimCode: time 9.12e-07/0.1596, allocations: 0 / 0.9753 GB, free: 1.129 MB / 0.948 GB Notification: Performance of Templates: time 0.007307/0.1669, allocations: 6.182 MB / 0.9813 GB, free: 11.11 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.357399933971465]