Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002472/0.002472, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.003039/0.003039, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.585/1.585, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.349/3.349, allocations: 429.4 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8775 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.47e-05, allocations: 3.156 kB / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.0345/0.03453, allocations: 23.34 MB / 0.9003 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01354/0.04807, allocations: 6.584 MB / 0.9067 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002176/0.05024, allocations: 127.1 kB / 0.9068 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.004839/0.05508, allocations: 1.554 MB / 0.9083 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.005418/0.0605, allocations: 1.978 MB / 0.9103 GB, free: 4.953 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003917/0.06442, allocations: 1.481 MB / 0.9117 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.009757/0.07417, allocations: 7.028 MB / 0.9186 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007877/0.08205, allocations: 3.762 MB / 0.9222 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007718/0.08977, allocations: 4.046 MB / 0.9262 GB, free: 4.504 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005976/0.09575, allocations: 3.523 MB / 0.9296 GB, free: 0.9727 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0009345/0.09668, allocations: 0.5312 MB / 0.9302 GB, free: 452 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.09914, allocations: 1.131 MB / 0.9313 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.003151/0.1023, allocations: 2.693 MB / 0.9339 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.002993/0.1053, allocations: 1.778 MB / 0.9356 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.1164, allocations: 8.73 MB / 0.9442 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1164, allocations: 0 / 0.9442 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1164, allocations: 0 / 0.9442 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001657/0.1166, allocations: 0 / 0.9442 GB, free: 2.074 MB / 0.9011 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.01017/0.1268, allocations: 5.12 MB / 0.9492 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1268, allocations: 8.031 kB / 0.9492 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009338/0.1362, allocations: 2.229 MB / 0.9513 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006206/0.1424, allocations: 2.53 MB / 0.9538 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/0.1426, allocations: 275.7 kB / 0.9541 GB, free: 7.801 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007475/0.1434, allocations: 372.2 kB / 0.9544 GB, free: 7.438 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009243/0.1526, allocations: 4.515 MB / 0.9588 GB, free: 2.516 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.633e-05/0.1527, allocations: 16.06 kB / 0.9589 GB, free: 2.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004492/0.1532, allocations: 160.3 kB / 0.959 GB, free: 2.344 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006614/0.1538, allocations: 495.3 kB / 0.9595 GB, free: 1.859 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005363/0.1592, allocations: 1.751 MB / 0.9612 GB, free: 108 kB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03768/0.1969, allocations: 25.78 MB / 0.9864 GB, free: 5.559 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.1986, allocations: 0.8028 MB / 0.9871 GB, free: 4.742 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001848/0.2005, allocations: 0.8264 MB / 0.988 GB, free: 3.918 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/0.2007, allocations: 25.31 kB / 0.988 GB, free: 3.895 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.748e-05/0.2007, allocations: 58.64 kB / 0.988 GB, free: 3.824 MB / 0.948 GB Notification: Performance of pre-optimization done (n=146): time 3.667e-06/0.2007, allocations: 0 / 0.988 GB, free: 3.824 MB / 0.948 GB Notification: Performance of matching and sorting (n=251): time 0.06604/0.2668, allocations: 17.37 MB / 1.005 GB, free: 2.402 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.2668, allocations: 77.41 kB / 1.005 GB, free: 2.316 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/0.2698, allocations: 1.871 MB / 1.007 GB, free: 448 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004176/0.2702, allocations: 65.7 kB / 1.007 GB, free: 376 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001828/0.2721, allocations: 1.955 MB / 1.009 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001279/0.2734, allocations: 0.9689 MB / 1.01 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/0.2746, allocations: 0.5272 MB / 1.01 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002452/0.2748, allocations: 496.6 kB / 1.011 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/0.277, allocations: 0.8328 MB / 1.012 GB, free: 11.55 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003211/0.2802, allocations: 1.759 MB / 1.013 GB, free: 9.453 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005629/0.2859, allocations: 2.889 MB / 1.016 GB, free: 6.238 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.538e-05/0.2859, allocations: 4 kB / 1.016 GB, free: 6.234 MB / 0.9792 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03067/0.3166, allocations: 8.874 MB / 1.025 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/0.3166, allocations: 12 kB / 1.025 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.169e-05/0.3166, allocations: 16.88 kB / 1.025 GB, free: 13.28 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03208/0.3487, allocations: 7.058 MB / 1.032 GB, free: 6.195 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.35, allocations: 299.5 kB / 1.032 GB, free: 5.902 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.447/0.7971, allocations: 27.05 MB / 1.058 GB, free: 180 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003128/0.8002, allocations: 228.6 kB / 1.059 GB, free: 180 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003883/0.8006, allocations: 98.38 kB / 1.059 GB, free: 180 MB / 1.01 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.001339/0.8019, allocations: 397.5 kB / 1.059 GB, free: 179.8 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006699/0.8026, allocations: 323.7 kB / 1.059 GB, free: 179.8 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02608/0.8287, allocations: 8.832 MB / 1.068 GB, free: 179.4 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/0.8287, allocations: 27.66 kB / 1.068 GB, free: 179.4 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.751e-05/0.8288, allocations: 52.5 kB / 1.068 GB, free: 179.4 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.139e-05/0.8288, allocations: 10.03 kB / 1.068 GB, free: 179.4 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03504/0.8639, allocations: 13.81 MB / 1.082 GB, free: 177.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.817e-05/0.8639, allocations: 13 kB / 1.082 GB, free: 177.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008478/0.8648, allocations: 161.5 kB / 1.082 GB, free: 177.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0316/0.8963, allocations: 6.847 MB / 1.089 GB, free: 177 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004767/0.8968, allocations: 47.34 kB / 1.089 GB, free: 177 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05564/0.9525, allocations: 26.84 MB / 1.115 GB, free: 160.9 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.9525, allocations: 11.7 kB / 1.115 GB, free: 160.9 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02684/0.9793, allocations: 8.79 MB / 1.123 GB, free: 158.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002683/0.982, allocations: 0.7051 MB / 1.124 GB, free: 158.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005136/0.9825, allocations: 51.55 kB / 1.124 GB, free: 158.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/0.9847, allocations: 210.4 kB / 1.124 GB, free: 158.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001429/0.9862, allocations: 256.9 kB / 1.125 GB, free: 158.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002377/0.9864, allocations: 69.31 kB / 1.125 GB, free: 158.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001441/0.9878, allocations: 1.044 MB / 1.126 GB, free: 158 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.9878, allocations: 1.594 kB / 1.126 GB, free: 158 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004989/0.9928, allocations: 1.613 MB / 1.127 GB, free: 157.9 MB / 1.01 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.0003852/0.9932, allocations: 164.1 kB / 1.127 GB, free: 157.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01832/1.012, allocations: 7.085 MB / 1.134 GB, free: 155.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/1.012, allocations: 3.781 kB / 1.134 GB, free: 155.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01574/1.027, allocations: 5.769 MB / 1.14 GB, free: 153.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/1.03, allocations: 0.5473 MB / 1.14 GB, free: 152.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/1.041, allocations: 7.64 MB / 1.148 GB, free: 149.2 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002482/1.044, allocations: 2.397 MB / 1.15 GB, free: 148.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009017/1.044, allocations: 317.8 kB / 1.151 GB, free: 148.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/1.045, allocations: 96.3 kB / 1.151 GB, free: 148.1 MB / 1.01 GB Notification: Performance of SimCode: time 1.513e-06/1.045, allocations: 0 / 1.151 GB, free: 148.1 MB / 1.01 GB Notification: Performance of Templates: time 0.1058/1.151, allocations: 100.2 MB / 1.248 GB, free: 49.53 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.284174137050286]