Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001356/0.001356, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00167/0.00167, allocations: 213.9 kB / 23.01 MB, free: 4.566 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.224/3.224, allocations: 0.49 GB / 0.7958 GB, free: 33.48 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.ThreePhasesBalanced.Lines.Examples.ACLine,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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [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.002065/0.002065, allocations: 68.8 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3529, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01923/0.3721, allocations: 14.6 MB / 1.341 GB, free: 2.801 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01647/0.3886, allocations: 9.797 MB / 1.351 GB, free: 8.977 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.3903, allocations: 91.19 kB / 1.351 GB, free: 8.887 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00492/0.3952, allocations: 1.737 MB / 1.353 GB, free: 7.148 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005167/0.4004, allocations: 1.598 MB / 1.354 GB, free: 5.547 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.4027, allocations: 0.76 MB / 1.355 GB, free: 4.785 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004189/0.4069, allocations: 2.533 MB / 1.358 GB, free: 2.242 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001964/0.4088, allocations: 1.188 MB / 1.359 GB, free: 1.012 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.4111, allocations: 1.211 MB / 1.36 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.413, allocations: 1.125 MB / 1.361 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003036/0.4133, allocations: 160 kB / 1.361 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.4152, allocations: 0.8033 MB / 1.362 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007231/0.4159, allocations: 0.6308 MB / 1.363 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00118/0.4171, allocations: 0.9289 MB / 1.363 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004001/0.4211, allocations: 2.736 MB / 1.366 GB, free: 9.395 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4211, allocations: 0 / 1.366 GB, free: 9.395 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4211, allocations: 4 kB / 1.366 GB, free: 9.391 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.228e-05/0.4211, allocations: 0 / 1.366 GB, free: 9.391 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004681/0.4258, allocations: 2.108 MB / 1.368 GB, free: 7.242 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.4259, allocations: 8.031 kB / 1.368 GB, free: 7.234 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.4374, allocations: 2.098 MB / 1.37 GB, free: 5.133 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/0.4406, allocations: 1.165 MB / 1.371 GB, free: 3.918 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.564e-05/0.4406, allocations: 90.72 kB / 1.371 GB, free: 3.828 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/0.4409, allocations: 124.1 kB / 1.372 GB, free: 3.707 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006386/0.4473, allocations: 2.642 MB / 1.374 GB, free: 0.9297 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.455e-05/0.4474, allocations: 11.88 kB / 1.374 GB, free: 0.918 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/0.4476, allocations: 59.97 kB / 1.374 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006366/0.4482, allocations: 178.1 kB / 1.374 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007824/0.456, allocations: 2.795 MB / 1.377 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01719/0.4732, allocations: 10.36 MB / 1.387 GB, free: 2.945 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006644/0.4798, allocations: 2.217 MB / 1.389 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003186/0.483, allocations: 1.218 MB / 1.391 GB, free: 15.5 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.247e-05/0.4831, allocations: 9 kB / 1.391 GB, free: 15.49 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.4832, allocations: 47.56 kB / 1.391 GB, free: 15.44 MB / 1.092 GB Notification: Performance of pre-optimization done (n=89): time 3.426e-06/0.4832, allocations: 4 kB / 1.391 GB, free: 15.43 MB / 1.092 GB Notification: Performance of matching and sorting (n=131): time 0.04535/0.5285, allocations: 12.66 MB / 1.403 GB, free: 2.723 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.5286, allocations: 64.72 kB / 1.403 GB, free: 2.648 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.5303, allocations: 1.113 MB / 1.404 GB, free: 1.52 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001969/0.5305, allocations: 57.7 kB / 1.404 GB, free: 1.457 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006629/0.5312, allocations: 0.7248 MB / 1.405 GB, free: 0.7266 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005366/0.5317, allocations: 479.8 kB / 1.405 GB, free: 260 kB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005329/0.5322, allocations: 263.6 kB / 1.406 GB, free: 15.98 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.5324, allocations: 357.9 kB / 1.406 GB, free: 15.63 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003326/0.5358, allocations: 1.343 MB / 1.407 GB, free: 14.29 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003534/0.5393, allocations: 1.608 MB / 1.409 GB, free: 12.58 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006983/0.5463, allocations: 2.994 MB / 1.412 GB, free: 9.488 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.5463, allocations: 4 kB / 1.412 GB, free: 9.484 MB / 1.107 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01197/0.5583, allocations: 4.4 MB / 1.416 GB, free: 5.031 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.5583, allocations: 12.16 kB / 1.416 GB, free: 5.02 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.5583, allocations: 8 kB / 1.416 GB, free: 5.012 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005425/0.5637, allocations: 1.423 MB / 1.417 GB, free: 3.547 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/0.5659, allocations: 439.2 kB / 1.418 GB, free: 3.117 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03068/0.5966, allocations: 25.37 MB / 1.443 GB, free: 8.246 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/0.5991, allocations: 307.7 kB / 1.443 GB, free: 7.945 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.5993, allocations: 71.91 kB / 1.443 GB, free: 7.875 MB / 1.139 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009173/0.6002, allocations: 437.4 kB / 1.443 GB, free: 7.438 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/0.6005, allocations: 167 kB / 1.444 GB, free: 7.273 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/0.6125, allocations: 4.414 MB / 1.448 GB, free: 2.809 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.6125, allocations: 12 kB / 1.448 GB, free: 2.797 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.796e-05/0.6126, allocations: 12 kB / 1.448 GB, free: 2.785 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.072e-05/0.6126, allocations: 3.984 kB / 1.448 GB, free: 2.781 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/0.6287, allocations: 6.693 MB / 1.454 GB, free: 11.93 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.6287, allocations: 12.06 kB / 1.454 GB, free: 11.92 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/0.6305, allocations: 383.3 kB / 1.455 GB, free: 11.54 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004791/0.6353, allocations: 1.307 MB / 1.456 GB, free: 10.2 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000186/0.6355, allocations: 35.97 kB / 1.456 GB, free: 10.16 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0285/0.664, allocations: 24.17 MB / 1.48 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/0.664, allocations: 7.938 kB / 1.48 GB, free: 500 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/0.6752, allocations: 4.16 MB / 1.484 GB, free: 12.23 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/0.6766, allocations: 390.7 kB / 1.484 GB, free: 11.85 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002957/0.6768, allocations: 24.19 kB / 1.484 GB, free: 11.83 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/0.6789, allocations: 315.5 kB / 1.485 GB, free: 11.52 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005012/0.6794, allocations: 132.6 kB / 1.485 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.6795, allocations: 51.97 kB / 1.485 GB, free: 11.34 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001225/0.6807, allocations: 0.7487 MB / 1.485 GB, free: 10.59 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6807, allocations: 8 kB / 1.485 GB, free: 10.58 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002331/0.6831, allocations: 0.5703 MB / 1.486 GB, free: 10.01 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003515/0.6834, allocations: 141.3 kB / 1.486 GB, free: 9.863 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01171/0.6951, allocations: 4.962 MB / 1.491 GB, free: 4.73 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.6951, allocations: 4.438 kB / 1.491 GB, free: 4.727 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007427/0.7026, allocations: 3.425 MB / 1.494 GB, free: 1.133 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002814/0.7054, allocations: 0.5496 MB / 1.495 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.7157, allocations: 4.177 MB / 1.499 GB, free: 12.36 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/0.7173, allocations: 1.473 MB / 1.5 GB, free: 10.86 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000742/0.718, allocations: 135.3 kB / 1.501 GB, free: 10.72 MB / 1.201 GB Notification: Performance of SimCode: time 1.974e-06/0.718, allocations: 0 / 1.501 GB, free: 10.72 MB / 1.201 GB Notification: Performance of Templates: time 0.8611/1.579, allocations: 112.7 MB / 1.611 GB, free: 263.3 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: 20.99955972097814]