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.002572/0.002572, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.003124/0.003124, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.613/1.613, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.888/2.888, allocations: 359 MB / 0.6048 GB, free: 10.91 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.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.603e-06/1.603e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.16e-05, allocations: 13 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.0346/0.03463, allocations: 23.34 MB / 0.8092 GB, free: 5.352 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01405/0.04868, allocations: 6.576 MB / 0.8156 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00223/0.05091, allocations: 133.8 kB / 0.8158 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.004703/0.05561, allocations: 1.553 MB / 0.8173 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.005293/0.06091, allocations: 1.985 MB / 0.8192 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004107/0.06501, allocations: 1.481 MB / 0.8207 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00997/0.07498, allocations: 7.024 MB / 0.8275 GB, free: 2.586 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008593/0.08358, allocations: 3.766 MB / 0.8312 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008153/0.09173, allocations: 4.042 MB / 0.8351 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006916/0.09864, allocations: 3.527 MB / 0.8386 GB, free: 7.141 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.00168/0.1003, allocations: 0.5273 MB / 0.8391 GB, free: 6.613 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00341/0.1037, allocations: 1.131 MB / 0.8402 GB, free: 5.48 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.004404/0.1081, allocations: 2.697 MB / 0.8428 GB, free: 2.777 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.004943/0.1131, allocations: 1.774 MB / 0.8446 GB, free: 1 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.1263, allocations: 8.73 MB / 0.8531 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.1263, allocations: 3.984 kB / 0.8531 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1263, allocations: 0 / 0.8531 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002748/0.1266, allocations: 4 kB / 0.8531 GB, free: 8.23 MB / 0.8073 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.0128/0.1394, allocations: 5.109 MB / 0.8581 GB, free: 3.059 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1394, allocations: 8.031 kB / 0.8581 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/0.1496, allocations: 2.233 MB / 0.8603 GB, free: 0.8125 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007748/0.1573, allocations: 2.534 MB / 0.8628 GB, free: 14.23 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003458/0.1576, allocations: 271.7 kB / 0.863 GB, free: 13.96 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001746/0.1594, allocations: 372.3 kB / 0.8634 GB, free: 13.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/0.1714, allocations: 4.523 MB / 0.8678 GB, free: 8.672 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.951e-05/0.1715, allocations: 16.02 kB / 0.8678 GB, free: 8.656 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004958/0.172, allocations: 156.3 kB / 0.8679 GB, free: 8.504 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006979/0.1727, allocations: 491.3 kB / 0.8684 GB, free: 8.023 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006396/0.1791, allocations: 1.755 MB / 0.8701 GB, free: 6.266 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04102/0.2201, allocations: 25.78 MB / 0.8953 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/0.2222, allocations: 0.7981 MB / 0.8961 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001893/0.2241, allocations: 0.8264 MB / 0.8969 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.2242, allocations: 25.31 kB / 0.8969 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/0.2243, allocations: 58.69 kB / 0.897 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=146): time 3.657e-06/0.2243, allocations: 0 / 0.897 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.06832/0.2926, allocations: 17.37 MB / 0.9139 GB, free: 8.566 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.2927, allocations: 77.41 kB / 0.914 GB, free: 8.48 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/0.2958, allocations: 1.875 MB / 0.9158 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004228/0.2962, allocations: 65.7 kB / 0.9159 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001842/0.298, allocations: 1.959 MB / 0.9178 GB, free: 4.547 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001363/0.2994, allocations: 0.9689 MB / 0.9188 GB, free: 3.57 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/0.3007, allocations: 0.5311 MB / 0.9193 GB, free: 3.031 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002479/0.3009, allocations: 480.7 kB / 0.9197 GB, free: 2.559 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00216/0.3031, allocations: 0.8367 MB / 0.9206 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003399/0.3065, allocations: 1.76 MB / 0.9223 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005723/0.3122, allocations: 2.897 MB / 0.9251 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/0.3122, allocations: 8 kB / 0.9251 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03086/0.3431, allocations: 8.866 MB / 0.9338 GB, free: 3.469 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.3431, allocations: 12 kB / 0.9338 GB, free: 3.457 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/0.3431, allocations: 20.91 kB / 0.9338 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03187/0.375, allocations: 7.05 MB / 0.9407 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.3764, allocations: 303.5 kB / 0.941 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06645/0.4428, allocations: 27.05 MB / 0.9674 GB, free: 272 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003064/0.4459, allocations: 227.7 kB / 0.9676 GB, free: 44 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003823/0.4463, allocations: 96.05 kB / 0.9677 GB, free: 15.95 MB / 0.9323 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.001498/0.4478, allocations: 395.9 kB / 0.9681 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008601/0.4486, allocations: 330.4 kB / 0.9684 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03174/0.4804, allocations: 8.838 MB / 0.977 GB, free: 6.324 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-05/0.4804, allocations: 24 kB / 0.977 GB, free: 6.301 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001832/0.4806, allocations: 44 kB / 0.9771 GB, free: 6.258 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.792e-05/0.4806, allocations: 15.89 kB / 0.9771 GB, free: 6.242 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04251/0.5231, allocations: 13.82 MB / 0.9906 GB, free: 8.191 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.768e-05/0.5232, allocations: 8 kB / 0.9906 GB, free: 8.184 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008542/0.524, allocations: 159.8 kB / 0.9908 GB, free: 8.027 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03201/0.556, allocations: 6.837 MB / 0.9974 GB, free: 1.164 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000432/0.5565, allocations: 48 kB / 0.9975 GB, free: 1.117 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0643/0.6208, allocations: 26.86 MB / 1.024 GB, free: 5.504 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.6208, allocations: 8 kB / 1.024 GB, free: 5.496 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03007/0.6508, allocations: 8.796 MB / 1.032 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002871/0.6537, allocations: 0.7012 MB / 1.033 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004923/0.6542, allocations: 59.92 kB / 1.033 GB, free: 11.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002267/0.6565, allocations: 211.7 kB / 1.033 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00132/0.6578, allocations: 257.3 kB / 1.033 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002457/0.658, allocations: 64 kB / 1.034 GB, free: 11.24 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001661/0.6597, allocations: 1.041 MB / 1.035 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.6597, allocations: 0 / 1.035 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004942/0.6646, allocations: 1.617 MB / 1.036 GB, free: 8.59 MB / 0.9948 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.0004074/0.665, allocations: 167 kB / 1.036 GB, free: 8.418 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0219/0.6869, allocations: 7.085 MB / 1.043 GB, free: 1.227 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.687, allocations: 0 / 1.043 GB, free: 1.227 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01873/0.7057, allocations: 5.766 MB / 1.049 GB, free: 11.35 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/0.7088, allocations: 0.5427 MB / 1.049 GB, free: 10.82 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/0.7241, allocations: 7.648 MB / 1.057 GB, free: 3.016 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003761/0.7279, allocations: 2.395 MB / 1.059 GB, free: 0.582 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001071/0.7289, allocations: 318.8 kB / 1.06 GB, free: 272 kB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.7293, allocations: 96.48 kB / 1.06 GB, free: 176 kB / 1.01 GB Notification: Performance of SimCode: time 1.643e-06/0.7293, allocations: 0 / 1.06 GB, free: 176 kB / 1.01 GB Notification: Performance of Templates: time 0.4603/1.19, allocations: 100.2 MB / 1.157 GB, free: 228.3 MB / 1.01 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 240] 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: 10.816845807014033]