Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.002622/0.002622, allocations: 83.75 kB / 20.23 MB, free: 4.039 MB / 18.57 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.002033/0.002033, allocations: 153.4 kB / 23.55 MB, free: 0.7266 MB / 18.57 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.554/1.554, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.825/2.825, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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_11_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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.266e-05/3.395e-05, allocations: 6.844 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00871/0.008744, allocations: 5.581 MB / 0.7918 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005516/0.01426, allocations: 2.708 MB / 0.7945 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004061/0.01467, allocations: 31.69 kB / 0.7945 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.01678, allocations: 0.7 MB / 0.7952 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.01791, allocations: 440.4 kB / 0.7956 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.01899, allocations: 413.2 kB / 0.796 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001309/0.02029, allocations: 0.9902 MB / 0.797 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000635/0.02093, allocations: 385 kB / 0.7973 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008031/0.02173, allocations: 0.5182 MB / 0.7978 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006464/0.02238, allocations: 374.9 kB / 0.7982 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.795e-05/0.02248, allocations: 48 kB / 0.7982 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006879/0.02317, allocations: 331.1 kB / 0.7986 GB, free: 304 kB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003063/0.02347, allocations: 267.2 kB / 0.7988 GB, free: 36 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003491/0.02382, allocations: 236.1 kB / 0.799 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.02545, allocations: 1.009 MB / 0.8 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.02546, allocations: 4 kB / 0.8 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.222e-06/0.02546, allocations: 0.5312 kB / 0.8 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.02547, allocations: 1.656 kB / 0.8 GB, free: 14.79 MB / 0.7605 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.001871/0.02734, allocations: 1.049 MB / 0.8011 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.02739, allocations: 12.03 kB / 0.8011 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.0289, allocations: 297.8 kB / 0.8014 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009507/0.02986, allocations: 498.7 kB / 0.8018 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/0.02991, allocations: 33.38 kB / 0.8019 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.03007, allocations: 56.55 kB / 0.8019 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.03136, allocations: 0.8495 MB / 0.8027 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.03138, allocations: 4.188 kB / 0.8027 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-05/0.03145, allocations: 32.06 kB / 0.8028 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002002/0.03165, allocations: 61.45 kB / 0.8028 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006779/0.03232, allocations: 324.9 kB / 0.8031 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005591/0.03792, allocations: 4.556 MB / 0.8076 GB, free: 6.688 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/0.03831, allocations: 167.8 kB / 0.8078 GB, free: 6.512 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.03852, allocations: 104.2 kB / 0.8079 GB, free: 6.406 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.03856, allocations: 12.22 kB / 0.8079 GB, free: 6.395 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.0386, allocations: 37.67 kB / 0.8079 GB, free: 6.348 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 2.324e-06/0.0386, allocations: 0 / 0.8079 GB, free: 6.348 MB / 0.7605 GB Notification: Performance of matching and sorting (n=40): time 0.00494/0.04354, allocations: 1.654 MB / 0.8095 GB, free: 4.641 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.04359, allocations: 59.41 kB / 0.8096 GB, free: 4.57 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006562/0.04425, allocations: 0.5336 MB / 0.8101 GB, free: 4.023 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.0443, allocations: 37.7 kB / 0.8101 GB, free: 3.98 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.04466, allocations: 415.2 kB / 0.8105 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.04483, allocations: 158.7 kB / 0.8107 GB, free: 3.41 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.04505, allocations: 123.9 kB / 0.8108 GB, free: 3.277 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003364/0.04538, allocations: 0.5547 MB / 0.8113 GB, free: 2.711 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.04566, allocations: 133.2 kB / 0.8115 GB, free: 2.582 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/0.04617, allocations: 371.3 kB / 0.8118 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008257/0.04699, allocations: 0.5372 MB / 0.8123 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.047, allocations: 0 / 0.8123 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001595/0.04859, allocations: 0.7031 MB / 0.813 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.04861, allocations: 8 kB / 0.813 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.04863, allocations: 4 kB / 0.813 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.05004, allocations: 247.3 kB / 0.8133 GB, free: 500 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005352/0.05057, allocations: 115.8 kB / 0.8134 GB, free: 384 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006156/0.05673, allocations: 5.798 MB / 0.8191 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/0.05721, allocations: 27.98 kB / 0.8191 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/0.05727, allocations: 39.98 kB / 0.8191 GB, free: 10.14 MB / 0.7761 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.0003013/0.05757, allocations: 204.4 kB / 0.8193 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.05771, allocations: 67.67 kB / 0.8194 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.05915, allocations: 0.5396 MB / 0.8199 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.05916, allocations: 7.984 kB / 0.8199 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.05917, allocations: 4 kB / 0.8199 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.05917, allocations: 0 / 0.8199 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/0.06191, allocations: 1.193 MB / 0.8211 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.06191, allocations: 0 / 0.8211 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.06232, allocations: 67.89 kB / 0.8211 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/0.06341, allocations: 231 kB / 0.8214 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.06344, allocations: 8 kB / 0.8214 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005931/0.06937, allocations: 5.792 MB / 0.827 GB, free: 1.547 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.06938, allocations: 12 kB / 0.827 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.07141, allocations: 0.8123 MB / 0.8278 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/0.0717, allocations: 87.62 kB / 0.8279 GB, free: 0.5742 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-05/0.07178, allocations: 19.88 kB / 0.8279 GB, free: 0.5547 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.0721, allocations: 24 kB / 0.828 GB, free: 0.5312 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.07221, allocations: 39.88 kB / 0.828 GB, free: 0.4922 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.07224, allocations: 16 kB / 0.828 GB, free: 488 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004179/0.07266, allocations: 346.8 kB / 0.8283 GB, free: 140 kB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.07266, allocations: 0 / 0.8283 GB, free: 140 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007429/0.0734, allocations: 168 kB / 0.8285 GB, free: 15.97 MB / 0.7917 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.0001989/0.0736, allocations: 111.3 kB / 0.8286 GB, free: 15.85 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.07532, allocations: 0.9715 MB / 0.8296 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.07532, allocations: 0 / 0.8296 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.07641, allocations: 0.7628 MB / 0.8303 GB, free: 14 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008704/0.07728, allocations: 178.8 kB / 0.8305 GB, free: 13.84 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.07935, allocations: 1.175 MB / 0.8316 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.07976, allocations: 338.2 kB / 0.8319 GB, free: 12.24 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000288/0.08005, allocations: 92.81 kB / 0.832 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.08015, allocations: 32.5 kB / 0.8321 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of SimCode: time 5.71e-07/0.08015, allocations: 4 kB / 0.8321 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of Templates: time 0.01797/0.09812, allocations: 9.189 MB / 0.841 GB, free: 3.152 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.188145964988507]