Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 111.2 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.673/2.673, allocations: 437.1 MB / 0.7178 GB, free: 4.508 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002122, allocations: 67.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3366, allocations: 151.6 MB / 1.176 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.00879/0.3454, allocations: 6.166 MB / 1.182 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005897/0.3514, allocations: 3.161 MB / 1.185 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006545/0.352, allocations: 35.81 kB / 1.185 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.3548, allocations: 0.9297 MB / 1.186 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.3564, allocations: 477.5 kB / 1.186 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.3579, allocations: 0.4948 MB / 1.187 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001681/0.3596, allocations: 1.108 MB / 1.188 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.3607, allocations: 0.6387 MB / 1.189 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008206/0.3616, allocations: 430.4 kB / 1.189 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008457/0.3624, allocations: 474.2 kB / 1.189 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.3626, allocations: 63.94 kB / 1.189 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.3637, allocations: 491 kB / 1.19 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004044/0.3641, allocations: 291.3 kB / 1.19 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006203/0.3648, allocations: 401.9 kB / 1.191 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.3667, allocations: 1.183 MB / 1.192 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3667, allocations: 0 / 1.192 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3667, allocations: 0 / 1.192 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.766e-05/0.3668, allocations: 0 / 1.192 GB, free: 5.531 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002191/0.369, allocations: 1.086 MB / 1.193 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.369, allocations: 8.031 kB / 1.193 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.3706, allocations: 220.2 kB / 1.193 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.3717, allocations: 0.5965 MB / 1.194 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/0.3718, allocations: 45.67 kB / 1.194 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.3719, allocations: 68.33 kB / 1.194 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.3735, allocations: 1.041 MB / 1.195 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.3735, allocations: 7.938 kB / 1.195 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.031e-05/0.3736, allocations: 27.98 kB / 1.195 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.701e-05/0.3737, allocations: 73.27 kB / 1.195 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.3748, allocations: 0.6957 MB / 1.196 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005783/0.3806, allocations: 5.742 MB / 1.201 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000923/0.3816, allocations: 0.6057 MB / 1.202 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008398/0.3824, allocations: 428.6 kB / 1.202 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.3825, allocations: 4 kB / 1.202 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.3825, allocations: 34.56 kB / 1.202 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=41): time 2.515e-06/0.3825, allocations: 4 kB / 1.202 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42): time 0.004603/0.3871, allocations: 2.016 MB / 1.204 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.3872, allocations: 55.41 kB / 1.204 GB, free: 8 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006081/0.3878, allocations: 470.8 kB / 1.205 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.3879, allocations: 33.7 kB / 1.205 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.3882, allocations: 396.1 kB / 1.205 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.3883, allocations: 158.6 kB / 1.205 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.3885, allocations: 122.2 kB / 1.205 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3887, allocations: 362.8 kB / 1.206 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.3891, allocations: 245.2 kB / 1.206 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005333/0.3896, allocations: 449 kB / 1.206 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.3906, allocations: 0.7597 MB / 1.207 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.3906, allocations: 0 / 1.207 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002/0.3926, allocations: 1.039 MB / 1.208 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.3927, allocations: 11.98 kB / 1.208 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.3927, allocations: 11.98 kB / 1.208 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.3938, allocations: 315.1 kB / 1.208 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.3941, allocations: 99.81 kB / 1.208 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007974/0.4021, allocations: 7.475 MB / 1.216 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.4026, allocations: 27.98 kB / 1.216 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-05/0.4027, allocations: 28 kB / 1.216 GB, free: 11.23 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004034/0.4031, allocations: 249.5 kB / 1.216 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.4032, allocations: 67.55 kB / 1.216 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/0.405, allocations: 0.8964 MB / 1.217 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.405, allocations: 4.141 kB / 1.217 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.405, allocations: 4 kB / 1.217 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4051, allocations: 3.984 kB / 1.217 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/0.4079, allocations: 1.673 MB / 1.219 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4079, allocations: 4 kB / 1.219 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.4081, allocations: 39.91 kB / 1.219 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009422/0.409, allocations: 311.5 kB / 1.219 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.4091, allocations: 8 kB / 1.219 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007859/0.4169, allocations: 7.47 MB / 1.226 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/0.417, allocations: 11.97 kB / 1.226 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.4188, allocations: 0.9881 MB / 1.227 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.4191, allocations: 176.9 kB / 1.227 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.4192, allocations: 12 kB / 1.227 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/0.4196, allocations: 27.97 kB / 1.227 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.4197, allocations: 43.81 kB / 1.228 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.4197, allocations: 15.94 kB / 1.228 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003874/0.4201, allocations: 314.9 kB / 1.228 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4201, allocations: 0 / 1.228 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000789/0.4209, allocations: 192 kB / 1.228 GB, free: 14 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000166/0.4211, allocations: 111.2 kB / 1.228 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002002/0.4231, allocations: 1.199 MB / 1.229 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4231, allocations: 128 / 1.229 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.4244, allocations: 0.8733 MB / 1.23 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.4255, allocations: 202 kB / 1.23 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.4283, allocations: 1.321 MB / 1.232 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000873/0.4292, allocations: 0.9959 MB / 1.233 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.4293, allocations: 39.44 kB / 1.233 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of SimCode: time 1.012e-06/0.4293, allocations: 0 / 1.233 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of Templates: time 0.02692/0.4563, allocations: 18.68 MB / 1.251 GB, free: 6.422 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,R1.v[1],R1.v[2],R2.v[1],R2.v[2],R3.v[1],R3.v[2],R1.i[1],R1.i[2],load_sc.i[1],load_sc.i[2],R2.i[1],R2.i[2],R3.i[1],R3.i[2] Variables in the result:R1.i[1],R1.i[2],R1.v[1],R1.v[2],R2.i[1],R2.i[2],R2.v[1],R2.v[2],R3.i[1],R3.i[2],R3.v[1],R3.v[2],load_sc.i[1],load_sc.i[2],time [Calling sys.exit(0), Time elapsed: 13.457121937070042]