Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.002097/0.002097, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002273/0.002273, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.541/1.541, allocations: 225.6 MB / 249.4 MB, free: 3.121 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.69/2.69, allocations: 443.5 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 63.89 kB / 1.059 GB, free: 340 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3517, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008157/0.3599, allocations: 5.755 MB / 1.222 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006152/0.366, allocations: 2.743 MB / 1.224 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007639/0.3668, allocations: 19.88 kB / 1.224 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002335/0.3691, allocations: 0.7041 MB / 1.225 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.3709, allocations: 425.8 kB / 1.226 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.3723, allocations: 418.9 kB / 1.226 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001392/0.3737, allocations: 0.963 MB / 1.227 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00058/0.3743, allocations: 330.6 kB / 1.227 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005474/0.3748, allocations: 386.5 kB / 1.228 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005601/0.3754, allocations: 422.4 kB / 1.228 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.56e-05/0.3754, allocations: 52 kB / 1.228 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006943/0.3761, allocations: 379.2 kB / 1.228 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002909/0.3764, allocations: 251.2 kB / 1.229 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004345/0.3769, allocations: 350.2 kB / 1.229 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.3782, allocations: 0.9767 MB / 1.23 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3782, allocations: 0 / 1.23 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3782, allocations: 0 / 1.23 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.3782, allocations: 0 / 1.23 GB, free: 1.133 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001943/0.3802, allocations: 1 MB / 1.231 GB, free: 84 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3802, allocations: 12.03 kB / 1.231 GB, free: 72 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.3816, allocations: 196.3 kB / 1.231 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009434/0.3826, allocations: 0.5262 MB / 1.232 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/0.3826, allocations: 37.36 kB / 1.232 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.3828, allocations: 52.55 kB / 1.232 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.3841, allocations: 0.8318 MB / 1.232 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.3841, allocations: 7.938 kB / 1.232 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.071e-05/0.3842, allocations: 27.98 kB / 1.233 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001932/0.3844, allocations: 60.95 kB / 1.233 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009548/0.3854, allocations: 0.5775 MB / 1.233 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00515/0.3905, allocations: 4.578 MB / 1.238 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/0.391, allocations: 279.2 kB / 1.238 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.3913, allocations: 213.3 kB / 1.238 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.3914, allocations: 4.281 kB / 1.238 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.3914, allocations: 34.78 kB / 1.238 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/0.3914, allocations: 4 kB / 1.238 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40): time 0.006034/0.3974, allocations: 2.631 MB / 1.241 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.3975, allocations: 55.41 kB / 1.241 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005963/0.3981, allocations: 470 kB / 1.241 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.3981, allocations: 37.7 kB / 1.241 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.3984, allocations: 352.5 kB / 1.242 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.3985, allocations: 146.7 kB / 1.242 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.3987, allocations: 106.2 kB / 1.242 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3989, allocations: 358.8 kB / 1.242 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/0.3993, allocations: 241 kB / 1.242 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00052/0.3998, allocations: 410.4 kB / 1.243 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009199/0.4007, allocations: 0.6779 MB / 1.243 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4008, allocations: 0 / 1.243 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001796/0.4025, allocations: 0.9177 MB / 1.244 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4026, allocations: 8 kB / 1.244 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.4026, allocations: 8.031 kB / 1.244 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008355/0.4034, allocations: 226.4 kB / 1.245 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/0.404, allocations: 119.8 kB / 1.245 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005991/0.4099, allocations: 5.34 MB / 1.25 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005867/0.4105, allocations: 27.97 kB / 1.25 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/0.4106, allocations: 24 kB / 1.25 GB, free: 11.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003802/0.411, allocations: 221.9 kB / 1.25 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.4111, allocations: 63.56 kB / 1.25 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.4127, allocations: 0.7695 MB / 1.251 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.4127, allocations: 4 kB / 1.251 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4127, allocations: 8 kB / 1.251 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4127, allocations: 3.984 kB / 1.251 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/0.4154, allocations: 1.487 MB / 1.252 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.4154, allocations: 4 kB / 1.252 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000401/0.4158, allocations: 67.89 kB / 1.253 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007305/0.4165, allocations: 206.6 kB / 1.253 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.4166, allocations: 8 kB / 1.253 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00559/0.4221, allocations: 5.286 MB / 1.258 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.4221, allocations: 4.031 kB / 1.258 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.4242, allocations: 1.12 MB / 1.259 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.4245, allocations: 172.8 kB / 1.259 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.981e-05/0.4246, allocations: 11.94 kB / 1.259 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/0.4249, allocations: 23.97 kB / 1.259 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.425, allocations: 43.95 kB / 1.259 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.425, allocations: 8 kB / 1.259 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003956/0.4254, allocations: 318.9 kB / 1.26 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.4254, allocations: 0 / 1.26 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007604/0.4262, allocations: 168 kB / 1.26 GB, free: 0.7188 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002054/0.4264, allocations: 127 kB / 1.26 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.7023/1.129, allocations: 0.9675 MB / 1.261 GB, free: 47.62 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.002e-05/1.129, allocations: 1.375 kB / 1.261 GB, free: 47.62 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/1.13, allocations: 0.6629 MB / 1.261 GB, free: 47.28 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/1.131, allocations: 177.9 kB / 1.262 GB, free: 47.28 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/1.133, allocations: 1.281 MB / 1.263 GB, free: 46.76 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/1.133, allocations: 0.9503 MB / 1.264 GB, free: 46.06 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003425/1.134, allocations: 115.7 kB / 1.264 GB, free: 46.05 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.811e-05/1.134, allocations: 39.31 kB / 1.264 GB, free: 46.05 MB / 0.9981 GB Notification: Performance of SimCode: time 1.372e-06/1.134, allocations: 3.094 kB / 1.264 GB, free: 46.05 MB / 0.9981 GB Notification: Performance of Templates: time 0.02417/1.158, allocations: 9.279 MB / 1.273 GB, free: 45.61 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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: 9.68168334569782]