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.0009399/0.0009399, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001473/0.002413, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009169/0.0009169, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001329/0.002246, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9139/0.9139, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08962/1.003, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.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.753/1.753, allocations: 378.4 MB / 0.6079 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4218/2.175, allocations: 123.3 MB / 0.7283 GB, free: 5.75 MB / 0.698 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 2.074e-06/2.074e-06, allocations: 0 / 0.7296 GB, free: 4.434 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.297e-05, allocations: 2.969 kB / 0.7296 GB, free: 4.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1398/0.1398, allocations: 146.8 MB / 0.873 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002921/0.1427, allocations: 1.43 MB / 0.8744 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003412/0.1431, allocations: 19.81 kB / 0.8745 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003774/0.1435, allocations: 142.9 kB / 0.8746 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009476/0.1444, allocations: 0.5089 MB / 0.8751 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006636/0.1451, allocations: 383.1 kB / 0.8755 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008381/0.1459, allocations: 0.8414 MB / 0.8763 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004058/0.1463, allocations: 220.6 kB / 0.8765 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006507/0.147, allocations: 456.2 kB / 0.8769 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.1472, allocations: 215.3 kB / 0.8771 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.903e-05/0.1473, allocations: 31.94 kB / 0.8772 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/0.1478, allocations: 311.2 kB / 0.8775 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.787e-05/0.1478, allocations: 119.6 kB / 0.8776 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.148, allocations: 119.8 kB / 0.8777 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005149/0.1485, allocations: 426.6 kB / 0.8781 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.326e-05/0.1485, allocations: 4 kB / 0.8781 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1485, allocations: 4 kB / 0.8781 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.1485, allocations: 3.938 kB / 0.8781 GB, free: 12.07 MB / 0.8542 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.001139/0.1496, allocations: 0.7849 MB / 0.8789 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1497, allocations: 8.031 kB / 0.8789 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000613/0.1503, allocations: 220.3 kB / 0.8791 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.1507, allocations: 294.3 kB / 0.8794 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1507, allocations: 24.59 kB / 0.8794 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.1507, allocations: 35.98 kB / 0.8794 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.151, allocations: 266.3 kB / 0.8797 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.151, allocations: 0 / 0.8797 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.151, allocations: 12 kB / 0.8797 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.1511, allocations: 12.66 kB / 0.8797 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.1512, allocations: 117.9 kB / 0.8798 GB, free: 10.22 MB / 0.8542 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.0009487/0.1522, allocations: 0.9863 MB / 0.8808 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1523, allocations: 134.9 kB / 0.8809 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.1524, allocations: 52.98 kB / 0.881 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.1525, allocations: 47.95 kB / 0.881 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.1526, allocations: 38.56 kB / 0.881 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.153e-06/0.1526, allocations: 0 / 0.881 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.000286/0.1529, allocations: 161.4 kB / 0.8812 GB, free: 8.738 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.1529, allocations: 51.41 kB / 0.8812 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.153, allocations: 247 kB / 0.8815 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.153, allocations: 29.7 kB / 0.8815 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.1531, allocations: 188.9 kB / 0.8817 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.1532, allocations: 79.31 kB / 0.8818 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.1532, allocations: 45.67 kB / 0.8818 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.1533, allocations: 342.8 kB / 0.8821 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.639e-05/0.1533, allocations: 18.83 kB / 0.8821 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.084e-05/0.1534, allocations: 162.1 kB / 0.8823 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.1535, allocations: 133.5 kB / 0.8824 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1535, allocations: 0 / 0.8824 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001527/0.1537, allocations: 134.6 kB / 0.8826 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1537, allocations: 11.28 kB / 0.8826 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1537, allocations: 0 / 0.8826 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.1537, allocations: 4 kB / 0.8826 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.1539, allocations: 56.09 kB / 0.8826 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.1539, allocations: 4 kB / 0.8826 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-05/0.154, allocations: 27.78 kB / 0.8827 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.154, allocations: 11.98 kB / 0.8827 GB, free: 7.117 MB / 0.8542 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.559e-05/0.1541, allocations: 124.6 kB / 0.8828 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.1541, allocations: 23.97 kB / 0.8828 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.1542, allocations: 131.8 kB / 0.8829 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1542, allocations: 4 kB / 0.8829 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.1542, allocations: 0 / 0.8829 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1543, allocations: 11.92 kB / 0.8829 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/0.1548, allocations: 0.5999 MB / 0.8835 GB, free: 6.133 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1548, allocations: 0 / 0.8835 GB, free: 6.133 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.1549, allocations: 48.25 kB / 0.8836 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.1549, allocations: 47.72 kB / 0.8836 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1549, allocations: 4 kB / 0.8836 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1549, allocations: 7.984 kB / 0.8836 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1549, allocations: 4 kB / 0.8836 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1549, allocations: 7.938 kB / 0.8836 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.1551, allocations: 363.1 kB / 0.884 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.1552, allocations: 12 kB / 0.884 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/0.1552, allocations: 12 kB / 0.884 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.1553, allocations: 23.91 kB / 0.884 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.1553, allocations: 8 kB / 0.884 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.196e-05/0.1554, allocations: 88.64 kB / 0.8841 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.1554, allocations: 0 / 0.8841 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002452/0.1556, allocations: 107.8 kB / 0.8842 GB, free: 5.352 MB / 0.8542 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.0001729/0.1558, allocations: 116.2 kB / 0.8843 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.1559, allocations: 110.8 kB / 0.8845 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.1559, allocations: 4 kB / 0.8845 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.679e-05/0.156, allocations: 70.05 kB / 0.8845 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006513/0.1567, allocations: 0.8548 MB / 0.8854 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.1593, allocations: 0.6221 MB / 0.886 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.38e-05/0.1594, allocations: 112.5 kB / 0.8861 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001375/0.1595, allocations: 42.95 kB / 0.8861 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.1597, allocations: 145.3 kB / 0.8863 GB, free: 3.035 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.1597, allocations: 0 / 0.8863 GB, free: 3.035 MB / 0.8542 GB Notification: Performance of Templates: time 0.008227/0.168, allocations: 6.362 MB / 0.8925 GB, free: 12.84 MB / 0.8699 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe/Buildings_12_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: 4.853671845979989]