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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001785/0.001786, allocations: 111.1 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.044/3.044, allocations: 489.3 MB / 0.7687 GB, free: 3.75 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001968/0.001968, allocations: 67.89 kB / 1.103 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9306/0.9325, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.03136/0.9639, allocations: 28.96 MB / 1.291 GB, free: 3.246 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01137/0.9754, allocations: 6.791 MB / 1.297 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/0.977, allocations: 38.81 kB / 1.298 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.9783, allocations: 408 kB / 1.298 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004641/0.983, allocations: 1.304 MB / 1.299 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.9852, allocations: 0.6224 MB / 1.3 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003984/0.9892, allocations: 2.132 MB / 1.302 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.9904, allocations: 0.55 MB / 1.302 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/0.9928, allocations: 0.9337 MB / 1.303 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00099/0.9938, allocations: 0.5098 MB / 1.304 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.493e-05/0.9939, allocations: 41.91 kB / 1.304 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/0.9965, allocations: 0.9817 MB / 1.305 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.9967, allocations: 155.5 kB / 1.305 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005483/0.9973, allocations: 378.7 kB / 1.305 GB, free: 10.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002734/1, allocations: 1.227 MB / 1.307 GB, free: 10.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1, allocations: 3.938 kB / 1.307 GB, free: 10.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.144e-06/1, allocations: 4.609 kB / 1.307 GB, free: 10.13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.216e-05/1, allocations: 1.062 kB / 1.307 GB, free: 10.13 MB / 1.029 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.002039/1.002, allocations: 1.161 MB / 1.308 GB, free: 9.262 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/1.002, allocations: 10.16 kB / 1.308 GB, free: 9.262 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/1.002, allocations: 94.41 kB / 1.308 GB, free: 9.211 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/1.004, allocations: 0.7837 MB / 1.309 GB, free: 8.727 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/1.004, allocations: 29.28 kB / 1.309 GB, free: 8.715 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/1.004, allocations: 38.48 kB / 1.309 GB, free: 8.703 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005929/1.005, allocations: 325 kB / 1.309 GB, free: 8.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.005, allocations: 0 / 1.309 GB, free: 8.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/1.005, allocations: 14.19 kB / 1.309 GB, free: 8.559 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/1.005, allocations: 9.25 kB / 1.309 GB, free: 8.559 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/1.005, allocations: 239.6 kB / 1.309 GB, free: 8.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/1.008, allocations: 1.458 MB / 1.311 GB, free: 7.473 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/1.008, allocations: 144.3 kB / 1.311 GB, free: 7.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/1.008, allocations: 110.8 kB / 1.311 GB, free: 7.371 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000775/1.009, allocations: 0.8184 MB / 1.312 GB, free: 6.422 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/1.009, allocations: 32 kB / 1.312 GB, free: 6.383 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.885e-06/1.009, allocations: 0 / 1.312 GB, free: 6.383 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0007045/1.01, allocations: 317.8 kB / 1.312 GB, free: 6.246 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/1.01, allocations: 54.78 kB / 1.312 GB, free: 6.184 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/1.011, allocations: 0.7206 MB / 1.313 GB, free: 5.875 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/1.011, allocations: 36.8 kB / 1.313 GB, free: 5.836 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/1.011, allocations: 366.8 kB / 1.313 GB, free: 5.543 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.473e-05/1.011, allocations: 71.84 kB / 1.313 GB, free: 5.488 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/1.011, allocations: 96.17 kB / 1.313 GB, free: 5.441 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.012, allocations: 323.2 kB / 1.314 GB, free: 5.129 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/1.012, allocations: 113.7 kB / 1.314 GB, free: 5.082 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/1.012, allocations: 269.7 kB / 1.314 GB, free: 4.855 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/1.013, allocations: 344.4 kB / 1.314 GB, free: 4.605 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.013, allocations: 1.094 kB / 1.314 GB, free: 4.605 MB / 1.029 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008228/1.013, allocations: 453.5 kB / 1.315 GB, free: 4.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.013, allocations: 6.719 kB / 1.315 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/1.013, allocations: 8.031 kB / 1.315 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/1.013, allocations: 7.688 kB / 1.315 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004628/1.018, allocations: 0.6743 MB / 1.315 GB, free: 4.375 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009284/1.019, allocations: 1.208 MB / 1.317 GB, free: 3.172 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007064/1.02, allocations: 51.12 kB / 1.317 GB, free: 3.141 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/1.02, allocations: 24.64 kB / 1.317 GB, free: 3.137 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004308/1.02, allocations: 244.9 kB / 1.317 GB, free: 3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003741/1.021, allocations: 293.3 kB / 1.317 GB, free: 2.742 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004737/1.021, allocations: 354.4 kB / 1.317 GB, free: 2.473 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.337e-06/1.021, allocations: 1.125 kB / 1.317 GB, free: 2.473 MB / 1.029 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008215/1.022, allocations: 437.7 kB / 1.318 GB, free: 2.289 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.022, allocations: 12.91 kB / 1.318 GB, free: 2.285 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.022, allocations: 8.641 kB / 1.318 GB, free: 2.281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/1.022, allocations: 7 kB / 1.318 GB, free: 2.281 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004386/1.026, allocations: 0.684 MB / 1.319 GB, free: 2.238 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000842/1.027, allocations: 1.208 MB / 1.32 GB, free: 1.035 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006124/1.028, allocations: 33.23 kB / 1.32 GB, free: 1.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/1.028, allocations: 23.84 kB / 1.32 GB, free: 1.016 MB / 1.029 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.0002241/1.028, allocations: 210.8 kB / 1.32 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/1.028, allocations: 78.36 kB / 1.32 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007354/1.029, allocations: 386.6 kB / 1.32 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/1.029, allocations: 3.703 kB / 1.32 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.029, allocations: 5.469 kB / 1.32 GB, free: 0.582 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.029, allocations: 1.031 kB / 1.32 GB, free: 0.582 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/1.031, allocations: 0.9975 MB / 1.321 GB, free: 15.97 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.031, allocations: 2.656 kB / 1.321 GB, free: 15.97 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.68e-05/1.031, allocations: 31.91 kB / 1.321 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/1.031, allocations: 4 kB / 1.321 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/1.031, allocations: 8.828 kB / 1.321 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/1.031, allocations: 4.109 kB / 1.321 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.031, allocations: 2.203 kB / 1.321 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/1.031, allocations: 471.7 kB / 1.322 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/1.032, allocations: 175.5 kB / 1.322 GB, free: 15.48 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.719e-05/1.032, allocations: 8.234 kB / 1.322 GB, free: 15.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/1.032, allocations: 8.672 kB / 1.322 GB, free: 15.48 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/1.032, allocations: 21.95 kB / 1.322 GB, free: 15.47 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/1.032, allocations: 9.562 kB / 1.322 GB, free: 15.47 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0006971/1.033, allocations: 0.5015 MB / 1.323 GB, free: 15.25 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.637e-06/1.033, allocations: 0 / 1.323 GB, free: 15.25 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001374/1.034, allocations: 397 kB / 1.323 GB, free: 15.16 MB / 1.045 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.0008827/1.035, allocations: 377.3 kB / 1.323 GB, free: 14.98 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01368/1.049, allocations: 2.229 MB / 1.326 GB, free: 14.76 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/1.049, allocations: 1.125 kB / 1.326 GB, free: 14.76 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/1.049, allocations: 126.3 kB / 1.326 GB, free: 14.71 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/1.051, allocations: 296.3 kB / 1.326 GB, free: 14.61 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/1.053, allocations: 1.12 MB / 1.327 GB, free: 13.93 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006101/1.053, allocations: 0.9189 MB / 1.328 GB, free: 13.21 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/1.054, allocations: 58.8 kB / 1.328 GB, free: 13.2 MB / 1.045 GB Notification: Performance of SimCode: time 4.21e-07/1.054, allocations: 0 / 1.328 GB, free: 13.2 MB / 1.045 GB Notification: Performance of Templates: time 0.02622/1.08, allocations: 14.72 MB / 1.342 GB, free: 8.453 MB / 1.045 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.494968485087156]