Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.00179/0.00179, 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.002253/0.002253, allocations: 168.2 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.576/1.576, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.779/2.779, 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.ACLineMatrix_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.648e-05, allocations: 8.109 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.04469/0.04472, allocations: 21.83 MB / 0.9723 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01393/0.05865, allocations: 6.387 MB / 0.9785 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002333/0.06098, allocations: 127 kB / 0.9787 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.005015/0.066, allocations: 1.515 MB / 0.9801 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006491/0.07249, allocations: 1.994 MB / 0.9821 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005086/0.07757, allocations: 1.472 MB / 0.9835 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01083/0.08841, allocations: 7.036 MB / 0.9904 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008317/0.09672, allocations: 3.739 MB / 0.994 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007823/0.1045, allocations: 4.019 MB / 0.998 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006259/0.1108, allocations: 3.402 MB / 1.001 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.1123, allocations: 0.5234 MB / 1.002 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00326/0.1155, allocations: 1.131 MB / 1.003 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003986/0.1195, allocations: 2.67 MB / 1.006 GB, free: 3.492 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003187/0.1227, allocations: 1.75 MB / 1.007 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.1332, allocations: 8.687 MB / 1.016 GB, free: 9.027 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1333, allocations: 0 / 1.016 GB, free: 9.027 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1333, allocations: 0 / 1.016 GB, free: 9.027 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001667/0.1334, allocations: 0 / 1.016 GB, free: 9.027 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.009124/0.1425, allocations: 4.44 MB / 1.02 GB, free: 4.531 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.1426, allocations: 8.031 kB / 1.02 GB, free: 4.523 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009547/0.1521, allocations: 1.714 MB / 1.022 GB, free: 2.805 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00761/0.1597, allocations: 2.66 MB / 1.024 GB, free: 100 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003072/0.1601, allocations: 279.7 kB / 1.025 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0013/0.1614, allocations: 364.2 kB / 1.025 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01471/0.1761, allocations: 7.709 MB / 1.032 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/0.1762, allocations: 16.06 kB / 1.032 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007436/0.1769, allocations: 164.3 kB / 1.033 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006983/0.1776, allocations: 491.3 kB / 1.033 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01146/0.1891, allocations: 5.693 MB / 1.039 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03524/0.2243, allocations: 19.92 MB / 1.058 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003439/0.2278, allocations: 2.012 MB / 1.06 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003721/0.2315, allocations: 2.1 MB / 1.062 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002227/0.2317, allocations: 13.31 kB / 1.062 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.613e-05/0.2318, allocations: 51.88 kB / 1.062 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=146): time 4.258e-06/0.2318, allocations: 4 kB / 1.062 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of matching and sorting (n=251): time 0.8097/1.041, allocations: 76.7 MB / 1.137 GB, free: 141.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/1.042, allocations: 79 kB / 1.137 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/1.044, allocations: 1.608 MB / 1.139 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004528/1.044, allocations: 69.7 kB / 1.139 GB, free: 140.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001104/1.045, allocations: 1.798 MB / 1.141 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009034/1.046, allocations: 0.8876 MB / 1.141 GB, free: 138.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/1.047, allocations: 483.1 kB / 1.142 GB, free: 137.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.514e-05/1.047, allocations: 306.3 kB / 1.142 GB, free: 137.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00348/1.051, allocations: 2.732 MB / 1.145 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003546/1.054, allocations: 3.327 MB / 1.148 GB, free: 134 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006708/1.061, allocations: 6.403 MB / 1.154 GB, free: 130.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/1.061, allocations: 7.75 kB / 1.154 GB, free: 130.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02898/1.09, allocations: 14.4 MB / 1.168 GB, free: 116.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/1.09, allocations: 14.5 kB / 1.168 GB, free: 116.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/1.09, allocations: 16 kB / 1.168 GB, free: 116.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02788/1.118, allocations: 9.206 MB / 1.177 GB, free: 107 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/1.119, allocations: 295.5 kB / 1.178 GB, free: 106.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06803/1.187, allocations: 50.83 MB / 1.227 GB, free: 55.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/1.19, allocations: 231.7 kB / 1.228 GB, free: 55.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004697/1.191, allocations: 96 kB / 1.228 GB, free: 55 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002575/1.194, allocations: 1.586 MB / 1.229 GB, free: 53.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006162/1.194, allocations: 246.6 kB / 1.229 GB, free: 53.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0294/1.224, allocations: 14.47 MB / 1.244 GB, free: 38.63 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.526e-05/1.224, allocations: 24 kB / 1.244 GB, free: 38.61 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001432/1.224, allocations: 45.88 kB / 1.244 GB, free: 38.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.838e-05/1.224, allocations: 11.95 kB / 1.244 GB, free: 38.55 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03705/1.261, allocations: 18.93 MB / 1.262 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.507e-05/1.261, allocations: 8 kB / 1.262 GB, free: 19.49 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007623/1.262, allocations: 163.7 kB / 1.262 GB, free: 19.33 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02861/1.29, allocations: 8.968 MB / 1.271 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005354/1.291, allocations: 52.69 kB / 1.271 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08475/1.375, allocations: 50.41 MB / 1.32 GB, free: 7.273 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/1.376, allocations: 11.94 kB / 1.32 GB, free: 7.262 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03646/1.412, allocations: 14.08 MB / 1.334 GB, free: 9.039 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002451/1.414, allocations: 0.7676 MB / 1.335 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005422/1.415, allocations: 51.98 kB / 1.335 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00242/1.417, allocations: 207.7 kB / 1.335 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001397/1.419, allocations: 257.2 kB / 1.335 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00027/1.419, allocations: 64 kB / 1.335 GB, free: 7.707 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001658/1.421, allocations: 1.068 MB / 1.336 GB, free: 6.648 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.421, allocations: 0 / 1.336 GB, free: 6.648 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.004656/1.425, allocations: 1.609 MB / 1.338 GB, free: 5.039 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004415/1.426, allocations: 167 kB / 1.338 GB, free: 4.863 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.02557/1.451, allocations: 10.18 MB / 1.348 GB, free: 10.62 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/1.451, allocations: 4.875 kB / 1.348 GB, free: 10.62 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.02023/1.472, allocations: 6.982 MB / 1.355 GB, free: 3.578 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/1.475, allocations: 0.535 MB / 1.356 GB, free: 3.07 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/1.491, allocations: 8.894 MB / 1.364 GB, free: 10.09 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003902/1.495, allocations: 2.677 MB / 1.367 GB, free: 7.375 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001083/1.496, allocations: 386.8 kB / 1.367 GB, free: 6.992 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/1.496, allocations: 92.5 kB / 1.367 GB, free: 6.902 MB / 1.092 GB Notification: Performance of SimCode: time 1.212e-06/1.496, allocations: 7.828 kB / 1.367 GB, free: 6.898 MB / 1.092 GB Notification: Performance of Templates: time 0.156/1.652, allocations: 97.26 MB / 1.462 GB, free: 6.164 MB / 1.186 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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: 11.457767236977816]