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.001857/0.001857, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002185/0.002185, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.567/1.567, allocations: 225.6 MB / 249.4 MB, free: 3.164 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.119/3.119, allocations: 496.2 MB / 0.7819 GB, free: 12.31 MB / 0.6231 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.001999/0.001999, allocations: 71.88 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141/1.143, allocations: 173.6 MB / 1.305 GB, free: 33.44 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.02408/1.167, allocations: 29.44 MB / 1.334 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009791/1.177, allocations: 6.83 MB / 1.341 GB, free: 7.672 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/1.179, allocations: 38.34 kB / 1.341 GB, free: 7.656 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/1.18, allocations: 425.3 kB / 1.341 GB, free: 7.395 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004805/1.185, allocations: 1.356 MB / 1.343 GB, free: 6.629 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00238/1.187, allocations: 0.6453 MB / 1.343 GB, free: 6.309 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00455/1.192, allocations: 2.143 MB / 1.345 GB, free: 5.352 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/1.193, allocations: 459.3 kB / 1.346 GB, free: 5.129 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002636/1.196, allocations: 0.9624 MB / 1.347 GB, free: 4.691 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009864/1.197, allocations: 0.5288 MB / 1.347 GB, free: 4.461 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.714e-05/1.197, allocations: 40.69 kB / 1.347 GB, free: 4.461 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002689/1.199, allocations: 0.9962 MB / 1.348 GB, free: 4.113 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/1.2, allocations: 159.8 kB / 1.348 GB, free: 4.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004621/1.2, allocations: 378 kB / 1.349 GB, free: 3.801 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002417/1.202, allocations: 1.227 MB / 1.35 GB, free: 3.352 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.202, allocations: 1.188 kB / 1.35 GB, free: 3.352 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.244e-06/1.202, allocations: 0 / 1.35 GB, free: 3.352 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.058e-05/1.202, allocations: 0 / 1.35 GB, free: 3.352 MB / 1.061 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.001714/1.204, allocations: 1.173 MB / 1.351 GB, free: 2.473 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.204, allocations: 10.27 kB / 1.351 GB, free: 2.473 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/1.204, allocations: 90.81 kB / 1.351 GB, free: 2.426 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/1.206, allocations: 0.7789 MB / 1.352 GB, free: 1.949 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/1.206, allocations: 29.53 kB / 1.352 GB, free: 1.938 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.068e-05/1.206, allocations: 38.56 kB / 1.352 GB, free: 1.926 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006754/1.207, allocations: 324.7 kB / 1.352 GB, free: 1.793 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/1.207, allocations: 0 / 1.352 GB, free: 1.793 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/1.207, allocations: 14.75 kB / 1.352 GB, free: 1.781 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/1.207, allocations: 8.75 kB / 1.352 GB, free: 1.781 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/1.207, allocations: 240.4 kB / 1.353 GB, free: 1.707 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/1.209, allocations: 1.461 MB / 1.354 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/1.21, allocations: 138.8 kB / 1.354 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/1.21, allocations: 108.5 kB / 1.354 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006953/1.21, allocations: 0.8176 MB / 1.355 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/1.211, allocations: 33.53 kB / 1.355 GB, free: 15.6 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 2.254e-06/1.211, allocations: 0 / 1.355 GB, free: 15.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.0007408/1.211, allocations: 313.1 kB / 1.355 GB, free: 15.47 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/1.211, allocations: 53.67 kB / 1.355 GB, free: 15.41 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/1.212, allocations: 0.7174 MB / 1.356 GB, free: 15.1 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/1.212, allocations: 39.98 kB / 1.356 GB, free: 15.06 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/1.213, allocations: 367.9 kB / 1.356 GB, free: 14.77 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.901e-05/1.213, allocations: 70.58 kB / 1.357 GB, free: 14.71 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/1.213, allocations: 100.3 kB / 1.357 GB, free: 14.66 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001771/1.213, allocations: 323.2 kB / 1.357 GB, free: 14.35 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/1.213, allocations: 109.5 kB / 1.357 GB, free: 14.31 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/1.214, allocations: 270.2 kB / 1.357 GB, free: 14.08 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005342/1.214, allocations: 352.6 kB / 1.358 GB, free: 13.82 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.214, allocations: 1 kB / 1.358 GB, free: 13.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009028/1.215, allocations: 449.2 kB / 1.358 GB, free: 13.63 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/1.215, allocations: 7.094 kB / 1.358 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/1.215, allocations: 12.38 kB / 1.358 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/1.215, allocations: 7.578 kB / 1.358 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00494/1.22, allocations: 0.6726 MB / 1.359 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009051/1.221, allocations: 1.209 MB / 1.36 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006816/1.222, allocations: 50.61 kB / 1.36 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.47e-05/1.222, allocations: 25.12 kB / 1.36 GB, free: 12.35 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004563/1.222, allocations: 244.9 kB / 1.36 GB, free: 12.21 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000393/1.223, allocations: 281.5 kB / 1.361 GB, free: 11.97 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005036/1.223, allocations: 346 kB / 1.361 GB, free: 11.71 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.479e-06/1.223, allocations: 6.625 kB / 1.361 GB, free: 11.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000843/1.224, allocations: 445 kB / 1.361 GB, free: 11.51 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.224, allocations: 8.422 kB / 1.361 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.224, allocations: 9.344 kB / 1.361 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/1.224, allocations: 6.188 kB / 1.361 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004623/1.229, allocations: 0.6801 MB / 1.362 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009698/1.23, allocations: 1.202 MB / 1.363 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007378/1.231, allocations: 37.61 kB / 1.363 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/1.231, allocations: 23.45 kB / 1.363 GB, free: 10.25 MB / 1.076 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.0003116/1.231, allocations: 210.1 kB / 1.363 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/1.231, allocations: 77.91 kB / 1.363 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009699/1.232, allocations: 377.5 kB / 1.364 GB, free: 9.828 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.802e-05/1.232, allocations: 6.922 kB / 1.364 GB, free: 9.824 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/1.232, allocations: 3.938 kB / 1.364 GB, free: 9.82 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/1.232, allocations: 3.141 kB / 1.364 GB, free: 9.82 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/1.234, allocations: 1.005 MB / 1.365 GB, free: 9.203 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/1.234, allocations: 1.25 kB / 1.365 GB, free: 9.203 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/1.234, allocations: 31.92 kB / 1.365 GB, free: 9.199 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/1.234, allocations: 8.141 kB / 1.365 GB, free: 9.195 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/1.234, allocations: 12.45 kB / 1.365 GB, free: 9.188 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/1.234, allocations: 4.203 kB / 1.365 GB, free: 9.188 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.234, allocations: 3 kB / 1.365 GB, free: 9.188 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000713/1.235, allocations: 471.5 kB / 1.365 GB, free: 8.867 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/1.235, allocations: 172.6 kB / 1.366 GB, free: 8.719 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.984e-05/1.235, allocations: 12.2 kB / 1.366 GB, free: 8.711 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/1.236, allocations: 6.938 kB / 1.366 GB, free: 8.711 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/1.236, allocations: 25.73 kB / 1.366 GB, free: 8.699 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/1.236, allocations: 14.58 kB / 1.366 GB, free: 8.695 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009398/1.237, allocations: 0.4968 MB / 1.366 GB, free: 8.48 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.237, allocations: 1.312 kB / 1.366 GB, free: 8.48 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001999/1.239, allocations: 392.6 kB / 1.366 GB, free: 8.395 MB / 1.076 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.0009723/1.24, allocations: 378.9 kB / 1.367 GB, free: 8.203 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01475/1.254, allocations: 2.206 MB / 1.369 GB, free: 7.988 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.254, allocations: 4 kB / 1.369 GB, free: 7.984 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002518/1.255, allocations: 109.9 kB / 1.369 GB, free: 7.953 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/1.256, allocations: 294.5 kB / 1.369 GB, free: 7.852 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/1.258, allocations: 1.101 MB / 1.37 GB, free: 7.199 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/1.259, allocations: 0.921 MB / 1.371 GB, free: 6.484 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005978/1.26, allocations: 191.3 kB / 1.371 GB, free: 6.438 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/1.26, allocations: 51.3 kB / 1.372 GB, free: 6.43 MB / 1.076 GB Notification: Performance of SimCode: time 1.693e-06/1.26, allocations: 0 / 1.372 GB, free: 6.43 MB / 1.076 GB Notification: Performance of Templates: time 0.03251/1.292, allocations: 13.84 MB / 1.385 GB, free: 5.043 MB / 1.076 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1) [Timeout 400] 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: 10.830834592692554]