Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001776/0.001776, 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.001693/0.001693, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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.491/1.491, allocations: 177.1 MB / 203.9 MB, free: 5.578 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.788/2.788, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 176] 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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.7864 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.642e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009589/0.009615, allocations: 5.897 MB / 0.7921 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006281/0.0159, allocations: 3.114 MB / 0.7952 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006154/0.01651, allocations: 40.34 kB / 0.7952 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003104/0.01962, allocations: 0.9375 MB / 0.7961 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.02118, allocations: 0.5011 MB / 0.7966 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.02263, allocations: 0.5009 MB / 0.7971 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001731/0.02436, allocations: 1.131 MB / 0.7982 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.02543, allocations: 0.5115 MB / 0.7987 GB, free: 208 kB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.02689, allocations: 0.608 MB / 0.7993 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008855/0.02777, allocations: 425.5 kB / 0.7997 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.02793, allocations: 59.98 kB / 0.7998 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009786/0.0289, allocations: 454.7 kB / 0.8002 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0004136/0.02932, allocations: 307.1 kB / 0.8005 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004906/0.02981, allocations: 271.3 kB / 0.8007 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001912/0.03172, allocations: 1.215 MB / 0.8019 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.03172, allocations: 0 / 0.8019 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.372e-06/0.03173, allocations: 0 / 0.8019 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.273e-05/0.03176, allocations: 0.5 kB / 0.8019 GB, free: 12.89 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002255/0.03401, allocations: 0.9972 MB / 0.8029 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.03405, allocations: 10.62 kB / 0.8029 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.03589, allocations: 347.6 kB / 0.8032 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.03704, allocations: 0.5679 MB / 0.8038 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.48e-05/0.03709, allocations: 45.67 kB / 0.8038 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.03723, allocations: 72.3 kB / 0.8039 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.03909, allocations: 1.127 MB / 0.805 GB, free: 9.547 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/0.03912, allocations: 12.11 kB / 0.805 GB, free: 9.535 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.439e-05/0.03921, allocations: 29.3 kB / 0.8051 GB, free: 9.508 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/0.03932, allocations: 73.2 kB / 0.8051 GB, free: 9.434 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.04062, allocations: 0.6929 MB / 0.8058 GB, free: 8.742 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005605/0.04622, allocations: 4.4 MB / 0.8101 GB, free: 4.195 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008688/0.04709, allocations: 404.3 kB / 0.8105 GB, free: 3.793 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009224/0.04801, allocations: 397.1 kB / 0.8109 GB, free: 3.402 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.04805, allocations: 8 kB / 0.8109 GB, free: 3.395 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.04809, allocations: 42.28 kB / 0.8109 GB, free: 3.344 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=41): time 2.044e-06/0.04809, allocations: 0 / 0.8109 GB, free: 3.344 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.004819/0.05291, allocations: 1.738 MB / 0.8126 GB, free: 1.586 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.05297, allocations: 59.19 kB / 0.8127 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005878/0.05355, allocations: 449.7 kB / 0.8131 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.05359, allocations: 29.7 kB / 0.8131 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/0.05394, allocations: 400 kB / 0.8135 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.0541, allocations: 150.7 kB / 0.8136 GB, free: 500 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.05429, allocations: 110.2 kB / 0.8138 GB, free: 384 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002226/0.05451, allocations: 358.8 kB / 0.8141 GB, free: 16 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004346/0.05495, allocations: 253.2 kB / 0.8143 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.05558, allocations: 453 kB / 0.8148 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.05674, allocations: 0.7558 MB / 0.8155 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.05675, allocations: 4 kB / 0.8155 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002322/0.05907, allocations: 1.066 MB / 0.8165 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.05909, allocations: 8.875 kB / 0.8166 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.05911, allocations: 11.98 kB / 0.8166 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/0.06048, allocations: 354.9 kB / 0.8169 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.06083, allocations: 107.8 kB / 0.817 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009008/0.06983, allocations: 6.984 MB / 0.8238 GB, free: 5.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.07028, allocations: 36.02 kB / 0.8239 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/0.07035, allocations: 24 kB / 0.8239 GB, free: 5.352 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004025/0.07075, allocations: 253.5 kB / 0.8241 GB, free: 5.094 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.07091, allocations: 67.67 kB / 0.8242 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.07288, allocations: 0.8999 MB / 0.8251 GB, free: 4.109 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.07288, allocations: 8 kB / 0.8251 GB, free: 4.102 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.07289, allocations: 4 kB / 0.8251 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.0729, allocations: 3.938 kB / 0.8251 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/0.07591, allocations: 1.511 MB / 0.8266 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.07592, allocations: 0 / 0.8266 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.0761, allocations: 44.22 kB / 0.8266 GB, free: 2.473 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.07735, allocations: 347.1 kB / 0.8269 GB, free: 2.121 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.07738, allocations: 12 kB / 0.8269 GB, free: 2.109 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008846/0.08623, allocations: 6.99 MB / 0.8338 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/0.08624, allocations: 4 kB / 0.8338 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.08831, allocations: 0.992 MB / 0.8347 GB, free: 9.664 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/0.08866, allocations: 99.56 kB / 0.8348 GB, free: 9.566 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.0888, allocations: 15.98 kB / 0.8349 GB, free: 9.551 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.08916, allocations: 19.98 kB / 0.8349 GB, free: 9.531 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.08932, allocations: 47.61 kB / 0.8349 GB, free: 9.484 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.08935, allocations: 12 kB / 0.8349 GB, free: 9.473 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0005107/0.08986, allocations: 286.9 kB / 0.8352 GB, free: 9.195 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/0.08986, allocations: 0 / 0.8352 GB, free: 9.195 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00105/0.09091, allocations: 200 kB / 0.8354 GB, free: 9 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002005/0.09111, allocations: 111.2 kB / 0.8355 GB, free: 8.883 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002292/0.09341, allocations: 1.166 MB / 0.8366 GB, free: 7.668 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/0.09341, allocations: 8 kB / 0.8366 GB, free: 7.66 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.0948, allocations: 0.8262 MB / 0.8375 GB, free: 6.781 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.09586, allocations: 209.1 kB / 0.8377 GB, free: 6.586 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.09836, allocations: 1.275 MB / 0.8389 GB, free: 5.266 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/0.09892, allocations: 394.9 kB / 0.8393 GB, free: 4.855 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000325/0.09925, allocations: 101 kB / 0.8394 GB, free: 4.754 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.963e-05/0.09935, allocations: 36.5 kB / 0.8394 GB, free: 4.719 MB / 0.7917 GB Notification: Performance of SimCode: time 7.81e-07/0.09935, allocations: 4 kB / 0.8394 GB, free: 4.715 MB / 0.7917 GB Notification: Performance of Templates: time 0.02086/0.1202, allocations: 10.42 MB / 0.8496 GB, free: 10.5 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.211212864960544]