Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.001665/0.001665, allocations: 113.3 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.001875/0.001875, allocations: 193.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.477/1.477, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 437.1 MB / 0.7178 GB, free: 4.512 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002024, allocations: 63.91 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2933, allocations: 151.6 MB / 1.176 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.819/1.112, allocations: 161.3 MB / 1.333 GB, free: 7.375 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002403/1.115, allocations: 0.9578 MB / 1.334 GB, free: 6.707 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/1.115, allocations: 9.969 kB / 1.334 GB, free: 6.703 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006317/1.116, allocations: 156.8 kB / 1.334 GB, free: 6.605 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00191/1.118, allocations: 0.6306 MB / 1.335 GB, free: 6.281 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007009/1.118, allocations: 229.4 kB / 1.335 GB, free: 6.172 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007719/1.119, allocations: 0.5165 MB / 1.336 GB, free: 5.945 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003706/1.12, allocations: 174.2 kB / 1.336 GB, free: 5.871 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000543/1.12, allocations: 236.8 kB / 1.336 GB, free: 5.77 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/1.12, allocations: 163.8 kB / 1.336 GB, free: 5.695 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/1.12, allocations: 14.31 kB / 1.336 GB, free: 5.695 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/1.122, allocations: 0.5439 MB / 1.337 GB, free: 5.477 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/1.122, allocations: 78.64 kB / 1.337 GB, free: 5.449 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/1.122, allocations: 116.2 kB / 1.337 GB, free: 5.383 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009825/1.123, allocations: 491.2 kB / 1.338 GB, free: 5.227 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.123, allocations: 1.5 kB / 1.338 GB, free: 5.227 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.843e-06/1.123, allocations: 0 / 1.338 GB, free: 5.227 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.695e-06/1.123, allocations: 0 / 1.338 GB, free: 5.227 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001555/1.125, allocations: 0.6043 MB / 1.338 GB, free: 4.738 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/1.125, allocations: 10.22 kB / 1.338 GB, free: 4.738 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/1.125, allocations: 49.28 kB / 1.338 GB, free: 4.723 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/1.125, allocations: 296.5 kB / 1.339 GB, free: 4.465 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/1.126, allocations: 10.42 kB / 1.339 GB, free: 4.461 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/1.126, allocations: 16.19 kB / 1.339 GB, free: 4.457 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005511/1.126, allocations: 244.8 kB / 1.339 GB, free: 4.359 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/1.126, allocations: 0 / 1.339 GB, free: 4.359 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/1.126, allocations: 6.219 kB / 1.339 GB, free: 4.355 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.359e-05/1.126, allocations: 16.42 kB / 1.339 GB, free: 4.348 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006093/1.127, allocations: 255.1 kB / 1.339 GB, free: 4.27 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.001449/1.128, allocations: 0.8378 MB / 1.34 GB, free: 3.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/1.129, allocations: 141.9 kB / 1.34 GB, free: 3.621 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/1.129, allocations: 112.2 kB / 1.34 GB, free: 3.582 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003001/1.129, allocations: 192.5 kB / 1.34 GB, free: 3.387 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/1.129, allocations: 31.97 kB / 1.34 GB, free: 3.348 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 3.327e-06/1.129, allocations: 3.938 kB / 1.34 GB, free: 3.344 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0008706/1.13, allocations: 306.9 kB / 1.341 GB, free: 3.227 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/1.13, allocations: 52.72 kB / 1.341 GB, free: 3.164 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/1.13, allocations: 247.3 kB / 1.341 GB, free: 3.016 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/1.13, allocations: 27.2 kB / 1.341 GB, free: 2.984 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/1.131, allocations: 139.5 kB / 1.341 GB, free: 2.863 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/1.131, allocations: 43.16 kB / 1.341 GB, free: 2.828 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.068e-05/1.131, allocations: 39.16 kB / 1.341 GB, free: 2.801 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.131, allocations: 331.7 kB / 1.341 GB, free: 2.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/1.131, allocations: 64.08 kB / 1.342 GB, free: 2.465 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/1.131, allocations: 107.3 kB / 1.342 GB, free: 2.414 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/1.132, allocations: 167.6 kB / 1.342 GB, free: 2.344 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.132, allocations: 1.25 kB / 1.342 GB, free: 2.344 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004689/1.132, allocations: 219.8 kB / 1.342 GB, free: 2.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.132, allocations: 5.719 kB / 1.342 GB, free: 2.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.132, allocations: 5.438 kB / 1.342 GB, free: 2.246 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.132, allocations: 1.562 kB / 1.342 GB, free: 2.246 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/1.132, allocations: 38.39 kB / 1.342 GB, free: 2.238 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/1.132, allocations: 1.25 kB / 1.342 GB, free: 2.238 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/1.133, allocations: 23.52 kB / 1.342 GB, free: 2.227 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/1.133, allocations: 9.719 kB / 1.342 GB, free: 2.223 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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 0.0001493/1.133, allocations: 141.3 kB / 1.342 GB, free: 2.094 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/1.133, allocations: 22.22 kB / 1.342 GB, free: 2.082 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.315e-05/1.133, allocations: 37.31 kB / 1.342 GB, free: 2.059 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.133, allocations: 1.312 kB / 1.342 GB, free: 2.059 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.133, allocations: 1.219 kB / 1.342 GB, free: 2.059 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/1.133, allocations: 0 / 1.342 GB, free: 2.059 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/1.134, allocations: 0.6803 MB / 1.343 GB, free: 1.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.134, allocations: 1.969 kB / 1.343 GB, free: 1.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/1.134, allocations: 33.7 kB / 1.343 GB, free: 1.566 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/1.134, allocations: 2.188 kB / 1.343 GB, free: 1.566 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/1.134, allocations: 4.609 kB / 1.343 GB, free: 1.566 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/1.134, allocations: 7.062 kB / 1.343 GB, free: 1.562 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.134, allocations: 2.125 kB / 1.343 GB, free: 1.562 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005677/1.135, allocations: 368.2 kB / 1.343 GB, free: 1.293 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/1.135, allocations: 111.8 kB / 1.343 GB, free: 1.184 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/1.135, allocations: 8.312 kB / 1.343 GB, free: 1.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/1.135, allocations: 12.06 kB / 1.343 GB, free: 1.176 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/1.135, allocations: 21.23 kB / 1.343 GB, free: 1.164 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/1.135, allocations: 6.156 kB / 1.343 GB, free: 1.164 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002005/1.136, allocations: 178.8 kB / 1.344 GB, free: 1.059 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.136, allocations: 1.375 kB / 1.344 GB, free: 1.059 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004051/1.136, allocations: 56.64 kB / 1.344 GB, free: 1.051 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.0004437/1.136, allocations: 155.4 kB / 1.344 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005148/1.137, allocations: 176.2 kB / 1.344 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.137, allocations: 0 / 1.344 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/1.137, allocations: 94.41 kB / 1.344 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007666/1.138, allocations: 134.1 kB / 1.344 GB, free: 0.832 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008275/1.139, allocations: 483.7 kB / 1.345 GB, free: 492 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/1.139, allocations: 0.7501 MB / 1.345 GB, free: 15.78 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.785e-05/1.139, allocations: 19.91 kB / 1.345 GB, free: 15.77 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/1.139, allocations: 0 / 1.345 GB, free: 15.77 MB / 1.029 GB Notification: Performance of Templates: time 0.006281/1.146, allocations: 3.717 MB / 1.349 GB, free: 15.44 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,res.dp,res.sta_a.T,res.sta_b.T Variables in the result:res.dp,res.sta_a.T,res.sta_b.T,time [Calling sys.exit(0), Time elapsed: 11.96114834700711]