Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001706/0.001706, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002173/0.002173, allocations: 207.9 kB / 22.99 MB, free: 4.957 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.283/3.283, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002129/0.002129, allocations: 64.25 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3802, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03379/0.414, allocations: 25.58 MB / 1.352 GB, free: 7.367 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01592/0.4299, allocations: 8.091 MB / 1.36 GB, free: 15.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/0.4326, allocations: 154.8 kB / 1.36 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.007769/0.4404, allocations: 2.772 MB / 1.363 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005347/0.4458, allocations: 1.675 MB / 1.364 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004863/0.4506, allocations: 1.676 MB / 1.366 GB, free: 8.965 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01032/0.4609, allocations: 6.127 MB / 1.372 GB, free: 2.812 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006129/0.4671, allocations: 3.792 MB / 1.376 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005257/0.4723, allocations: 2.672 MB / 1.378 GB, free: 12.25 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005308/0.4776, allocations: 2.998 MB / 1.381 GB, free: 9.238 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0009199/0.4786, allocations: 0.5078 MB / 1.382 GB, free: 8.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.4813, allocations: 1.201 MB / 1.383 GB, free: 7.527 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002479/0.4838, allocations: 2.104 MB / 1.385 GB, free: 5.418 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002963/0.4868, allocations: 1.934 MB / 1.387 GB, free: 3.477 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.4969, allocations: 8.118 MB / 1.395 GB, free: 11.33 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4969, allocations: 0 / 1.395 GB, free: 11.33 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4969, allocations: 0 / 1.395 GB, free: 11.33 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001858/0.4971, allocations: 0 / 1.395 GB, free: 11.33 MB / 1.092 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.009728/0.5069, allocations: 4.26 MB / 1.399 GB, free: 7.02 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.5069, allocations: 8.031 kB / 1.399 GB, free: 7.012 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004552/0.5115, allocations: 0.8218 MB / 1.4 GB, free: 6.188 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006088/0.5175, allocations: 2.53 MB / 1.402 GB, free: 3.594 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003469/0.5179, allocations: 279.6 kB / 1.403 GB, free: 3.32 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008174/0.5187, allocations: 376.6 kB / 1.403 GB, free: 2.953 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01119/0.5299, allocations: 6.448 MB / 1.409 GB, free: 12.14 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/0.53, allocations: 19.83 kB / 1.409 GB, free: 12.12 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004122/0.5304, allocations: 160 kB / 1.409 GB, free: 11.96 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007048/0.5311, allocations: 282.9 kB / 1.41 GB, free: 11.68 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00803/0.5392, allocations: 4.516 MB / 1.414 GB, free: 7.16 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02728/0.5664, allocations: 17.41 MB / 1.431 GB, free: 5.246 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.5682, allocations: 1.051 MB / 1.432 GB, free: 4.188 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/0.5698, allocations: 0.9532 MB / 1.433 GB, free: 3.234 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 6.95e-05/0.5698, allocations: 13 kB / 1.433 GB, free: 3.223 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.431e-05/0.5699, allocations: 47.56 kB / 1.433 GB, free: 3.168 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 3.106e-06/0.5699, allocations: 0 / 1.433 GB, free: 3.168 MB / 1.123 GB Notification: Performance of matching and sorting (n=131): time 0.02355/0.5934, allocations: 9.103 MB / 1.442 GB, free: 10 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.5935, allocations: 68.72 kB / 1.442 GB, free: 9.922 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/0.5957, allocations: 1.401 MB / 1.443 GB, free: 8.516 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.5959, allocations: 49.7 kB / 1.443 GB, free: 8.461 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001359/0.5972, allocations: 1.73 MB / 1.445 GB, free: 6.715 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004937/0.5977, allocations: 491.8 kB / 1.446 GB, free: 6.23 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005848/0.5983, allocations: 323.4 kB / 1.446 GB, free: 5.906 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5985, allocations: 301.1 kB / 1.446 GB, free: 5.609 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.6, allocations: 0.9174 MB / 1.447 GB, free: 4.691 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/0.602, allocations: 1.463 MB / 1.449 GB, free: 2.992 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00373/0.6057, allocations: 2.546 MB / 1.451 GB, free: 212 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.6057, allocations: 11.94 kB / 1.451 GB, free: 200 kB / 1.139 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006428/0.6121, allocations: 3.256 MB / 1.454 GB, free: 12.9 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.6122, allocations: 15.94 kB / 1.454 GB, free: 12.89 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.6122, allocations: 20.16 kB / 1.454 GB, free: 12.87 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002568/0.6147, allocations: 0.7373 MB / 1.455 GB, free: 12.1 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.6164, allocations: 387.4 kB / 1.455 GB, free: 11.72 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01877/0.6352, allocations: 15.82 MB / 1.471 GB, free: 10.98 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.6369, allocations: 99.89 kB / 1.471 GB, free: 10.88 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/0.6371, allocations: 76 kB / 1.471 GB, free: 10.8 MB / 1.17 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.002716/0.6398, allocations: 1.315 MB / 1.472 GB, free: 9.48 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004225/0.6402, allocations: 198.8 kB / 1.472 GB, free: 9.285 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005573/0.6458, allocations: 2.761 MB / 1.475 GB, free: 6.477 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.6458, allocations: 12 kB / 1.475 GB, free: 6.465 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.6458, allocations: 8 kB / 1.475 GB, free: 6.457 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/0.6458, allocations: 7.969 kB / 1.475 GB, free: 6.449 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.6575, allocations: 5.33 MB / 1.48 GB, free: 0.9805 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.6575, allocations: 4 kB / 1.48 GB, free: 0.9766 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.6588, allocations: 239.5 kB / 1.481 GB, free: 0.7422 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002293/0.6611, allocations: 0.6715 MB / 1.481 GB, free: 44 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.98e-05/0.6612, allocations: 28 kB / 1.481 GB, free: 16 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01793/0.6791, allocations: 15.58 MB / 1.496 GB, free: 15.52 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/0.6791, allocations: 7.984 kB / 1.496 GB, free: 15.51 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007178/0.6863, allocations: 3.981 MB / 1.5 GB, free: 11.42 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.6875, allocations: 374.7 kB / 1.501 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/0.6878, allocations: 35.94 kB / 1.501 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009243/0.6887, allocations: 83.89 kB / 1.501 GB, free: 10.93 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003325/0.689, allocations: 116.7 kB / 1.501 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.6891, allocations: 40 kB / 1.501 GB, free: 10.78 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001393/0.6905, allocations: 0.9126 MB / 1.502 GB, free: 9.875 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6905, allocations: 0 / 1.502 GB, free: 9.875 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002481/0.693, allocations: 0.6836 MB / 1.503 GB, free: 9.191 MB / 1.201 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.0002823/0.6933, allocations: 155.9 kB / 1.503 GB, free: 9.031 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00578/0.6991, allocations: 3.377 MB / 1.506 GB, free: 5.535 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.6991, allocations: 4.875 kB / 1.506 GB, free: 5.531 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003617/0.7027, allocations: 2.232 MB / 1.508 GB, free: 3.188 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/0.7054, allocations: 0.6376 MB / 1.509 GB, free: 2.57 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.7177, allocations: 6.636 MB / 1.515 GB, free: 11.84 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003058/0.7208, allocations: 2.12 MB / 1.517 GB, free: 9.676 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001601/0.7224, allocations: 464.4 kB / 1.518 GB, free: 9.219 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/0.7227, allocations: 115.4 kB / 1.518 GB, free: 9.109 MB / 1.217 GB Notification: Performance of SimCode: time 1.663e-06/0.7227, allocations: 0 / 1.518 GB, free: 9.109 MB / 1.217 GB Notification: Performance of Templates: time 0.06791/0.7906, allocations: 38.53 MB / 1.556 GB, free: 3.305 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.400235977998818]