Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.00236/0.00236, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002784/0.002784, 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.646/1.646, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.994/2.994, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.178e-06/4.178e-06, allocations: 3.984 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.895e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.03318/0.03321, allocations: 22.57 MB / 0.8329 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01261/0.04582, allocations: 6.329 MB / 0.839 GB, free: 5.125 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.04759, allocations: 129.4 kB / 0.8392 GB, free: 5 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.004596/0.05218, allocations: 1.601 MB / 0.8407 GB, free: 3.395 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004366/0.05655, allocations: 1.769 MB / 0.8425 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003281/0.05983, allocations: 1.36 MB / 0.8438 GB, free: 276 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.007782/0.06761, allocations: 6.038 MB / 0.8497 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006328/0.07394, allocations: 3.229 MB / 0.8528 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007056/0.081, allocations: 3.463 MB / 0.8562 GB, free: 3.43 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004782/0.08578, allocations: 2.88 MB / 0.859 GB, free: 0.5469 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0008168/0.0866, allocations: 456 kB / 0.8595 GB, free: 104 kB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.08906, allocations: 1.053 MB / 0.8605 GB, free: 15.05 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002689/0.09174, allocations: 2.222 MB / 0.8627 GB, free: 12.82 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.002451/0.0942, allocations: 1.516 MB / 0.8641 GB, free: 11.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.009447/0.1036, allocations: 7.472 MB / 0.8714 GB, free: 3.809 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.954e-06/0.1037, allocations: 0 / 0.8714 GB, free: 3.809 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1037, allocations: 0 / 0.8714 GB, free: 3.809 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001716/0.1038, allocations: 0 / 0.8714 GB, free: 3.809 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008958/0.1128, allocations: 4.41 MB / 0.8757 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1128, allocations: 8.031 kB / 0.8758 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007107/0.1199, allocations: 1.672 MB / 0.8774 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005494/0.1254, allocations: 2.226 MB / 0.8796 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002357/0.1257, allocations: 246.3 kB / 0.8798 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006474/0.1263, allocations: 323.9 kB / 0.8801 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008021/0.1343, allocations: 3.949 MB / 0.884 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.343e-05/0.1344, allocations: 15.86 kB / 0.884 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003843/0.1348, allocations: 140 kB / 0.8841 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005683/0.1354, allocations: 402.3 kB / 0.8845 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00444/0.1398, allocations: 1.512 MB / 0.886 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03649/0.1763, allocations: 23.44 MB / 0.9089 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.1777, allocations: 0.4991 MB / 0.9093 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.1791, allocations: 0.5789 MB / 0.9099 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.1792, allocations: 24.92 kB / 0.9099 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.1792, allocations: 50.39 kB / 0.91 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=110): time 3.046e-06/0.1792, allocations: 0 / 0.91 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of matching and sorting (n=179): time 0.03643/0.2157, allocations: 9.859 MB / 0.9196 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.2157, allocations: 69.41 kB / 0.9197 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002548/0.2183, allocations: 1.657 MB / 0.9213 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002009/0.2185, allocations: 57.7 kB / 0.9213 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001609/0.2201, allocations: 1.726 MB / 0.923 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.2212, allocations: 0.6937 MB / 0.9237 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009304/0.2221, allocations: 433.2 kB / 0.9241 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002619/0.2224, allocations: 484.7 kB / 0.9246 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.2239, allocations: 0.6013 MB / 0.9252 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002465/0.2264, allocations: 1.469 MB / 0.9266 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004256/0.2306, allocations: 2.307 MB / 0.9289 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.2306, allocations: 4 kB / 0.9289 GB, free: 6.98 MB / 0.8855 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0167/0.2473, allocations: 5.083 MB / 0.9338 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/0.2474, allocations: 16.94 kB / 0.9338 GB, free: 1.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.2474, allocations: 16 kB / 0.9339 GB, free: 1.824 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01578/0.2632, allocations: 3.355 MB / 0.9371 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.2648, allocations: 303.5 kB / 0.9374 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04129/0.3061, allocations: 19.52 MB / 0.9565 GB, free: 9.902 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/0.3084, allocations: 155.7 kB / 0.9566 GB, free: 9.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002564/0.3087, allocations: 84 kB / 0.9567 GB, free: 9.668 MB / 0.9167 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001335/0.31, allocations: 372 kB / 0.9571 GB, free: 9.293 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006145/0.3106, allocations: 254.8 kB / 0.9573 GB, free: 9.043 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01663/0.3272, allocations: 4.824 MB / 0.962 GB, free: 4.16 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.211e-05/0.3273, allocations: 23.94 kB / 0.962 GB, free: 4.137 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.369e-05/0.3274, allocations: 24 kB / 0.9621 GB, free: 4.113 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.864e-05/0.3274, allocations: 7.969 kB / 0.9621 GB, free: 4.105 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02718/0.3546, allocations: 8.858 MB / 0.9707 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.067e-05/0.3546, allocations: 8 kB / 0.9707 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000809/0.3554, allocations: 171.7 kB / 0.9709 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01521/0.3706, allocations: 3.226 MB / 0.974 GB, free: 7.633 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002752/0.3709, allocations: 36 kB / 0.9741 GB, free: 7.598 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04038/0.4113, allocations: 19.34 MB / 0.993 GB, free: 3.512 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/0.4113, allocations: 15.88 kB / 0.993 GB, free: 3.496 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/0.4273, allocations: 4.919 MB / 0.9978 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001895/0.4292, allocations: 0.5023 MB / 0.9983 GB, free: 13.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003601/0.4296, allocations: 40 kB / 0.9983 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/0.4311, allocations: 135.8 kB / 0.9985 GB, free: 13.73 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00084/0.4319, allocations: 184.7 kB / 0.9986 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001689/0.4321, allocations: 48 kB / 0.9987 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001473/0.4335, allocations: 0.9211 MB / 0.9996 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.4335, allocations: 0 / 0.9996 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003688/0.4372, allocations: 1.121 MB / 1.001 GB, free: 11.47 MB / 0.9636 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003268/0.4376, allocations: 151 kB / 1.001 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01202/0.4496, allocations: 4.507 MB / 1.005 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.607e-06/0.4496, allocations: 0 / 1.005 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01005/0.4596, allocations: 3.515 MB / 1.009 GB, free: 3.062 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/0.4624, allocations: 0.5198 MB / 1.009 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.4744, allocations: 6.102 MB / 1.015 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002931/0.4773, allocations: 1.935 MB / 1.017 GB, free: 10.31 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001021/0.4784, allocations: 311.7 kB / 1.017 GB, free: 10 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.4786, allocations: 92.5 kB / 1.017 GB, free: 9.91 MB / 0.9792 GB Notification: Performance of SimCode: time 1.223e-06/0.4786, allocations: 0 / 1.017 GB, free: 9.91 MB / 0.9792 GB Notification: Performance of Templates: time 0.4403/0.9189, allocations: 65.38 MB / 1.081 GB, free: 254.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.13701016700361]