Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001793/0.001793, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002444/0.002444, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.481/1.481, allocations: 177.2 MB / 203.1 MB, free: 5.602 MB / 186.7 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.237/3.237, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.891e-05/4.114e-05, allocations: 3.406 kB / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.01297/0.01301, allocations: 5.303 MB / 0.8828 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006415/0.01943, allocations: 2.596 MB / 0.8853 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007292/0.02016, allocations: 35.69 kB / 0.8853 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002576/0.02273, allocations: 0.6864 MB / 0.886 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001798/0.02453, allocations: 437.3 kB / 0.8864 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.02628, allocations: 422.7 kB / 0.8868 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00213/0.02841, allocations: 0.9824 MB / 0.8878 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.02954, allocations: 382.4 kB / 0.8882 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.03124, allocations: 0.5143 MB / 0.8887 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009581/0.0322, allocations: 366.9 kB / 0.889 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.03234, allocations: 48 kB / 0.8891 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008932/0.03323, allocations: 327.1 kB / 0.8894 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003587/0.03359, allocations: 271.2 kB / 0.8896 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.00056/0.03415, allocations: 243.4 kB / 0.8899 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.03583, allocations: 1.005 MB / 0.8908 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.03583, allocations: 0 / 0.8908 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.292e-06/0.03583, allocations: 0 / 0.8908 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.03585, allocations: 0 / 0.8908 GB, free: 8.891 MB / 0.8542 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.002098/0.03795, allocations: 0.917 MB / 0.8917 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.03799, allocations: 8.031 kB / 0.8917 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/0.03973, allocations: 291.8 kB / 0.892 GB, free: 7.645 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.04074, allocations: 490.9 kB / 0.8925 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.473e-05/0.0408, allocations: 41.36 kB / 0.8925 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.041, allocations: 60.45 kB / 0.8926 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.04287, allocations: 0.9828 MB / 0.8935 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.04291, allocations: 8.125 kB / 0.8935 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.908e-05/0.04298, allocations: 32.11 kB / 0.8936 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002164/0.0432, allocations: 60.95 kB / 0.8936 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.04427, allocations: 0.5736 MB / 0.8942 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005313/0.04959, allocations: 3.496 MB / 0.8976 GB, free: 1.637 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005977/0.05018, allocations: 283.1 kB / 0.8979 GB, free: 1.352 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003828/0.05057, allocations: 209.3 kB / 0.8981 GB, free: 1.145 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/0.0506, allocations: 12.22 kB / 0.8981 GB, free: 1.133 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.05066, allocations: 42.84 kB / 0.8981 GB, free: 1.082 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 4.248e-06/0.05066, allocations: 0 / 0.8981 GB, free: 1.082 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.008643/0.0593, allocations: 2.387 MB / 0.9005 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.05937, allocations: 55.41 kB / 0.9005 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006418/0.06001, allocations: 437.7 kB / 0.9009 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.06006, allocations: 33.7 kB / 0.901 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000342/0.0604, allocations: 360.3 kB / 0.9013 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.06058, allocations: 146.7 kB / 0.9015 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.06079, allocations: 102.3 kB / 0.9015 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002411/0.06103, allocations: 358.7 kB / 0.9019 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004422/0.06147, allocations: 241.2 kB / 0.9021 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/0.06209, allocations: 415.4 kB / 0.9025 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.06322, allocations: 0.6817 MB / 0.9032 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.06323, allocations: 4 kB / 0.9032 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002179/0.06541, allocations: 0.9449 MB / 0.9041 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.06543, allocations: 6.656 kB / 0.9041 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.06545, allocations: 11.98 kB / 0.9041 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/0.06687, allocations: 298.7 kB / 0.9044 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/0.06742, allocations: 111.9 kB / 0.9045 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00707/0.07449, allocations: 4.977 MB / 0.9094 GB, free: 4.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005814/0.07507, allocations: 31.97 kB / 0.9094 GB, free: 4.965 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/0.07513, allocations: 31.92 kB / 0.9094 GB, free: 4.934 MB / 0.8698 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.0004461/0.07558, allocations: 229.7 kB / 0.9097 GB, free: 4.699 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.07573, allocations: 67.67 kB / 0.9097 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.07765, allocations: 0.7731 MB / 0.9105 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.07766, allocations: 4 kB / 0.9105 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.07767, allocations: 4 kB / 0.9105 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.07768, allocations: 0 / 0.9105 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.08081, allocations: 1.338 MB / 0.9118 GB, free: 2.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.08082, allocations: 4 kB / 0.9118 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.08122, allocations: 63.89 kB / 0.9119 GB, free: 2.363 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001275/0.08249, allocations: 278.5 kB / 0.9121 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.6e-05/0.08254, allocations: 12.12 kB / 0.9121 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006964/0.0895, allocations: 4.915 MB / 0.9169 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.08951, allocations: 4.031 kB / 0.9169 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/0.09188, allocations: 1.143 MB / 0.9181 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.09222, allocations: 95.59 kB / 0.9181 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-05/0.0923, allocations: 11.94 kB / 0.9182 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.09266, allocations: 27.97 kB / 0.9182 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.09279, allocations: 31.94 kB / 0.9182 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/0.09283, allocations: 19.98 kB / 0.9182 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004475/0.09328, allocations: 286.9 kB / 0.9185 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.09328, allocations: 4.062 kB / 0.9185 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009413/0.09422, allocations: 172 kB / 0.9187 GB, free: 11.02 MB / 0.8855 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.0002428/0.09446, allocations: 115.2 kB / 0.9188 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002129/0.09659, allocations: 0.9767 MB / 0.9197 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.0966, allocations: 4 kB / 0.9197 GB, free: 9.875 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.09782, allocations: 0.6756 MB / 0.9204 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.09885, allocations: 177.1 kB / 0.9206 GB, free: 9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.1017, allocations: 1.228 MB / 0.9218 GB, free: 7.715 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.1022, allocations: 354.2 kB / 0.9221 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000401/0.1026, allocations: 112.8 kB / 0.9222 GB, free: 7.23 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.1028, allocations: 36.44 kB / 0.9223 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of SimCode: time 1.633e-06/0.1028, allocations: 0 / 0.9223 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of Templates: time 0.02048/0.1232, allocations: 9.155 MB / 0.9312 GB, free: 14.24 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.636090890970081]