Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002224/0.002224, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001747/0.001747, allocations: 200.7 kB / 22.17 MB, free: 5.211 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.531/1.531, allocations: 225.6 MB / 250.9 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.017/3.017, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_Buildings.DHC.Networks.Pipes.Validation.Pipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002923/0.002923, allocations: 71.88 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087/1.09, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.03722/1.127, allocations: 29.4 MB / 1.303 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01171/1.139, allocations: 6.829 MB / 1.309 GB, free: 188 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/1.141, allocations: 39.75 kB / 1.309 GB, free: 148 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/1.142, allocations: 429 kB / 1.31 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004586/1.147, allocations: 1.376 MB / 1.311 GB, free: 14.34 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002269/1.149, allocations: 0.632 MB / 1.312 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003986/1.153, allocations: 2.155 MB / 1.314 GB, free: 11.55 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009423/1.154, allocations: 456.9 kB / 1.314 GB, free: 11.09 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/1.156, allocations: 0.8209 MB / 1.315 GB, free: 10.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009492/1.157, allocations: 0.5482 MB / 1.316 GB, free: 9.719 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.758e-05/1.157, allocations: 40 kB / 1.316 GB, free: 9.68 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/1.16, allocations: 1.006 MB / 1.317 GB, free: 8.672 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002593/1.16, allocations: 163.2 kB / 1.317 GB, free: 8.512 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006348/1.161, allocations: 369.9 kB / 1.317 GB, free: 8.148 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003052/1.164, allocations: 1.241 MB / 1.318 GB, free: 6.902 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.164, allocations: 0 / 1.318 GB, free: 6.902 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.845e-06/1.164, allocations: 0 / 1.318 GB, free: 6.902 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.379e-05/1.164, allocations: 3.938 kB / 1.318 GB, free: 6.898 MB / 1.014 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.002204/1.166, allocations: 1.165 MB / 1.32 GB, free: 5.684 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.166, allocations: 8.031 kB / 1.32 GB, free: 5.676 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/1.166, allocations: 96.38 kB / 1.32 GB, free: 5.582 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/1.168, allocations: 0.7852 MB / 1.32 GB, free: 4.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/1.168, allocations: 25 kB / 1.32 GB, free: 4.727 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/1.168, allocations: 40 kB / 1.321 GB, free: 4.688 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006093/1.169, allocations: 322.5 kB / 1.321 GB, free: 4.371 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/1.169, allocations: 0 / 1.321 GB, free: 4.371 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/1.169, allocations: 16 kB / 1.321 GB, free: 4.355 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/1.169, allocations: 8 kB / 1.321 GB, free: 4.348 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/1.169, allocations: 243.8 kB / 1.321 GB, free: 4.105 MB / 1.014 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.002535/1.172, allocations: 1.457 MB / 1.323 GB, free: 2.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/1.172, allocations: 134.5 kB / 1.323 GB, free: 2.379 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/1.172, allocations: 100.8 kB / 1.323 GB, free: 2.277 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009099/1.173, allocations: 0.8155 MB / 1.324 GB, free: 1.277 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/1.173, allocations: 38.56 kB / 1.324 GB, free: 1.23 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.924e-06/1.173, allocations: 3.938 kB / 1.324 GB, free: 1.227 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.0007137/1.174, allocations: 317.3 kB / 1.324 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/1.174, allocations: 51.41 kB / 1.324 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009954/1.175, allocations: 0.7196 MB / 1.325 GB, free: 124 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/1.175, allocations: 29.7 kB / 1.325 GB, free: 88 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/1.175, allocations: 368.2 kB / 1.325 GB, free: 15.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/1.175, allocations: 75.36 kB / 1.325 GB, free: 15.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/1.176, allocations: 106 kB / 1.325 GB, free: 15.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.176, allocations: 318 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/1.176, allocations: 114.5 kB / 1.326 GB, free: 15.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/1.176, allocations: 276 kB / 1.326 GB, free: 14.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/1.177, allocations: 348 kB / 1.326 GB, free: 14.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/1.177, allocations: 0 / 1.326 GB, free: 14.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008122/1.178, allocations: 440.9 kB / 1.327 GB, free: 13.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/1.178, allocations: 8 kB / 1.327 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.178, allocations: 7.938 kB / 1.327 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/1.178, allocations: 8 kB / 1.327 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004718/1.182, allocations: 0.687 MB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009969/1.183, allocations: 1.203 MB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005994/1.184, allocations: 51.86 kB / 1.329 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/1.184, allocations: 27.98 kB / 1.329 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000427/1.185, allocations: 240.9 kB / 1.329 GB, free: 11.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003942/1.185, allocations: 289.7 kB / 1.329 GB, free: 11.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004909/1.185, allocations: 349.8 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.129e-06/1.185, allocations: 4 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008114/1.186, allocations: 444.6 kB / 1.33 GB, free: 10.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.186, allocations: 8 kB / 1.33 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.186, allocations: 4 kB / 1.33 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/1.186, allocations: 8 kB / 1.33 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004538/1.191, allocations: 0.6753 MB / 1.33 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009325/1.192, allocations: 1.207 MB / 1.332 GB, free: 8.492 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/1.192, allocations: 35.88 kB / 1.332 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/1.192, allocations: 23.98 kB / 1.332 GB, free: 8.434 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.0002618/1.193, allocations: 212.3 kB / 1.332 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/1.193, allocations: 71.53 kB / 1.332 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008122/1.194, allocations: 385.1 kB / 1.332 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/1.194, allocations: 0 / 1.332 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.194, allocations: 7.938 kB / 1.332 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/1.194, allocations: 3.984 kB / 1.332 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/1.195, allocations: 1.006 MB / 1.333 GB, free: 6.656 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.195, allocations: 0 / 1.333 GB, free: 6.656 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/1.196, allocations: 28.23 kB / 1.333 GB, free: 6.629 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/1.196, allocations: 8 kB / 1.333 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/1.196, allocations: 8 kB / 1.333 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/1.196, allocations: 7.938 kB / 1.333 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.196, allocations: 4 kB / 1.333 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006435/1.196, allocations: 474.4 kB / 1.334 GB, free: 6.098 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002953/1.197, allocations: 172.5 kB / 1.334 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/1.197, allocations: 8 kB / 1.334 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/1.197, allocations: 8 kB / 1.334 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/1.197, allocations: 31.91 kB / 1.334 GB, free: 5.863 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/1.197, allocations: 8 kB / 1.334 GB, free: 5.855 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007603/1.198, allocations: 0.499 MB / 1.335 GB, free: 5.359 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/1.198, allocations: 0 / 1.335 GB, free: 5.359 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00131/1.199, allocations: 395.1 kB / 1.335 GB, free: 4.973 MB / 1.029 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.0009752/1.2, allocations: 382.9 kB / 1.335 GB, free: 4.598 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01432/1.214, allocations: 2.208 MB / 1.337 GB, free: 2.391 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.214, allocations: 0 / 1.337 GB, free: 2.391 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002605/1.215, allocations: 117.1 kB / 1.338 GB, free: 2.277 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/1.217, allocations: 288.2 kB / 1.338 GB, free: 2 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/1.219, allocations: 1.102 MB / 1.339 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007138/1.219, allocations: 0.9255 MB / 1.34 GB, free: 15.89 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0006253/1.22, allocations: 185.4 kB / 1.34 GB, free: 15.71 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/1.22, allocations: 55.42 kB / 1.34 GB, free: 15.66 MB / 1.045 GB Notification: Performance of SimCode: time 1.533e-06/1.22, allocations: 0 / 1.34 GB, free: 15.66 MB / 1.045 GB Notification: Performance of Templates: time 0.03064/1.251, allocations: 13.85 MB / 1.354 GB, free: 1.984 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; mkfifo Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe >> ../files/Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.sim & ./Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.DHC.Networks.Pipes.Validation.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Networks_Pipes_Validation_Pipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.06686662696302]