Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.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.001406/0.001406, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001591/0.001591, allocations: 221.9 kB / 23 MB, free: 4.914 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.842/2.842, allocations: 476 MB / 0.7707 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 69.98 kB / 1.118 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3684, allocations: 170 MB / 1.284 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005982/0.3743, allocations: 3.06 MB / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002654/0.377, allocations: 1.317 MB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.3772, allocations: 4 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.3783, allocations: 338.6 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004362/0.3788, allocations: 151.2 kB / 1.289 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.3792, allocations: 127.7 kB / 1.289 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004383/0.3796, allocations: 310.9 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004492/0.3801, allocations: 184.5 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.3803, allocations: 131.5 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003446/0.3806, allocations: 135.5 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.3807, allocations: 16 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003082/0.381, allocations: 151.6 kB / 1.29 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.3811, allocations: 87.73 kB / 1.29 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.3812, allocations: 91.59 kB / 1.29 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.3817, allocations: 338.8 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3817, allocations: 4 kB / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3817, allocations: 0 / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.3817, allocations: 0 / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009223/0.3826, allocations: 457.4 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.3827, allocations: 12.03 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006221/0.3833, allocations: 80.72 kB / 1.291 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.3837, allocations: 183.9 kB / 1.291 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3837, allocations: 12.75 kB / 1.291 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.3838, allocations: 24.36 kB / 1.291 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005463/0.3843, allocations: 372.6 kB / 1.291 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3843, allocations: 0 / 1.291 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.3843, allocations: 11.98 kB / 1.291 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/0.3844, allocations: 24.36 kB / 1.291 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.3847, allocations: 196.9 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.3862, allocations: 0.9848 MB / 1.292 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.3865, allocations: 102.5 kB / 1.292 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.3e-05/0.3865, allocations: 28.84 kB / 1.292 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.3865, allocations: 4 kB / 1.292 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.3866, allocations: 34.56 kB / 1.292 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.3866, allocations: 0 / 1.292 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005025/0.3871, allocations: 150.3 kB / 1.293 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.3871, allocations: 55.41 kB / 1.293 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.3873, allocations: 180 kB / 1.293 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.3874, allocations: 29.69 kB / 1.293 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.3875, allocations: 168.1 kB / 1.293 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.3875, allocations: 35.73 kB / 1.293 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.3876, allocations: 33.72 kB / 1.293 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3877, allocations: 326.8 kB / 1.293 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-05/0.3878, allocations: 43.88 kB / 1.293 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.388, allocations: 103 kB / 1.294 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.3882, allocations: 144.4 kB / 1.294 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3882, allocations: 4 kB / 1.294 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003438/0.3885, allocations: 186.2 kB / 1.294 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3885, allocations: 4 kB / 1.294 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.3885, allocations: 8.219 kB / 1.294 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001985/0.3887, allocations: 24.84 kB / 1.294 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3889, allocations: 35.92 kB / 1.294 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.3901, allocations: 1.284 MB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.3902, allocations: 19.92 kB / 1.295 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.3903, allocations: 4.094 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001661/0.3904, allocations: 162.8 kB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.3905, allocations: 19.84 kB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.3905, allocations: 17.41 kB / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3905, allocations: 0 / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.3905, allocations: 0 / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3905, allocations: 3.984 kB / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005668/0.3911, allocations: 366.9 kB / 1.296 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3911, allocations: 0 / 1.296 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.3911, allocations: 7.984 kB / 1.296 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.181e-05/0.3912, allocations: 24.84 kB / 1.296 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.3912, allocations: 4.062 kB / 1.296 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.3923, allocations: 1.284 MB / 1.297 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3923, allocations: 0 / 1.297 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.3926, allocations: 208.3 kB / 1.297 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.3927, allocations: 24.03 kB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.3927, allocations: 0 / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.3928, allocations: 4 kB / 1.297 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.3928, allocations: 11.92 kB / 1.297 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.3928, allocations: 0 / 1.297 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001436/0.393, allocations: 139.2 kB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.393, allocations: 0 / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003584/0.3933, allocations: 59.84 kB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000121/0.3934, allocations: 103.2 kB / 1.298 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004159/0.3938, allocations: 207 kB / 1.298 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3939, allocations: 0 / 1.298 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.394, allocations: 138.7 kB / 1.298 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.3944, allocations: 35.62 kB / 1.298 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007834/0.3952, allocations: 404.5 kB / 1.298 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.3953, allocations: 131.9 kB / 1.298 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.234e-05/0.3954, allocations: 15.44 kB / 1.298 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.3954, allocations: 0 / 1.298 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of Templates: time 0.005638/0.401, allocations: 2.987 MB / 1.301 GB, free: 9.293 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.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: 11.984299739822745]