Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001486/0.001486, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001706/0.001706, allocations: 214.6 kB / 22.24 MB, free: 5.262 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.729/1.729, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.639/3.639, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002071/0.002071, allocations: 67.09 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4746/0.4767, allocations: 181.9 MB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005577/0.4823, allocations: 3.061 MB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002572/0.4848, allocations: 1.317 MB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.485, allocations: 4 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.4862, allocations: 334.8 kB / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004156/0.4866, allocations: 155.2 kB / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.487, allocations: 133.8 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004164/0.4874, allocations: 307 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004201/0.4878, allocations: 176.5 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.488, allocations: 135.5 kB / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.4883, allocations: 135.5 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.4884, allocations: 20 kB / 1.369 GB, free: 7.754 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.4887, allocations: 147.7 kB / 1.37 GB, free: 7.609 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.4888, allocations: 83.73 kB / 1.37 GB, free: 7.527 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.4889, allocations: 95.58 kB / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004859/0.4894, allocations: 338.8 kB / 1.37 GB, free: 7.102 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4894, allocations: 0 / 1.37 GB, free: 7.102 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4894, allocations: 0 / 1.37 GB, free: 7.102 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.4894, allocations: 0 / 1.37 GB, free: 7.102 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000911/0.4903, allocations: 461.5 kB / 1.371 GB, free: 6.617 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.4903, allocations: 8.031 kB / 1.371 GB, free: 6.609 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005856/0.4909, allocations: 88.59 kB / 1.371 GB, free: 6.523 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.4913, allocations: 191.5 kB / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.4913, allocations: 12.75 kB / 1.371 GB, free: 6.301 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.4913, allocations: 20.38 kB / 1.371 GB, free: 6.281 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00059/0.4919, allocations: 380.6 kB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.4919, allocations: 0 / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.492, allocations: 4 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.424e-05/0.492, allocations: 24.36 kB / 1.371 GB, free: 5.844 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.4924, allocations: 192.9 kB / 1.371 GB, free: 5.656 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.4938, allocations: 0.9888 MB / 1.372 GB, free: 4.605 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.4941, allocations: 94.55 kB / 1.372 GB, free: 4.504 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.204e-05/0.4941, allocations: 32.84 kB / 1.372 GB, free: 4.469 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.4941, allocations: 0 / 1.372 GB, free: 4.469 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.4942, allocations: 30.56 kB / 1.373 GB, free: 4.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.4942, allocations: 0 / 1.373 GB, free: 4.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005051/0.4947, allocations: 150.3 kB / 1.373 GB, free: 4.273 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.4947, allocations: 51.41 kB / 1.373 GB, free: 4.211 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.4949, allocations: 186.3 kB / 1.373 GB, free: 4.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.495, allocations: 33.7 kB / 1.373 GB, free: 3.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.4951, allocations: 164 kB / 1.373 GB, free: 3.816 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.4951, allocations: 31.92 kB / 1.373 GB, free: 3.785 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.4952, allocations: 41.58 kB / 1.373 GB, free: 3.738 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.4954, allocations: 326.8 kB / 1.373 GB, free: 3.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.981e-05/0.4954, allocations: 35.97 kB / 1.373 GB, free: 3.375 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.4956, allocations: 100.5 kB / 1.374 GB, free: 3.246 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.4958, allocations: 148.4 kB / 1.374 GB, free: 3.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4958, allocations: 0 / 1.374 GB, free: 3.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003206/0.4961, allocations: 194.3 kB / 1.374 GB, free: 2.871 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.4961, allocations: 10.34 kB / 1.374 GB, free: 2.863 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4961, allocations: 0 / 1.374 GB, free: 2.863 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001795/0.4963, allocations: 20.84 kB / 1.374 GB, free: 2.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.4964, allocations: 35.92 kB / 1.374 GB, free: 2.805 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.4977, allocations: 1.288 MB / 1.375 GB, free: 1.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.4978, allocations: 19.84 kB / 1.375 GB, free: 1.391 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.4979, allocations: 8 kB / 1.375 GB, free: 1.383 MB / 1.061 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.0001963/0.498, allocations: 154.8 kB / 1.375 GB, free: 1.223 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.4981, allocations: 19.92 kB / 1.375 GB, free: 1.203 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.4981, allocations: 13.41 kB / 1.375 GB, free: 1.191 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.4981, allocations: 4 kB / 1.375 GB, free: 1.188 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4981, allocations: 0 / 1.375 GB, free: 1.188 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4981, allocations: 0 / 1.375 GB, free: 1.188 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006203/0.4988, allocations: 375 kB / 1.376 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.4988, allocations: 0 / 1.376 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.4988, allocations: 8 kB / 1.376 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.048e-05/0.4989, allocations: 24.83 kB / 1.376 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.4989, allocations: 4 kB / 1.376 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.5, allocations: 1.288 MB / 1.377 GB, free: 15.35 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5, allocations: 0 / 1.377 GB, free: 15.35 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.5002, allocations: 208.7 kB / 1.377 GB, free: 15.13 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.5003, allocations: 27.83 kB / 1.377 GB, free: 15.1 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.5003, allocations: 0 / 1.377 GB, free: 15.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.865e-05/0.5004, allocations: 7.938 kB / 1.377 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.5004, allocations: 3.984 kB / 1.377 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.5005, allocations: 8 kB / 1.377 GB, free: 15.08 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001176/0.5006, allocations: 132.8 kB / 1.377 GB, free: 14.95 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.5006, allocations: 0 / 1.377 GB, free: 14.95 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003324/0.5009, allocations: 51.89 kB / 1.378 GB, free: 14.9 MB / 1.076 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.0001304/0.501, allocations: 107.2 kB / 1.378 GB, free: 14.79 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004258/0.5015, allocations: 206.5 kB / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/0.5015, allocations: 0 / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.5016, allocations: 139.2 kB / 1.378 GB, free: 14.42 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.502, allocations: 37.31 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007509/0.5028, allocations: 358.9 kB / 1.378 GB, free: 14.01 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.5029, allocations: 139.9 kB / 1.378 GB, free: 13.86 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.434e-05/0.503, allocations: 25.39 kB / 1.378 GB, free: 13.83 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.5031, allocations: 15.38 kB / 1.378 GB, free: 13.82 MB / 1.076 GB Notification: Performance of SimCode: time 8.72e-07/0.5031, allocations: 0 / 1.378 GB, free: 13.82 MB / 1.076 GB Notification: Performance of Templates: time 0.00574/0.5088, allocations: 1.851 MB / 1.38 GB, free: 12.02 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.504472700878978]