Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.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.001502/0.001502, allocations: 80.45 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001638/0.001638, allocations: 160.8 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.466/1.466, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3/3, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.DHC.Networks.Pipes.Validation.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pipSta1.dh|pipAut1.dh|pipSta2.dh|pipAut2.dh|pipSta1.dp|pipAut1.dp|pipSta2.dp|pipAut2.dp",fileNamePrefix="Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe") translateModel(Buildings.DHC.Networks.Pipes.Validation.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pipSta1.dh|pipAut1.dh|pipSta2.dh|pipAut2.dh|pipSta1.dp|pipAut1.dp|pipSta2.dp|pipAut2.dp",fileNamePrefix="Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.701e-05, allocations: 2.281 kB / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.03129/0.03132, allocations: 26.6 MB / 1.026 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01078/0.04209, allocations: 6.299 MB / 1.032 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.04335, allocations: 59.5 kB / 1.032 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.04458, allocations: 416.9 kB / 1.033 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004176/0.04875, allocations: 1.399 MB / 1.034 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.05091, allocations: 0.7032 MB / 1.035 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003519/0.05443, allocations: 2.146 MB / 1.037 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007712/0.0552, allocations: 445.6 kB / 1.037 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002886/0.05808, allocations: 1.363 MB / 1.039 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000912/0.059, allocations: 434.5 kB / 1.039 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.872e-05/0.0591, allocations: 36 kB / 1.039 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.06114, allocations: 0.7053 MB / 1.04 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.06135, allocations: 151.2 kB / 1.04 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003181/0.06167, allocations: 231.3 kB / 1.04 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.06339, allocations: 1.164 MB / 1.041 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.06339, allocations: 0 / 1.041 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.06339, allocations: 0 / 1.041 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.0634, allocations: 7.875 kB / 1.041 GB, free: 13.02 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001643/0.06504, allocations: 1.067 MB / 1.042 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.06509, allocations: 8.031 kB / 1.042 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.06526, allocations: 92.38 kB / 1.042 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.0667, allocations: 0.6898 MB / 1.043 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.06673, allocations: 29 kB / 1.043 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.06679, allocations: 36 kB / 1.043 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/0.06733, allocations: 318.5 kB / 1.043 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.06734, allocations: 0 / 1.043 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.06738, allocations: 12 kB / 1.043 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.06739, allocations: 8 kB / 1.043 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.06779, allocations: 235.9 kB / 1.044 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.0695, allocations: 0.9312 MB / 1.045 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.06977, allocations: 142.4 kB / 1.045 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.06992, allocations: 100.8 kB / 1.045 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002768/0.0702, allocations: 79.94 kB / 1.045 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.07023, allocations: 38.56 kB / 1.045 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/0.07023, allocations: 0 / 1.045 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0005895/0.07082, allocations: 303.1 kB / 1.045 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.07087, allocations: 51.41 kB / 1.045 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008092/0.07168, allocations: 0.6568 MB / 1.046 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.07172, allocations: 33.7 kB / 1.046 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/0.07205, allocations: 368.4 kB / 1.046 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.07219, allocations: 71.36 kB / 1.046 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.07235, allocations: 114 kB / 1.046 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002456/0.0726, allocations: 374.8 kB / 1.047 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.07278, allocations: 102.8 kB / 1.047 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006657/0.07345, allocations: 0.5713 MB / 1.047 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.07395, allocations: 339.9 kB / 1.048 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.07396, allocations: 0 / 1.048 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007251/0.07468, allocations: 428.8 kB / 1.048 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.0747, allocations: 8 kB / 1.048 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.07471, allocations: 4 kB / 1.048 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.07473, allocations: 8 kB / 1.048 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00664/0.08137, allocations: 0.9288 MB / 1.049 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.08238, allocations: 1.199 MB / 1.05 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.08274, allocations: 43.97 kB / 1.05 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.0828, allocations: 27.98 kB / 1.05 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003956/0.08319, allocations: 245.1 kB / 1.051 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000561/0.08375, allocations: 0.5808 MB / 1.051 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004865/0.08424, allocations: 353.8 kB / 1.052 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-06/0.08424, allocations: 0 / 1.052 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007586/0.085, allocations: 436.7 kB / 1.052 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.08501, allocations: 8 kB / 1.052 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.08502, allocations: 4 kB / 1.052 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.08503, allocations: 8 kB / 1.052 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006472/0.0915, allocations: 0.9326 MB / 1.053 GB, free: 472 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008743/0.09237, allocations: 1.199 MB / 1.054 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.09271, allocations: 36 kB / 1.054 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/0.09275, allocations: 24 kB / 1.054 GB, free: 15.16 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002127/0.09296, allocations: 204.7 kB / 1.054 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.09308, allocations: 75.7 kB / 1.054 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007166/0.09379, allocations: 399 kB / 1.055 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.09381, allocations: 3.984 kB / 1.055 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.09381, allocations: 0 / 1.055 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.09382, allocations: 0 / 1.055 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.09516, allocations: 0.879 MB / 1.056 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.09517, allocations: 4 kB / 1.056 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.09527, allocations: 31.92 kB / 1.056 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.09528, allocations: 4 kB / 1.056 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.0953, allocations: 11.94 kB / 1.056 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.09531, allocations: 7.984 kB / 1.056 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.09531, allocations: 0 / 1.056 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/0.09589, allocations: 465.9 kB / 1.056 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.09605, allocations: 95.42 kB / 1.056 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.877e-05/0.09612, allocations: 4 kB / 1.056 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.09631, allocations: 4 kB / 1.056 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.09636, allocations: 23.91 kB / 1.056 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.09638, allocations: 15.92 kB / 1.056 GB, free: 12.83 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006247/0.09701, allocations: 447 kB / 1.057 GB, free: 12.39 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.09701, allocations: 0 / 1.057 GB, free: 12.39 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001118/0.09812, allocations: 379 kB / 1.057 GB, free: 12.02 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0006593/0.09878, allocations: 358.3 kB / 1.057 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0343/0.1331, allocations: 4.764 MB / 1.062 GB, free: 6.895 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.1331, allocations: 0 / 1.062 GB, free: 6.895 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.1333, allocations: 113 kB / 1.062 GB, free: 6.785 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.1348, allocations: 236.8 kB / 1.062 GB, free: 6.559 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.1371, allocations: 1.151 MB / 1.063 GB, free: 5.355 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.1375, allocations: 333.8 kB / 1.064 GB, free: 5.004 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005109/0.138, allocations: 177.2 kB / 1.064 GB, free: 4.828 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.1381, allocations: 52.48 kB / 1.064 GB, free: 4.777 MB / 1.014 GB Notification: Performance of SimCode: time 9.92e-07/0.1381, allocations: 0 / 1.064 GB, free: 4.777 MB / 1.014 GB Notification: Performance of Templates: time 0.0243/0.1624, allocations: 11.92 MB / 1.076 GB, free: 9.098 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; mkfifo Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe >> ../files/Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.sim & ./Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Networks_Pipes_Validation_Pipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.952082585543394]