Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001855/0.001855, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002567/0.002567, allocations: 220.9 kB / 23.01 MB, free: 4.609 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.234/3.234, allocations: 0.49 GB / 0.7958 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002051/0.002051, allocations: 73.39 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.352, allocations: 176.1 MB / 1.327 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005556/0.3576, allocations: 3.194 MB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002796/0.3604, allocations: 1.414 MB / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.3606, allocations: 7.938 kB / 1.332 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.3617, allocations: 354.6 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004741/0.3622, allocations: 147.3 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.3627, allocations: 135.6 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004831/0.3632, allocations: 311 kB / 1.333 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000441/0.3636, allocations: 181.1 kB / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.3638, allocations: 127.5 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.3642, allocations: 147.5 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.3642, allocations: 20 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003691/0.3646, allocations: 175.6 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.3647, allocations: 75.8 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.3648, allocations: 111.5 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005278/0.3654, allocations: 330.8 kB / 1.334 GB, free: 10.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3654, allocations: 4 kB / 1.334 GB, free: 10.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3654, allocations: 0 / 1.334 GB, free: 10.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3654, allocations: 3.938 kB / 1.334 GB, free: 10.81 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009852/0.3664, allocations: 465.4 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.3664, allocations: 11.97 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006471/0.367, allocations: 84.72 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.3674, allocations: 179.6 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.3674, allocations: 20.72 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.3675, allocations: 16.38 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005333/0.368, allocations: 303.5 kB / 1.335 GB, free: 9.672 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.368, allocations: 0 / 1.335 GB, free: 9.672 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.3681, allocations: 8 kB / 1.335 GB, free: 9.664 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.794e-05/0.3681, allocations: 16.36 kB / 1.335 GB, free: 9.648 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.3684, allocations: 197 kB / 1.335 GB, free: 9.457 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.3702, allocations: 1.429 MB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.3705, allocations: 94.55 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.03e-05/0.3705, allocations: 32.86 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.3705, allocations: 0 / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3706, allocations: 34.55 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.3706, allocations: 0 / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005147/0.3711, allocations: 158.5 kB / 1.337 GB, free: 7.527 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.3711, allocations: 51.41 kB / 1.337 GB, free: 7.465 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.3714, allocations: 190.5 kB / 1.337 GB, free: 7.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3714, allocations: 25.7 kB / 1.337 GB, free: 7.238 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.3715, allocations: 175.9 kB / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.3716, allocations: 27.78 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/0.3716, allocations: 33.67 kB / 1.337 GB, free: 6.996 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3718, allocations: 330.8 kB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.56e-05/0.3719, allocations: 35.97 kB / 1.337 GB, free: 6.629 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.372, allocations: 100.5 kB / 1.338 GB, free: 6.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.3722, allocations: 148.4 kB / 1.338 GB, free: 6.324 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3722, allocations: 0 / 1.338 GB, free: 6.324 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003547/0.3726, allocations: 194.1 kB / 1.338 GB, free: 6.125 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.3726, allocations: 8 kB / 1.338 GB, free: 6.117 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.3726, allocations: 0 / 1.338 GB, free: 6.117 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001848/0.3728, allocations: 28.84 kB / 1.338 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3729, allocations: 32.2 kB / 1.338 GB, free: 6.055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.3742, allocations: 1.322 MB / 1.339 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.3744, allocations: 15.89 kB / 1.339 GB, free: 4.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.3744, allocations: 8 kB / 1.339 GB, free: 4.59 MB / 1.029 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.0001778/0.3746, allocations: 149.8 kB / 1.339 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.3746, allocations: 11.91 kB / 1.339 GB, free: 4.422 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.3746, allocations: 13.41 kB / 1.339 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3746, allocations: 4 kB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.3746, allocations: 4.062 kB / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3746, allocations: 3.984 kB / 1.339 GB, free: 4.398 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006281/0.3753, allocations: 422.2 kB / 1.34 GB, free: 3.934 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3753, allocations: 4 kB / 1.34 GB, free: 3.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.3753, allocations: 4 kB / 1.34 GB, free: 3.926 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/0.3754, allocations: 28.77 kB / 1.34 GB, free: 3.895 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3754, allocations: 4 kB / 1.34 GB, free: 3.891 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.3766, allocations: 1.316 MB / 1.341 GB, free: 2.461 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3766, allocations: 3.938 kB / 1.341 GB, free: 2.457 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.3769, allocations: 208.6 kB / 1.341 GB, free: 2.234 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.3769, allocations: 19.89 kB / 1.341 GB, free: 2.215 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.377, allocations: 4 kB / 1.341 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.3771, allocations: 7.984 kB / 1.341 GB, free: 2.203 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.3771, allocations: 12.05 kB / 1.341 GB, free: 2.191 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.3771, allocations: 3.938 kB / 1.341 GB, free: 2.188 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001557/0.3773, allocations: 151 kB / 1.342 GB, free: 2.039 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3773, allocations: 0 / 1.342 GB, free: 2.039 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003677/0.3776, allocations: 51.89 kB / 1.342 GB, free: 1.988 MB / 1.029 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.0001319/0.3778, allocations: 104.7 kB / 1.342 GB, free: 1.875 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004262/0.3782, allocations: 214.7 kB / 1.342 GB, free: 1.652 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3782, allocations: 3.938 kB / 1.342 GB, free: 1.648 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.3784, allocations: 146.6 kB / 1.342 GB, free: 1.492 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.3788, allocations: 38.88 kB / 1.342 GB, free: 1.457 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007957/0.3796, allocations: 393.8 kB / 1.342 GB, free: 1.043 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.38, allocations: 0.7552 MB / 1.343 GB, free: 268 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.3801, allocations: 15.44 kB / 1.343 GB, free: 252 kB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.3801, allocations: 0 / 1.343 GB, free: 252 kB / 1.029 GB Notification: Performance of Templates: time 0.005827/0.3859, allocations: 2.997 MB / 1.346 GB, free: 13.26 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.42235844800598]