Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001711/0.001711, allocations: 114.3 kB / 17.13 MB, free: 5.938 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.001989/0.001989, allocations: 197.2 kB / 20.08 MB, free: 3 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.448/1.448, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.642/2.642, allocations: 443.5 MB / 0.7293 GB, free: 14.63 MB / 0.5762 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.91 kB / 1.057 GB, free: 2.059 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3124, allocations: 160.7 MB / 1.214 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03325/0.3456, allocations: 27.1 MB / 1.241 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01491/0.3605, allocations: 8.161 MB / 1.249 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/0.363, allocations: 119.4 kB / 1.249 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007587/0.3706, allocations: 2.807 MB / 1.251 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004952/0.3755, allocations: 1.672 MB / 1.253 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004702/0.3802, allocations: 1.676 MB / 1.255 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008423/0.3886, allocations: 6.138 MB / 1.261 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6842/1.073, allocations: 5.312 MB / 1.266 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004003/1.077, allocations: 2.607 MB / 1.268 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006264/1.083, allocations: 3.003 MB / 1.271 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002131/1.085, allocations: 0.5084 MB / 1.272 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004866/1.09, allocations: 1.305 MB / 1.273 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004579/1.095, allocations: 2.101 MB / 1.275 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007493/1.102, allocations: 2.383 MB / 1.277 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01469/1.117, allocations: 8.077 MB / 1.285 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/1.117, allocations: 0 / 1.285 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.683e-06/1.117, allocations: 1.062 kB / 1.285 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002889/1.117, allocations: 3.656 kB / 1.285 GB, free: 12.6 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01633/1.133, allocations: 4.333 MB / 1.29 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.134, allocations: 10.5 kB / 1.29 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006044/1.14, allocations: 0.8252 MB / 1.29 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006937/1.146, allocations: 2.588 MB / 1.293 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002629/1.147, allocations: 271 kB / 1.293 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001946/1.149, allocations: 373.7 kB / 1.294 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01599/1.165, allocations: 5.995 MB / 1.299 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001272/1.165, allocations: 20.12 kB / 1.299 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005039/1.165, allocations: 157.9 kB / 1.3 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006704/1.166, allocations: 281.2 kB / 1.3 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01092/1.177, allocations: 4.525 MB / 1.304 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03518/1.212, allocations: 27.51 MB / 1.331 GB, free: 1.441 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/1.214, allocations: 1.057 MB / 1.332 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/1.215, allocations: 0.9633 MB / 1.333 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.632e-05/1.215, allocations: 12.44 kB / 1.333 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/1.215, allocations: 51.02 kB / 1.333 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 2.895e-06/1.215, allocations: 0 / 1.333 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of matching and sorting (n=131): time 0.02379/1.239, allocations: 9.702 MB / 1.343 GB, free: 11.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/1.239, allocations: 71.41 kB / 1.343 GB, free: 11.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002273/1.242, allocations: 1.502 MB / 1.344 GB, free: 10.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001869/1.242, allocations: 48.11 kB / 1.344 GB, free: 10.44 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001311/1.243, allocations: 1.71 MB / 1.346 GB, free: 8.938 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.00053/1.244, allocations: 492.3 kB / 1.346 GB, free: 8.523 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005855/1.244, allocations: 328.2 kB / 1.347 GB, free: 8.336 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.244, allocations: 306.2 kB / 1.347 GB, free: 8.035 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/1.246, allocations: 0.9122 MB / 1.348 GB, free: 7.559 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/1.248, allocations: 1.462 MB / 1.349 GB, free: 6.371 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003425/1.251, allocations: 2.55 MB / 1.352 GB, free: 4.641 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/1.251, allocations: 7.781 kB / 1.352 GB, free: 4.641 MB / 1.029 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005993/1.257, allocations: 3.276 MB / 1.355 GB, free: 2.973 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/1.257, allocations: 15.75 kB / 1.355 GB, free: 2.969 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/1.257, allocations: 17.47 kB / 1.355 GB, free: 2.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002379/1.259, allocations: 0.7422 MB / 1.356 GB, free: 2.562 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/1.261, allocations: 387.5 kB / 1.356 GB, free: 2.484 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01792/1.279, allocations: 17.05 MB / 1.373 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/1.281, allocations: 98.94 kB / 1.373 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/1.281, allocations: 69.91 kB / 1.373 GB, free: 2.789 MB / 1.045 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00267/1.284, allocations: 1.319 MB / 1.374 GB, free: 1.988 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005666/1.284, allocations: 207.3 kB / 1.374 GB, free: 1.883 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005351/1.29, allocations: 2.764 MB / 1.377 GB, free: 256 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/1.29, allocations: 13.88 kB / 1.377 GB, free: 256 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/1.29, allocations: 10.66 kB / 1.377 GB, free: 252 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/1.29, allocations: 11.97 kB / 1.377 GB, free: 240 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/1.303, allocations: 6.194 MB / 1.383 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/1.303, allocations: 4 kB / 1.383 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/1.304, allocations: 233.6 kB / 1.383 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002195/1.306, allocations: 0.6771 MB / 1.384 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/1.307, allocations: 28 kB / 1.384 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01789/1.324, allocations: 16.79 MB / 1.4 GB, free: 8.066 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-06/1.325, allocations: 10.62 kB / 1.4 GB, free: 8.059 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007159/1.332, allocations: 4.001 MB / 1.404 GB, free: 3.984 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/1.333, allocations: 463.7 kB / 1.405 GB, free: 3.512 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003974/1.333, allocations: 31.98 kB / 1.405 GB, free: 3.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.334, allocations: 87.83 kB / 1.405 GB, free: 3.395 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003407/1.335, allocations: 117.8 kB / 1.405 GB, free: 3.285 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/1.335, allocations: 36 kB / 1.405 GB, free: 3.25 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001569/1.336, allocations: 0.9942 MB / 1.406 GB, free: 2.266 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.336, allocations: 0 / 1.406 GB, free: 2.266 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002968/1.339, allocations: 0.6836 MB / 1.407 GB, free: 1.582 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002999/1.34, allocations: 164.2 kB / 1.407 GB, free: 1.426 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005966/1.346, allocations: 3.379 MB / 1.41 GB, free: 14.01 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/1.346, allocations: 4 kB / 1.41 GB, free: 14 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003681/1.349, allocations: 2.237 MB / 1.412 GB, free: 11.68 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003969/1.353, allocations: 0.6827 MB / 1.413 GB, free: 11.04 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/1.369, allocations: 7.067 MB / 1.42 GB, free: 3.922 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004041/1.373, allocations: 2.719 MB / 1.423 GB, free: 1.172 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007285/1.374, allocations: 135.4 kB / 1.423 GB, free: 1.039 MB / 1.092 GB Notification: Performance of SimCode: time 1.603e-06/1.374, allocations: 0 / 1.423 GB, free: 1.039 MB / 1.092 GB Notification: Performance of Templates: time 0.2562/1.63, allocations: 210 MB / 1.628 GB, free: 15.04 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 21.51883310615085]