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.001956/0.001956, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002349/0.002349, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.493/1.493, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.72/2.72, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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.904e-06/1.904e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.57e-05/3.76e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.01235/0.01239, allocations: 5.307 MB / 0.7915 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00894/0.02133, allocations: 2.611 MB / 0.7941 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006714/0.022, allocations: 31.69 kB / 0.7941 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003433/0.02543, allocations: 0.6756 MB / 0.7948 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002153/0.02758, allocations: 440.9 kB / 0.7952 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.02972, allocations: 412.7 kB / 0.7956 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002279/0.032, allocations: 0.9874 MB / 0.7966 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.03306, allocations: 382.4 kB / 0.7969 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.03446, allocations: 0.5193 MB / 0.7974 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.03548, allocations: 370.9 kB / 0.7978 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.03563, allocations: 48 kB / 0.7978 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.03702, allocations: 332.9 kB / 0.7982 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0005222/0.03754, allocations: 263.2 kB / 0.7984 GB, free: 488 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0005236/0.03807, allocations: 243.4 kB / 0.7986 GB, free: 244 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.04026, allocations: 1.008 MB / 0.7996 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.04026, allocations: 1.188 kB / 0.7996 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.573e-06/0.04026, allocations: 0 / 0.7996 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.08e-05/0.04029, allocations: 4 kB / 0.7996 GB, free: 15.22 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.002939/0.04322, allocations: 0.8963 MB / 0.8005 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.04329, allocations: 12.03 kB / 0.8005 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002874/0.04616, allocations: 309.5 kB / 0.8008 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.04775, allocations: 485.9 kB / 0.8013 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.741e-05/0.04782, allocations: 33.38 kB / 0.8013 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002888/0.04811, allocations: 60.53 kB / 0.8014 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.05058, allocations: 0.992 MB / 0.8023 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.303e-05/0.05063, allocations: 8.109 kB / 0.8023 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.05074, allocations: 26.09 kB / 0.8024 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000388/0.05113, allocations: 68.95 kB / 0.8024 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.05293, allocations: 0.5658 MB / 0.803 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009122/0.06205, allocations: 3.506 MB / 0.8064 GB, free: 7.996 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009949/0.06305, allocations: 275.2 kB / 0.8067 GB, free: 7.719 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006548/0.0637, allocations: 214 kB / 0.8069 GB, free: 7.508 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.828e-05/0.06375, allocations: 8.219 kB / 0.8069 GB, free: 7.5 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.776e-05/0.06382, allocations: 39.34 kB / 0.8069 GB, free: 7.453 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 7.825e-06/0.06382, allocations: 5.266 kB / 0.8069 GB, free: 7.449 MB / 0.7605 GB Notification: Performance of matching and sorting (n=40): time 0.01192/0.07575, allocations: 2.394 MB / 0.8093 GB, free: 5.016 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.07582, allocations: 55.41 kB / 0.8093 GB, free: 4.949 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.0769, allocations: 437.7 kB / 0.8097 GB, free: 4.512 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.488e-05/0.07698, allocations: 33.7 kB / 0.8098 GB, free: 4.473 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005172/0.0775, allocations: 360.4 kB / 0.8101 GB, free: 4.117 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/0.07778, allocations: 146.7 kB / 0.8102 GB, free: 3.973 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000361/0.07814, allocations: 110.2 kB / 0.8104 GB, free: 3.855 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003557/0.07849, allocations: 362.7 kB / 0.8107 GB, free: 3.492 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008521/0.07935, allocations: 245.1 kB / 0.8109 GB, free: 3.254 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.08047, allocations: 403.4 kB / 0.8113 GB, free: 2.785 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002293/0.08276, allocations: 0.6857 MB / 0.812 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/0.08277, allocations: 0 / 0.812 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003829/0.0866, allocations: 0.945 MB / 0.8129 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.08663, allocations: 12.03 kB / 0.8129 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/0.08666, allocations: 8 kB / 0.8129 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002528/0.08919, allocations: 294.3 kB / 0.8132 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.09023, allocations: 111.8 kB / 0.8133 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009512/0.09974, allocations: 4.973 MB / 0.8182 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005224/0.1003, allocations: 31.97 kB / 0.8182 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-05/0.1003, allocations: 23.94 kB / 0.8182 GB, free: 11.3 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.0003787/0.1007, allocations: 229.5 kB / 0.8184 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.1008, allocations: 79.69 kB / 0.8185 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.1026, allocations: 0.7614 MB / 0.8193 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/0.1026, allocations: 7.984 kB / 0.8193 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1026, allocations: 0 / 0.8193 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1026, allocations: 0 / 0.8193 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002733/0.1054, allocations: 1.338 MB / 0.8206 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.1054, allocations: 4.203 kB / 0.8206 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.1058, allocations: 75.89 kB / 0.8207 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001228/0.107, allocations: 270.4 kB / 0.8209 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.107, allocations: 8 kB / 0.8209 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006216/0.1132, allocations: 4.915 MB / 0.8257 GB, free: 3.223 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.1132, allocations: 3.938 kB / 0.8257 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.1155, allocations: 1.143 MB / 0.8268 GB, free: 2.027 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.1157, allocations: 91.62 kB / 0.8269 GB, free: 1.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.903e-05/0.1158, allocations: 15.92 kB / 0.8269 GB, free: 1.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/0.1162, allocations: 27.97 kB / 0.827 GB, free: 1.895 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.1163, allocations: 39.88 kB / 0.827 GB, free: 1.855 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.1163, allocations: 8 kB / 0.827 GB, free: 1.848 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004172/0.1167, allocations: 298.8 kB / 0.8273 GB, free: 1.555 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.1167, allocations: 0 / 0.8273 GB, free: 1.555 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007873/0.1175, allocations: 176 kB / 0.8275 GB, free: 1.383 MB / 0.7761 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.0001897/0.1177, allocations: 111.2 kB / 0.8276 GB, free: 1.262 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001948/0.1197, allocations: 0.9767 MB / 0.8285 GB, free: 252 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.1197, allocations: 0 / 0.8285 GB, free: 252 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.1209, allocations: 0.6832 MB / 0.8292 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009911/0.1219, allocations: 186.1 kB / 0.8294 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.1243, allocations: 1.22 MB / 0.8306 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.1248, allocations: 350.2 kB / 0.8309 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003634/0.1252, allocations: 112.8 kB / 0.831 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.1253, allocations: 36.5 kB / 0.831 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of SimCode: time 1.283e-06/0.1253, allocations: 0 / 0.831 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of Templates: time 0.01991/0.1452, allocations: 9.172 MB / 0.84 GB, free: 4.609 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] 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: 7.949410464032553]