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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 109.1 kB / 18.19 MB, free: 4.02 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 184.5 kB / 21.33 MB, free: 0.8828 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 249.9 MB, free: 3.215 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.765/2.765, allocations: 476.7 MB / 0.7634 GB, free: 15.25 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,variableFilter="time|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 71.89 kB / 1.108 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.999/1.001, allocations: 168.7 MB / 1.272 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004475/1.005, allocations: 3.115 MB / 1.275 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001966/1.007, allocations: 1.347 MB / 1.277 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/1.008, allocations: 4.594 kB / 1.277 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/1.009, allocations: 343.9 kB / 1.277 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003491/1.009, allocations: 143.1 kB / 1.277 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/1.009, allocations: 131.9 kB / 1.277 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003602/1.01, allocations: 308.6 kB / 1.278 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/1.01, allocations: 197.5 kB / 1.278 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/1.01, allocations: 122.8 kB / 1.278 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000305/1.01, allocations: 141.4 kB / 1.278 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/1.01, allocations: 17.84 kB / 1.278 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/1.011, allocations: 173.4 kB / 1.278 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.378e-05/1.011, allocations: 87.95 kB / 1.278 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/1.011, allocations: 112.5 kB / 1.278 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004866/1.012, allocations: 326.7 kB / 1.279 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.012, allocations: 0 / 1.279 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.733e-06/1.012, allocations: 0 / 1.279 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.282e-05/1.012, allocations: 4.844 kB / 1.279 GB, free: 3.984 MB / 0.9981 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.00075/1.012, allocations: 0.5217 MB / 1.279 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/1.012, allocations: 9 kB / 1.279 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005961/1.013, allocations: 84 kB / 1.279 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/1.013, allocations: 255.5 kB / 1.28 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/1.013, allocations: 15.75 kB / 1.28 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/1.013, allocations: 15.91 kB / 1.28 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/1.014, allocations: 296.2 kB / 1.28 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.014, allocations: 1.547 kB / 1.28 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/1.014, allocations: 18.7 kB / 1.28 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/1.014, allocations: 15.94 kB / 1.28 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/1.014, allocations: 197.2 kB / 1.28 GB, free: 3 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/1.015, allocations: 1.454 MB / 1.282 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/1.016, allocations: 173.5 kB / 1.282 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.087e-05/1.016, allocations: 33.86 kB / 1.282 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/1.016, allocations: 4.5 kB / 1.282 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/1.016, allocations: 32.7 kB / 1.282 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/1.016, allocations: 0 / 1.282 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004713/1.016, allocations: 226.7 kB / 1.282 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/1.016, allocations: 53.45 kB / 1.282 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/1.017, allocations: 214.9 kB / 1.282 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/1.017, allocations: 25.7 kB / 1.282 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/1.017, allocations: 167.7 kB / 1.282 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/1.017, allocations: 25.05 kB / 1.282 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/1.017, allocations: 40.16 kB / 1.282 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.053e-05/1.017, allocations: 326.3 kB / 1.283 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.555e-05/1.017, allocations: 36.2 kB / 1.283 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.797e-05/1.017, allocations: 105.2 kB / 1.283 GB, free: 432 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/1.017, allocations: 149.1 kB / 1.283 GB, free: 304 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.017, allocations: 0 / 1.283 GB, free: 304 kB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002782/1.017, allocations: 187.2 kB / 1.283 GB, free: 204 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.017, allocations: 8.094 kB / 1.283 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.017, allocations: 3.344 kB / 1.283 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/1.018, allocations: 25.64 kB / 1.283 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/1.018, allocations: 32.98 kB / 1.283 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/1.019, allocations: 1.42 MB / 1.285 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/1.019, allocations: 31.02 kB / 1.285 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/1.019, allocations: 6.031 kB / 1.285 GB, free: 14.73 MB / 1.014 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.000168/1.019, allocations: 146.4 kB / 1.285 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/1.019, allocations: 15.52 kB / 1.285 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/1.019, allocations: 19.06 kB / 1.285 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/1.019, allocations: 1.594 kB / 1.285 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.019, allocations: 2.562 kB / 1.285 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/1.019, allocations: 0.7969 kB / 1.285 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005823/1.02, allocations: 448 kB / 1.285 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.02, allocations: 0 / 1.285 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/1.02, allocations: 7.703 kB / 1.285 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.629e-05/1.02, allocations: 26.16 kB / 1.285 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/1.02, allocations: 2.969 kB / 1.285 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/1.021, allocations: 1.414 MB / 1.287 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/1.021, allocations: 0 / 1.287 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/1.021, allocations: 220.1 kB / 1.287 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.874e-05/1.021, allocations: 99.22 kB / 1.287 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/1.021, allocations: 4.562 kB / 1.287 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/1.022, allocations: 5.641 kB / 1.287 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/1.022, allocations: 4.016 kB / 1.287 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/1.022, allocations: 5.031 kB / 1.287 GB, free: 12.48 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001415/1.022, allocations: 144.7 kB / 1.287 GB, free: 12.38 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/1.022, allocations: 0 / 1.287 GB, free: 12.38 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003503/1.022, allocations: 52.89 kB / 1.287 GB, free: 12.37 MB / 1.014 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.0001201/1.022, allocations: 102.2 kB / 1.287 GB, free: 12.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003824/1.023, allocations: 207.6 kB / 1.288 GB, free: 12.13 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.023, allocations: 4.125 kB / 1.288 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000168/1.023, allocations: 149.2 kB / 1.288 GB, free: 12 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/1.023, allocations: 31 kB / 1.288 GB, free: 11.99 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006773/1.024, allocations: 403.7 kB / 1.288 GB, free: 11.72 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/1.024, allocations: 0.7483 MB / 1.289 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/1.024, allocations: 18.53 kB / 1.289 GB, free: 11 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/1.024, allocations: 1.906 kB / 1.289 GB, free: 11 MB / 1.014 GB Notification: Performance of Templates: time 0.005608/1.03, allocations: 2.994 MB / 1.292 GB, free: 10.75 MB / 1.014 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