Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001475/0.001475, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001535/0.001535, allocations: 167.1 kB / 22.46 MB, free: 5.359 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.439/1.439, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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.734/2.734, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.692e-05, allocations: 2.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04431/0.04433, allocations: 33.01 MB / 0.9832 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0211/0.06543, allocations: 11.37 MB / 0.9943 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002712/0.06814, allocations: 210.4 kB / 0.9945 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01191/0.08006, allocations: 4.285 MB / 0.9987 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006117/0.08617, allocations: 2.152 MB / 1.001 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006615/0.09279, allocations: 2.427 MB / 1.003 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01163/0.1044, allocations: 8.614 MB / 1.012 GB, free: 13.33 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01407/0.1185, allocations: 6.189 MB / 1.018 GB, free: 7.016 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01117/0.1297, allocations: 5.399 MB / 1.023 GB, free: 1.605 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006977/0.1366, allocations: 3.901 MB / 1.027 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.002193/0.1388, allocations: 0.7812 MB / 1.027 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006271/0.1451, allocations: 1.926 MB / 1.029 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.005309/0.1504, allocations: 3.27 MB / 1.033 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00553/0.1559, allocations: 2.378 MB / 1.035 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01669/0.1726, allocations: 12.24 MB / 1.047 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.1726, allocations: 3.938 kB / 1.047 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.963e-06/0.1726, allocations: 0 / 1.047 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.000393/0.173, allocations: 7.938 kB / 1.047 GB, free: 9.043 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01759/0.1906, allocations: 5.805 MB / 1.053 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/0.1907, allocations: 12.03 kB / 1.053 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007235/0.1979, allocations: 1.102 MB / 1.054 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009634/0.2075, allocations: 3.418 MB / 1.057 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004875/0.208, allocations: 415.4 kB / 1.057 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002238/0.2103, allocations: 0.5393 MB / 1.058 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0232/0.2335, allocations: 9.38 MB / 1.067 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002993/0.2338, allocations: 27.95 kB / 1.067 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00167/0.2354, allocations: 236.3 kB / 1.067 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004719/0.2359, allocations: 354.7 kB / 1.068 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01472/0.2506, allocations: 6.822 MB / 1.074 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0398/0.2904, allocations: 24.21 MB / 1.098 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003905/0.2943, allocations: 2.303 MB / 1.1 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4687/0.763, allocations: 1.762 MB / 1.102 GB, free: 144 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.7632, allocations: 19.53 kB / 1.102 GB, free: 144 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.7632, allocations: 51.7 kB / 1.102 GB, free: 144 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=179): time 4.097e-06/0.7632, allocations: 0.75 kB / 1.102 GB, free: 144 MB / 0.9981 GB Notification: Performance of matching and sorting (n=182): time 0.02709/0.7903, allocations: 9.663 MB / 1.111 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.7904, allocations: 71.69 kB / 1.111 GB, free: 141.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/0.7925, allocations: 1.448 MB / 1.113 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001795/0.7927, allocations: 55.48 kB / 1.113 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001267/0.794, allocations: 2.317 MB / 1.115 GB, free: 139.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004965/0.7945, allocations: 0.6546 MB / 1.116 GB, free: 139.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005984/0.7951, allocations: 404.7 kB / 1.116 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.91e-05/0.7951, allocations: 301.1 kB / 1.116 GB, free: 138.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/0.7968, allocations: 1.174 MB / 1.118 GB, free: 138.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.7988, allocations: 1.892 MB / 1.119 GB, free: 136.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004059/0.8028, allocations: 3.361 MB / 1.123 GB, free: 134.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.699e-05/0.8029, allocations: 12.97 kB / 1.123 GB, free: 134.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008017/0.8109, allocations: 4.526 MB / 1.127 GB, free: 133 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.8109, allocations: 24.02 kB / 1.127 GB, free: 133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.189e-05/0.8109, allocations: 22 kB / 1.127 GB, free: 133 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004191/0.8151, allocations: 1.578 MB / 1.129 GB, free: 132.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.8165, allocations: 355.7 kB / 1.129 GB, free: 132.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0239/0.8404, allocations: 17.82 MB / 1.147 GB, free: 122 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.8425, allocations: 116.3 kB / 1.147 GB, free: 122 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/0.8428, allocations: 102 kB / 1.147 GB, free: 122 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002991/0.8457, allocations: 1.89 MB / 1.149 GB, free: 121.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004576/0.8462, allocations: 225.9 kB / 1.149 GB, free: 121.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006532/0.8527, allocations: 4.043 MB / 1.153 GB, free: 119.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.8527, allocations: 17.25 kB / 1.153 GB, free: 119.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.541e-05/0.8528, allocations: 17.84 kB / 1.153 GB, free: 119.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.8528, allocations: 15.14 kB / 1.153 GB, free: 119.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/0.866, allocations: 7.83 MB / 1.16 GB, free: 116 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.866, allocations: 3.312 kB / 1.16 GB, free: 116 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008513/0.8669, allocations: 186.7 kB / 1.161 GB, free: 116 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003257/0.8701, allocations: 1.348 MB / 1.162 GB, free: 115.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/0.8703, allocations: 39.66 kB / 1.162 GB, free: 115.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01676/0.887, allocations: 16.61 MB / 1.178 GB, free: 101.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.887, allocations: 15.62 kB / 1.178 GB, free: 101.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005865/0.8929, allocations: 4.008 MB / 1.182 GB, free: 97.12 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/0.8941, allocations: 469.4 kB / 1.183 GB, free: 96.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002682/0.8943, allocations: 32 kB / 1.183 GB, free: 96.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009419/0.8953, allocations: 87.89 kB / 1.183 GB, free: 96.54 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004826/0.8958, allocations: 173.5 kB / 1.183 GB, free: 96.37 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.8959, allocations: 48 kB / 1.183 GB, free: 96.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001045/0.8969, allocations: 0.9193 MB / 1.184 GB, free: 95.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.8969, allocations: 4 kB / 1.184 GB, free: 95.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003494/0.9004, allocations: 0.9805 MB / 1.185 GB, free: 94.43 MB / 0.9981 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003027/0.9007, allocations: 148.9 kB / 1.185 GB, free: 94.28 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006107/0.9068, allocations: 4.174 MB / 1.189 GB, free: 90.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.9068, allocations: 0 / 1.189 GB, free: 90.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003503/0.9103, allocations: 2.572 MB / 1.191 GB, free: 87.45 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003251/0.9136, allocations: 0.7687 MB / 1.192 GB, free: 86.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.9262, allocations: 8.84 MB / 1.201 GB, free: 77.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003007/0.9292, allocations: 3.039 MB / 1.204 GB, free: 74.72 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001224/0.9305, allocations: 455.1 kB / 1.204 GB, free: 74.27 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.9308, allocations: 108.5 kB / 1.204 GB, free: 74.17 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/0.9308, allocations: 0 / 1.204 GB, free: 74.17 MB / 0.9981 GB Notification: Performance of Templates: time 0.06191/0.9927, allocations: 44.5 MB / 1.248 GB, free: 30.5 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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: 9.750659011304379]