Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001599/0.001599, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.001771/0.001771, allocations: 210.6 kB / 22.99 MB, free: 4.957 MB / 14.72 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.21/3.21, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 69.86 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3842, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03484/0.4191, allocations: 25.57 MB / 1.352 GB, free: 7.355 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0158/0.4349, allocations: 8.091 MB / 1.36 GB, free: 15.24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003069/0.4379, allocations: 158.8 kB / 1.36 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.008093/0.446, allocations: 2.773 MB / 1.363 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005421/0.4515, allocations: 1.675 MB / 1.364 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005405/0.4569, allocations: 1.684 MB / 1.366 GB, free: 8.941 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009433/0.4663, allocations: 6.127 MB / 1.372 GB, free: 2.789 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006278/0.4726, allocations: 3.788 MB / 1.376 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004922/0.4775, allocations: 2.668 MB / 1.378 GB, free: 12.23 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005916/0.4834, allocations: 2.994 MB / 1.381 GB, free: 9.227 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001509/0.4849, allocations: 0.5117 MB / 1.382 GB, free: 8.715 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003378/0.4883, allocations: 1.209 MB / 1.383 GB, free: 7.504 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002961/0.4913, allocations: 2.104 MB / 1.385 GB, free: 5.395 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00514/0.4964, allocations: 1.93 MB / 1.387 GB, free: 3.457 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.5089, allocations: 8.114 MB / 1.395 GB, free: 11.32 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.5089, allocations: 0 / 1.395 GB, free: 11.32 MB / 1.092 GB Notification: Performance of FrontEnd: time 4.408e-06/0.5089, allocations: 3.984 kB / 1.395 GB, free: 11.31 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003135/0.5093, allocations: 4 kB / 1.395 GB, free: 11.31 MB / 1.092 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.01437/0.5236, allocations: 4.249 MB / 1.399 GB, free: 7.008 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.478e-05/0.5237, allocations: 11.97 kB / 1.399 GB, free: 6.996 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005944/0.5296, allocations: 0.8257 MB / 1.4 GB, free: 6.168 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008006/0.5376, allocations: 2.53 MB / 1.402 GB, free: 3.574 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003285/0.538, allocations: 267.7 kB / 1.403 GB, free: 3.312 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001589/0.5396, allocations: 376.6 kB / 1.403 GB, free: 2.945 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01668/0.5562, allocations: 6.452 MB / 1.409 GB, free: 12.12 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001446/0.5564, allocations: 23.81 kB / 1.409 GB, free: 12.1 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006387/0.557, allocations: 156 kB / 1.409 GB, free: 11.95 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006935/0.5577, allocations: 278.9 kB / 1.41 GB, free: 11.68 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.5689, allocations: 4.512 MB / 1.414 GB, free: 7.156 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03276/0.6016, allocations: 17.41 MB / 1.431 GB, free: 5.238 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/0.6037, allocations: 1.059 MB / 1.432 GB, free: 4.172 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.6052, allocations: 0.9532 MB / 1.433 GB, free: 3.219 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.419e-05/0.6053, allocations: 13 kB / 1.433 GB, free: 3.207 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.6053, allocations: 47.5 kB / 1.433 GB, free: 3.152 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 3.407e-06/0.6054, allocations: 0 / 1.433 GB, free: 3.152 MB / 1.123 GB Notification: Performance of matching and sorting (n=131): time 0.02411/0.6295, allocations: 9.096 MB / 1.442 GB, free: 9.996 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.6295, allocations: 68.72 kB / 1.442 GB, free: 9.914 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002417/0.6319, allocations: 1.401 MB / 1.443 GB, free: 8.508 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002508/0.6322, allocations: 53.7 kB / 1.443 GB, free: 8.449 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001681/0.6339, allocations: 1.73 MB / 1.445 GB, free: 6.703 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006544/0.6345, allocations: 491.8 kB / 1.446 GB, free: 6.219 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006561/0.6352, allocations: 323.4 kB / 1.446 GB, free: 5.895 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6353, allocations: 301.1 kB / 1.446 GB, free: 5.598 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.6368, allocations: 0.9213 MB / 1.447 GB, free: 4.676 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002578/0.6394, allocations: 1.467 MB / 1.449 GB, free: 2.973 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004643/0.644, allocations: 2.546 MB / 1.451 GB, free: 192 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.541e-05/0.6441, allocations: 7.938 kB / 1.451 GB, free: 184 kB / 1.139 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007423/0.6515, allocations: 3.255 MB / 1.454 GB, free: 12.89 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/0.6515, allocations: 19.92 kB / 1.454 GB, free: 12.87 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.839e-05/0.6516, allocations: 16 kB / 1.454 GB, free: 12.85 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002527/0.6541, allocations: 0.742 MB / 1.455 GB, free: 12.08 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/0.656, allocations: 379.4 kB / 1.455 GB, free: 11.71 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/0.6752, allocations: 15.83 MB / 1.471 GB, free: 10.96 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.6769, allocations: 99.89 kB / 1.471 GB, free: 10.86 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.6771, allocations: 76 kB / 1.471 GB, free: 10.79 MB / 1.17 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.002667/0.6798, allocations: 1.316 MB / 1.472 GB, free: 9.465 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004659/0.6802, allocations: 198.9 kB / 1.472 GB, free: 9.27 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005762/0.686, allocations: 2.761 MB / 1.475 GB, free: 6.461 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.686, allocations: 16 kB / 1.475 GB, free: 6.445 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/0.686, allocations: 11.98 kB / 1.475 GB, free: 6.434 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.6861, allocations: 3.984 kB / 1.475 GB, free: 6.43 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.6968, allocations: 5.338 MB / 1.48 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.6969, allocations: 4 kB / 1.48 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/0.6981, allocations: 231.6 kB / 1.481 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002221/0.7003, allocations: 0.6634 MB / 1.481 GB, free: 32 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.7005, allocations: 32 kB / 1.481 GB, free: 0 / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01737/0.7178, allocations: 15.58 MB / 1.496 GB, free: 15.5 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.7178, allocations: 4 kB / 1.496 GB, free: 15.49 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007186/0.725, allocations: 3.981 MB / 1.5 GB, free: 11.4 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/0.7263, allocations: 370.7 kB / 1.501 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/0.7265, allocations: 35.94 kB / 1.501 GB, free: 11 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009085/0.7275, allocations: 83.89 kB / 1.501 GB, free: 10.92 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003732/0.7278, allocations: 116.7 kB / 1.501 GB, free: 10.81 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.761e-05/0.7279, allocations: 40 kB / 1.501 GB, free: 10.77 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001386/0.7293, allocations: 0.9048 MB / 1.502 GB, free: 9.871 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.7293, allocations: 7.875 kB / 1.502 GB, free: 9.863 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002447/0.7318, allocations: 0.6836 MB / 1.503 GB, free: 9.18 MB / 1.201 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.0002926/0.732, allocations: 161.2 kB / 1.503 GB, free: 9.016 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.005691/0.7377, allocations: 3.377 MB / 1.506 GB, free: 5.52 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.7378, allocations: 7.938 kB / 1.506 GB, free: 5.512 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00354/0.7413, allocations: 2.237 MB / 1.508 GB, free: 3.164 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002861/0.7442, allocations: 0.6362 MB / 1.509 GB, free: 2.551 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/0.7563, allocations: 6.622 MB / 1.515 GB, free: 11.83 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003065/0.7593, allocations: 2.116 MB / 1.517 GB, free: 9.672 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001683/0.761, allocations: 480.3 kB / 1.518 GB, free: 9.199 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/0.7613, allocations: 111.4 kB / 1.518 GB, free: 9.094 MB / 1.217 GB Notification: Performance of SimCode: time 1.312e-06/0.7613, allocations: 0 / 1.518 GB, free: 9.094 MB / 1.217 GB Notification: Performance of Templates: time 0.06999/0.8313, allocations: 38.51 MB / 1.556 GB, free: 3.305 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.143645510994247]