Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001465/0.001465, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001519/0.001519, allocations: 164.3 kB / 23.01 MB, free: 4.598 MB / 14.72 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.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.789/2.789, allocations: 359.1 MB / 0.6044 GB, free: 14.91 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 67.89 kB / 0.9515 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4571/0.4593, allocations: 169.9 MB / 1.117 GB, free: 2.594 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.9879/1.447, allocations: 25.56 MB / 1.142 GB, free: 47.16 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02469/1.472, allocations: 8.106 MB / 1.15 GB, free: 43.74 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005284/1.477, allocations: 155.9 kB / 1.15 GB, free: 43.67 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01172/1.489, allocations: 2.775 MB / 1.153 GB, free: 42.11 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008606/1.498, allocations: 1.669 MB / 1.155 GB, free: 41.07 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007607/1.505, allocations: 1.698 MB / 1.156 GB, free: 40.12 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01185/1.517, allocations: 6.128 MB / 1.162 GB, free: 37.33 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/1.527, allocations: 3.736 MB / 1.166 GB, free: 35.47 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008312/1.536, allocations: 2.672 MB / 1.169 GB, free: 34.26 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009231/1.545, allocations: 2.824 MB / 1.171 GB, free: 33.2 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003273/1.548, allocations: 0.5073 MB / 1.172 GB, free: 33.2 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008237/1.556, allocations: 1.204 MB / 1.173 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.006322/1.563, allocations: 2.104 MB / 1.175 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.009076/1.572, allocations: 1.918 MB / 1.177 GB, free: 30.98 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0229/1.595, allocations: 8.126 MB / 1.185 GB, free: 28.39 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/1.595, allocations: 0.9062 kB / 1.185 GB, free: 28.39 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.004e-06/1.595, allocations: 0 / 1.185 GB, free: 28.39 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003766/1.595, allocations: 0 / 1.185 GB, free: 28.39 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.03533/1.63, allocations: 4.255 MB / 1.189 GB, free: 25.98 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 8.652e-05/1.631, allocations: 10.66 kB / 1.189 GB, free: 25.98 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/1.642, allocations: 0.8316 MB / 1.19 GB, free: 25.72 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01321/1.655, allocations: 2.531 MB / 1.192 GB, free: 24.42 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006977/1.656, allocations: 270.8 kB / 1.193 GB, free: 24.3 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003144/1.659, allocations: 381.3 kB / 1.193 GB, free: 24.17 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0248/1.684, allocations: 6.447 MB / 1.199 GB, free: 21.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003055/1.684, allocations: 25.64 kB / 1.199 GB, free: 21 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001653/1.686, allocations: 154.5 kB / 1.2 GB, free: 20.89 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008929/1.686, allocations: 282.8 kB / 1.2 GB, free: 20.86 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/1.699, allocations: 4.512 MB / 1.204 GB, free: 19.29 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02935/1.728, allocations: 17.42 MB / 1.221 GB, free: 7.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/1.73, allocations: 1.05 MB / 1.222 GB, free: 6.836 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/1.731, allocations: 0.959 MB / 1.223 GB, free: 6.477 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-05/1.731, allocations: 11.41 kB / 1.223 GB, free: 6.477 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/1.731, allocations: 46.48 kB / 1.223 GB, free: 6.43 MB / 1.076 GB Notification: Performance of pre-optimization done (n=110): time 4.007e-06/1.731, allocations: 0 / 1.223 GB, free: 6.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.02398/1.755, allocations: 9.08 MB / 1.232 GB, free: 2.816 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/1.755, allocations: 64.94 kB / 1.232 GB, free: 2.75 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/1.758, allocations: 1.4 MB / 1.234 GB, free: 2.199 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/1.758, allocations: 51.23 kB / 1.234 GB, free: 2.148 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001149/1.759, allocations: 1.73 MB / 1.235 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004347/1.76, allocations: 491.2 kB / 1.236 GB, free: 452 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000593/1.76, allocations: 330.9 kB / 1.236 GB, free: 288 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/1.76, allocations: 310.4 kB / 1.236 GB, free: 15.98 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/1.762, allocations: 0.9111 MB / 1.237 GB, free: 15.64 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/1.764, allocations: 1.464 MB / 1.239 GB, free: 14.61 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004147/1.768, allocations: 2.545 MB / 1.241 GB, free: 13.04 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/1.768, allocations: 8.438 kB / 1.241 GB, free: 13.03 MB / 1.092 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007202/1.776, allocations: 3.262 MB / 1.244 GB, free: 11.68 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/1.776, allocations: 16.28 kB / 1.244 GB, free: 11.68 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.132e-05/1.776, allocations: 16.84 kB / 1.244 GB, free: 11.68 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002551/1.778, allocations: 0.7398 MB / 1.245 GB, free: 11.43 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/1.78, allocations: 387.3 kB / 1.245 GB, free: 11.39 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02035/1.8, allocations: 15.83 MB / 1.261 GB, free: 14.05 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/1.802, allocations: 98.56 kB / 1.261 GB, free: 14 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/1.803, allocations: 83.95 kB / 1.261 GB, free: 13.97 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (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.003339/1.806, allocations: 1.315 MB / 1.262 GB, free: 13.14 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005165/1.807, allocations: 198.4 kB / 1.263 GB, free: 13.04 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005701/1.812, allocations: 2.757 MB / 1.265 GB, free: 11.38 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/1.812, allocations: 17.84 kB / 1.265 GB, free: 11.38 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/1.812, allocations: 6.281 kB / 1.265 GB, free: 11.38 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/1.812, allocations: 7.969 kB / 1.265 GB, free: 11.37 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/1.824, allocations: 5.328 MB / 1.271 GB, free: 8.18 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/1.824, allocations: 4.125 kB / 1.271 GB, free: 8.18 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/1.825, allocations: 233.8 kB / 1.271 GB, free: 8.113 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002092/1.827, allocations: 0.6668 MB / 1.271 GB, free: 7.734 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/1.827, allocations: 36.53 kB / 1.271 GB, free: 7.711 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01773/1.845, allocations: 15.57 MB / 1.287 GB, free: 9.559 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.8e-05/1.845, allocations: 11.94 kB / 1.287 GB, free: 9.547 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007424/1.852, allocations: 3.974 MB / 1.291 GB, free: 5.465 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/1.854, allocations: 374.7 kB / 1.291 GB, free: 5.098 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/1.854, allocations: 35.92 kB / 1.291 GB, free: 5.062 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009641/1.855, allocations: 87.89 kB / 1.291 GB, free: 4.977 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003719/1.855, allocations: 124.5 kB / 1.291 GB, free: 4.855 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/1.856, allocations: 36 kB / 1.291 GB, free: 4.82 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001493/1.857, allocations: 0.9048 MB / 1.292 GB, free: 3.922 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.857, allocations: 0 / 1.292 GB, free: 3.922 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003303/1.86, allocations: 0.6836 MB / 1.293 GB, free: 3.238 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.0003111/1.861, allocations: 158.2 kB / 1.293 GB, free: 3.078 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005891/1.867, allocations: 3.381 MB / 1.296 GB, free: 15.57 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.867, allocations: 0 / 1.296 GB, free: 15.57 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003607/1.87, allocations: 2.249 MB / 1.298 GB, free: 13.21 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003004/1.873, allocations: 0.6436 MB / 1.299 GB, free: 12.6 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/1.887, allocations: 6.634 MB / 1.305 GB, free: 5.875 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003119/1.89, allocations: 2.109 MB / 1.308 GB, free: 3.73 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00169/1.892, allocations: 476.4 kB / 1.308 GB, free: 3.262 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/1.892, allocations: 120.5 kB / 1.308 GB, free: 3.145 MB / 1.139 GB Notification: Performance of SimCode: time 1.273e-06/1.892, allocations: 0 / 1.308 GB, free: 3.145 MB / 1.139 GB Notification: Performance of Templates: time 0.06646/1.958, allocations: 33.69 MB / 1.341 GB, free: 2.184 MB / 1.17 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 11.148676353972405]