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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001866/0.001866, allocations: 194.8 kB / 22.17 MB, free: 5.656 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.447/1.447, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.803/2.803, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] 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=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: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.89 kB / 1.109 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7886/0.7906, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005224/0.7959, allocations: 3.184 MB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002364/0.7982, allocations: 1.391 MB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.7984, allocations: 4 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.7994, allocations: 346.7 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003581/0.7998, allocations: 147.3 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.8002, allocations: 142.8 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000386/0.8006, allocations: 306.9 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003718/0.8009, allocations: 167 kB / 1.28 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.8011, allocations: 119.6 kB / 1.28 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.8014, allocations: 147.5 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.8014, allocations: 16 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.8017, allocations: 175.6 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.534e-05/0.8018, allocations: 83.73 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.8019, allocations: 115.4 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.8024, allocations: 338.8 kB / 1.281 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8024, allocations: 0 / 1.281 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8024, allocations: 4 kB / 1.281 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.8024, allocations: 0 / 1.281 GB, free: 13.92 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.0008939/0.8033, allocations: 0.5143 MB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.8034, allocations: 12.03 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005789/0.8039, allocations: 76.66 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.8043, allocations: 252 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.8043, allocations: 16.73 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.8043, allocations: 20.38 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.8048, allocations: 299.5 kB / 1.282 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.8048, allocations: 4 kB / 1.282 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.8048, allocations: 4 kB / 1.282 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-05/0.8049, allocations: 24.36 kB / 1.282 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.8052, allocations: 193 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.8069, allocations: 1.46 MB / 1.283 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.8072, allocations: 175.7 kB / 1.283 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.953e-05/0.8072, allocations: 36.78 kB / 1.283 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.8072, allocations: 0 / 1.283 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.8073, allocations: 34.56 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.8073, allocations: 0 / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005245/0.8078, allocations: 223.7 kB / 1.284 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.8078, allocations: 59.34 kB / 1.284 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.8081, allocations: 202.2 kB / 1.284 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.8081, allocations: 25.7 kB / 1.284 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.8082, allocations: 175.9 kB / 1.284 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.8082, allocations: 23.8 kB / 1.284 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.8083, allocations: 33.7 kB / 1.284 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.8084, allocations: 330.8 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.98e-05/0.8085, allocations: 31.98 kB / 1.285 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.8086, allocations: 106.8 kB / 1.285 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.8088, allocations: 148.4 kB / 1.285 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.8088, allocations: 0 / 1.285 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000318/0.8091, allocations: 194.2 kB / 1.285 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.8092, allocations: 4 kB / 1.285 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.8092, allocations: 4 kB / 1.285 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001663/0.8093, allocations: 28.88 kB / 1.285 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.8094, allocations: 23.98 kB / 1.285 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.8107, allocations: 1.422 MB / 1.286 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.8108, allocations: 27.84 kB / 1.286 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.8108, allocations: 8 kB / 1.286 GB, free: 7.184 MB / 0.9825 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.0001409/0.8109, allocations: 151.9 kB / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.811, allocations: 19.83 kB / 1.287 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.152e-05/0.811, allocations: 17.41 kB / 1.287 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.811, allocations: 4 kB / 1.287 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.811, allocations: 0 / 1.287 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.811, allocations: 4.062 kB / 1.287 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/0.8116, allocations: 451.5 kB / 1.287 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8116, allocations: 0 / 1.287 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.8116, allocations: 8 kB / 1.287 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.613e-05/0.8117, allocations: 20.84 kB / 1.287 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.8117, allocations: 4 kB / 1.287 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.8128, allocations: 1.422 MB / 1.289 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.8128, allocations: 4.156 kB / 1.289 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.8131, allocations: 208.2 kB / 1.289 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.54e-05/0.8131, allocations: 101 kB / 1.289 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.8132, allocations: 0 / 1.289 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.8133, allocations: 4 kB / 1.289 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.8133, allocations: 11.98 kB / 1.289 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.8133, allocations: 0 / 1.289 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001339/0.8134, allocations: 149.6 kB / 1.289 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8134, allocations: 0 / 1.289 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003337/0.8138, allocations: 51.89 kB / 1.289 GB, free: 4.328 MB / 0.9825 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.0001229/0.8139, allocations: 95.25 kB / 1.289 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003959/0.8143, allocations: 210.9 kB / 1.289 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8143, allocations: 0 / 1.289 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.8145, allocations: 150.6 kB / 1.289 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.8148, allocations: 37 kB / 1.29 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/0.8155, allocations: 362.3 kB / 1.29 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.8158, allocations: 0.7475 MB / 1.291 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.692e-05/0.8159, allocations: 25.72 kB / 1.291 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.8159, allocations: 15.44 kB / 1.291 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.8159, allocations: 7.875 kB / 1.291 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of Templates: time 0.005101/0.8211, allocations: 1.827 MB / 1.292 GB, free: 0.8047 MB / 0.9825 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 -s gbode -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_2/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: 8.734677935950458]