Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001586/0.001586, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002083/0.002083, allocations: 212.7 kB / 23.01 MB, free: 4.566 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.287/3.287, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [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.003527/0.003527, allocations: 68 kB / 1.178 GB, free: 16.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4319, allocations: 180.2 MB / 1.354 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02581/0.4577, allocations: 21.23 MB / 1.375 GB, free: 2.613 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01252/0.4703, allocations: 6.726 MB / 1.381 GB, free: 11.87 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/0.4719, allocations: 111.2 kB / 1.382 GB, free: 11.76 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005871/0.4777, allocations: 2.342 MB / 1.384 GB, free: 9.414 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003467/0.4812, allocations: 1.24 MB / 1.385 GB, free: 8.168 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003401/0.4846, allocations: 1.32 MB / 1.386 GB, free: 6.848 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006203/0.4908, allocations: 4.843 MB / 1.391 GB, free: 1.988 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004635/0.4955, allocations: 3.178 MB / 1.394 GB, free: 14.74 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003753/0.4992, allocations: 2.154 MB / 1.396 GB, free: 12.58 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004279/0.5035, allocations: 2.477 MB / 1.399 GB, free: 10.1 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006895/0.5042, allocations: 428 kB / 1.399 GB, free: 9.68 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.5064, allocations: 1.018 MB / 1.4 GB, free: 8.66 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00183/0.5082, allocations: 1.711 MB / 1.402 GB, free: 6.945 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002352/0.5106, allocations: 1.914 MB / 1.404 GB, free: 5.023 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.007555/0.5181, allocations: 6.541 MB / 1.41 GB, free: 14.46 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5181, allocations: 3.938 kB / 1.41 GB, free: 14.46 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5181, allocations: 0 / 1.41 GB, free: 14.46 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001383/0.5183, allocations: 0 / 1.41 GB, free: 14.46 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007101/0.5254, allocations: 3.466 MB / 1.413 GB, free: 10.94 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.5254, allocations: 8.031 kB / 1.413 GB, free: 10.93 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00327/0.5287, allocations: 0.6545 MB / 1.414 GB, free: 10.28 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004403/0.5331, allocations: 1.997 MB / 1.416 GB, free: 8.23 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.5332, allocations: 218.3 kB / 1.416 GB, free: 8.016 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004877/0.5337, allocations: 296.3 kB / 1.416 GB, free: 7.727 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008193/0.5419, allocations: 4.894 MB / 1.421 GB, free: 2.633 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-05/0.542, allocations: 7.938 kB / 1.421 GB, free: 2.625 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002995/0.5423, allocations: 128 kB / 1.421 GB, free: 2.5 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000443/0.5427, allocations: 229.7 kB / 1.422 GB, free: 2.273 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006434/0.5492, allocations: 3.75 MB / 1.425 GB, free: 14.51 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0255/0.5747, allocations: 21.24 MB / 1.446 GB, free: 7.273 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/0.5767, allocations: 1.231 MB / 1.447 GB, free: 6.031 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.5783, allocations: 0.9875 MB / 1.448 GB, free: 5.039 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.389e-05/0.5784, allocations: 13 kB / 1.448 GB, free: 5.027 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/0.5784, allocations: 47.56 kB / 1.448 GB, free: 4.969 MB / 1.139 GB Notification: Performance of pre-optimization done (n=107): time 3.376e-06/0.5784, allocations: 0 / 1.448 GB, free: 4.969 MB / 1.139 GB Notification: Performance of matching and sorting (n=138): time 0.02439/0.6028, allocations: 8.436 MB / 1.456 GB, free: 12.54 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.6029, allocations: 64.72 kB / 1.457 GB, free: 12.46 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.6045, allocations: 1.123 MB / 1.458 GB, free: 11.34 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.6046, allocations: 57.69 kB / 1.458 GB, free: 11.27 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009804/0.6056, allocations: 1.335 MB / 1.459 GB, free: 9.926 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004461/0.6061, allocations: 0.4996 MB / 1.459 GB, free: 9.422 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004868/0.6065, allocations: 291.5 kB / 1.46 GB, free: 9.129 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6067, allocations: 305.1 kB / 1.46 GB, free: 8.828 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.608, allocations: 0.9135 MB / 1.461 GB, free: 7.914 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.6097, allocations: 1.322 MB / 1.462 GB, free: 6.422 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003307/0.613, allocations: 2.426 MB / 1.465 GB, free: 3.824 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.613, allocations: 4 kB / 1.465 GB, free: 3.82 MB / 1.154 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006386/0.6194, allocations: 3.434 MB / 1.468 GB, free: 376 kB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.6195, allocations: 12 kB / 1.468 GB, free: 364 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.6195, allocations: 12 kB / 1.468 GB, free: 352 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003324/0.6228, allocations: 1.18 MB / 1.469 GB, free: 15.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009744/0.6238, allocations: 263.6 kB / 1.469 GB, free: 14.9 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01984/0.6436, allocations: 13.55 MB / 1.483 GB, free: 1.004 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.645, allocations: 91.97 kB / 1.483 GB, free: 0.9141 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.6451, allocations: 64 kB / 1.483 GB, free: 0.8516 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001955/0.6471, allocations: 1.118 MB / 1.484 GB, free: 15.72 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003444/0.6474, allocations: 167 kB / 1.484 GB, free: 15.56 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005916/0.6533, allocations: 3.142 MB / 1.487 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.6533, allocations: 12 kB / 1.487 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.19e-05/0.6534, allocations: 16.31 kB / 1.487 GB, free: 12.37 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.6534, allocations: 3.984 kB / 1.487 GB, free: 12.37 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/0.6647, allocations: 6.194 MB / 1.493 GB, free: 6.043 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.6647, allocations: 8.094 kB / 1.493 GB, free: 6.035 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006087/0.6653, allocations: 147.8 kB / 1.493 GB, free: 5.891 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003045/0.6684, allocations: 1.07 MB / 1.494 GB, free: 4.812 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.6685, allocations: 28 kB / 1.494 GB, free: 4.785 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01808/0.6866, allocations: 13.23 MB / 1.507 GB, free: 7.215 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.6866, allocations: 11.92 kB / 1.507 GB, free: 7.203 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005738/0.6923, allocations: 3.12 MB / 1.51 GB, free: 4 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.6935, allocations: 366.9 kB / 1.511 GB, free: 3.641 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002295/0.6937, allocations: 35.94 kB / 1.511 GB, free: 3.605 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008306/0.6946, allocations: 83.89 kB / 1.511 GB, free: 3.523 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004228/0.695, allocations: 124.6 kB / 1.511 GB, free: 3.398 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.882e-05/0.6951, allocations: 40 kB / 1.511 GB, free: 3.359 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001147/0.6962, allocations: 0.771 MB / 1.512 GB, free: 2.586 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6962, allocations: 0 / 1.512 GB, free: 2.586 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002319/0.6985, allocations: 0.6562 MB / 1.512 GB, free: 1.93 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002733/0.6988, allocations: 139 kB / 1.512 GB, free: 1.781 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.005211/0.704, allocations: 3.005 MB / 1.515 GB, free: 14.74 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.704, allocations: 4 kB / 1.515 GB, free: 14.74 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003185/0.7072, allocations: 1.881 MB / 1.517 GB, free: 12.82 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.7095, allocations: 0.5091 MB / 1.518 GB, free: 12.32 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.7204, allocations: 5.971 MB / 1.524 GB, free: 6.262 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002742/0.7232, allocations: 2.379 MB / 1.526 GB, free: 3.852 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00044/0.7236, allocations: 95.44 kB / 1.526 GB, free: 3.758 MB / 1.217 GB Notification: Performance of SimCode: time 1.342e-06/0.7236, allocations: 0 / 1.526 GB, free: 3.758 MB / 1.217 GB Notification: Performance of Templates: time 0.1055/0.8291, allocations: 79.75 MB / 1.604 GB, free: 4.07 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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: 18.61294086801354]