Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.0009024/0.0009024, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008897/0.0008897, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8665/0.8665, allocations: 177.1 MB / 203.5 MB, free: 5.672 MB / 186.7 MB " [Timeout remaining time 179] 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 1.664/1.664, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] 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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.9517 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.65e-05, allocations: 13.39 kB / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.007267/0.007293, allocations: 9.497 MB / 0.961 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003327/0.01062, allocations: 3.115 MB / 0.9641 GB, free: 6.305 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.01094, allocations: 43.69 kB / 0.9641 GB, free: 6.262 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008973/0.01183, allocations: 0.61 MB / 0.9647 GB, free: 5.648 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0008836/0.01272, allocations: 0.7888 MB / 0.9655 GB, free: 4.855 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.01352, allocations: 0.7593 MB / 0.9662 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0018/0.01532, allocations: 3.042 MB / 0.9692 GB, free: 1.043 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.01654, allocations: 1.416 MB / 0.9706 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.01789, allocations: 1.735 MB / 0.9723 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.01929, allocations: 1.567 MB / 0.9738 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002218/0.01952, allocations: 236 kB / 0.974 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005612/0.02008, allocations: 483.3 kB / 0.9745 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0006314/0.02071, allocations: 1.158 MB / 0.9756 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0005478/0.02126, allocations: 0.7874 MB / 0.9764 GB, free: 9.621 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.02355, allocations: 3.787 MB / 0.9801 GB, free: 5.824 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.02355, allocations: 4 kB / 0.9801 GB, free: 5.82 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.974e-06/0.02355, allocations: 0 / 0.9801 GB, free: 5.82 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.604e-05/0.02358, allocations: 0 / 0.9801 GB, free: 5.82 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002294/0.02587, allocations: 2.097 MB / 0.9821 GB, free: 3.684 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.02591, allocations: 12.03 kB / 0.9821 GB, free: 3.672 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004049/0.02996, allocations: 1.361 MB / 0.9835 GB, free: 2.309 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.03138, allocations: 1.265 MB / 0.9847 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.03143, allocations: 111.4 kB / 0.9848 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/0.03164, allocations: 144.3 kB / 0.9849 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003311/0.03495, allocations: 3.516 MB / 0.9884 GB, free: 13.14 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.03498, allocations: 4.125 kB / 0.9884 GB, free: 13.13 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.03512, allocations: 68.33 kB / 0.9885 GB, free: 13.07 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000154/0.03527, allocations: 207.1 kB / 0.9886 GB, free: 12.86 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003072/0.03834, allocations: 3.124 MB / 0.9917 GB, free: 9.734 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009221/0.04757, allocations: 9.814 MB / 1.001 GB, free: 15.73 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.04918, allocations: 1.618 MB / 1.003 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.05041, allocations: 1.342 MB / 1.004 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.504e-05/0.05048, allocations: 9 kB / 1.004 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.0505, allocations: 47.5 kB / 1.004 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=104): time 3.256e-06/0.0505, allocations: 0 / 1.004 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=183): time 0.07229/0.1228, allocations: 36.19 MB / 1.04 GB, free: 8.461 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.1229, allocations: 69.41 kB / 1.04 GB, free: 8.379 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.1239, allocations: 1.044 MB / 1.041 GB, free: 7.328 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.1241, allocations: 53.7 kB / 1.041 GB, free: 7.27 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/0.1244, allocations: 0.8053 MB / 1.041 GB, free: 6.453 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/0.1248, allocations: 0.639 MB / 1.042 GB, free: 5.809 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004668/0.1253, allocations: 363.5 kB / 1.042 GB, free: 5.445 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.975e-05/0.1254, allocations: 305.1 kB / 1.043 GB, free: 5.145 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/0.1272, allocations: 1.928 MB / 1.045 GB, free: 3.215 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/0.1292, allocations: 2.293 MB / 1.047 GB, free: 0.8047 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.501/0.6302, allocations: 4.383 MB / 1.051 GB, free: 128.2 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.6302, allocations: 3.812 kB / 1.051 GB, free: 128.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01136/0.6416, allocations: 8.871 MB / 1.06 GB, free: 125.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.6416, allocations: 10.19 kB / 1.06 GB, free: 125.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.6416, allocations: 9.812 kB / 1.06 GB, free: 125.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008985/0.6506, allocations: 4.966 MB / 1.065 GB, free: 125 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/0.6511, allocations: 192.9 kB / 1.065 GB, free: 125 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04333/0.6945, allocations: 37.81 MB / 1.102 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/0.6964, allocations: 104.1 kB / 1.102 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.6965, allocations: 65.61 kB / 1.102 GB, free: 107.6 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001584/0.6981, allocations: 0.8096 MB / 1.103 GB, free: 107.3 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.6983, allocations: 143.8 kB / 1.103 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01593/0.7142, allocations: 8.739 MB / 1.111 GB, free: 104.5 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.7143, allocations: 19.67 kB / 1.111 GB, free: 104.5 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-05/0.7143, allocations: 28.94 kB / 1.111 GB, free: 104.5 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/0.7144, allocations: 9.516 kB / 1.111 GB, free: 104.5 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/0.7322, allocations: 12.39 MB / 1.124 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.026e-06/0.7322, allocations: 4.359 kB / 1.124 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.7324, allocations: 124.2 kB / 1.124 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009729/0.7422, allocations: 4.817 MB / 1.128 GB, free: 98.26 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.7423, allocations: 29.94 kB / 1.128 GB, free: 98.24 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02901/0.7713, allocations: 35.79 MB / 1.163 GB, free: 66.83 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.7713, allocations: 7.938 kB / 1.163 GB, free: 66.82 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009902/0.7812, allocations: 8.443 MB / 1.172 GB, free: 58.29 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007268/0.7819, allocations: 0.5712 MB / 1.172 GB, free: 57.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.7821, allocations: 36 kB / 1.172 GB, free: 57.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005664/0.7826, allocations: 91.88 kB / 1.172 GB, free: 57.6 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005454/0.7832, allocations: 177.5 kB / 1.172 GB, free: 57.42 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.273e-05/0.7833, allocations: 48 kB / 1.173 GB, free: 57.38 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005481/0.7838, allocations: 0.7141 MB / 1.173 GB, free: 56.65 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.7838, allocations: 0 / 1.173 GB, free: 56.65 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002174/0.786, allocations: 1.004 MB / 1.174 GB, free: 55.64 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002268/0.7862, allocations: 145.4 kB / 1.174 GB, free: 55.49 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005125/0.7913, allocations: 5.741 MB / 1.18 GB, free: 49.71 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7913, allocations: 0 / 1.18 GB, free: 49.71 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003568/0.7949, allocations: 3.781 MB / 1.184 GB, free: 45.9 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007888/0.7957, allocations: 232.7 kB / 1.184 GB, free: 45.69 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006809/0.8025, allocations: 5.446 MB / 1.189 GB, free: 40.22 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/0.8039, allocations: 1.304 MB / 1.19 GB, free: 38.88 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.8041, allocations: 68.48 kB / 1.191 GB, free: 38.81 MB / 0.9948 GB Notification: Performance of SimCode: time 9.92e-07/0.8041, allocations: 4 kB / 1.191 GB, free: 38.81 MB / 0.9948 GB Notification: Performance of Templates: time 0.05091/0.8551, allocations: 70.07 MB / 1.259 GB, free: 0.7109 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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: 10.053805444389582]