Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 107.1 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 249.9 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.537/2.537, allocations: 443.5 MB / 0.731 GB, free: 12.77 MB / 0.5919 GB [Timeout remaining time 87] 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.88 kB / 1.06 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8356/0.8376, allocations: 160.7 MB / 1.217 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01983/0.8574, allocations: 14.25 MB / 1.23 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.8739, allocations: 9.51 MB / 1.24 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002121/0.8761, allocations: 55.53 kB / 1.24 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004937/0.881, allocations: 1.687 MB / 1.241 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005617/0.8866, allocations: 1.584 MB / 1.243 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.8891, allocations: 0.7652 MB / 1.244 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004545/0.8936, allocations: 2.518 MB / 1.246 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002035/0.8957, allocations: 1.126 MB / 1.247 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.8977, allocations: 1.071 MB / 1.248 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00234/0.9001, allocations: 1.206 MB / 1.25 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000381/0.9005, allocations: 164 kB / 1.25 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.9024, allocations: 0.8072 MB / 1.25 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0007565/0.9032, allocations: 0.6386 MB / 1.251 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001376/0.9045, allocations: 0.9329 MB / 1.252 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005017/0.9095, allocations: 2.763 MB / 1.255 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.9096, allocations: 3.938 kB / 1.255 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.385e-06/0.9096, allocations: 0 / 1.255 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.034e-05/0.9096, allocations: 0 / 1.255 GB, free: 0.5742 MB / 0.9512 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.005184/0.9148, allocations: 2.188 MB / 1.257 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.9149, allocations: 12.62 kB / 1.257 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.9262, allocations: 2.102 MB / 1.259 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003494/0.9296, allocations: 1.303 MB / 1.26 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.469e-05/0.9297, allocations: 90.72 kB / 1.26 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003492/0.9301, allocations: 120.1 kB / 1.26 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006311/0.9364, allocations: 2.675 MB / 1.263 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/0.9365, allocations: 7.938 kB / 1.263 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.9366, allocations: 55.98 kB / 1.263 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006546/0.9373, allocations: 182.1 kB / 1.263 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007817/0.9451, allocations: 2.791 MB / 1.266 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0174/0.9625, allocations: 10.49 MB / 1.276 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006847/0.9694, allocations: 2.443 MB / 1.279 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003251/0.9726, allocations: 1.206 MB / 1.28 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.719e-05/0.9727, allocations: 16.97 kB / 1.28 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/0.9727, allocations: 43.56 kB / 1.28 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=89): time 2.805e-06/0.9727, allocations: 0 / 1.28 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=131): time 0.04581/1.019, allocations: 13.34 MB / 1.293 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/1.019, allocations: 64.72 kB / 1.293 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/1.02, allocations: 1.117 MB / 1.294 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002429/1.021, allocations: 49.7 kB / 1.294 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006234/1.021, allocations: 0.7287 MB / 1.295 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005247/1.022, allocations: 475.9 kB / 1.295 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005425/1.022, allocations: 267.4 kB / 1.295 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000198/1.022, allocations: 361.9 kB / 1.296 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003464/1.026, allocations: 1.343 MB / 1.297 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003757/1.03, allocations: 1.6 MB / 1.299 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007194/1.037, allocations: 2.995 MB / 1.302 GB, free: 15.13 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/1.037, allocations: 0 / 1.302 GB, free: 15.13 MB / 1.014 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01263/1.049, allocations: 4.404 MB / 1.306 GB, free: 10.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/1.05, allocations: 10.5 kB / 1.306 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/1.05, allocations: 4 kB / 1.306 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005758/1.055, allocations: 1.443 MB / 1.307 GB, free: 9.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/1.057, allocations: 439.3 kB / 1.308 GB, free: 8.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03312/1.091, allocations: 26.68 MB / 1.334 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/1.094, allocations: 311.5 kB / 1.334 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003565/1.094, allocations: 63.91 kB / 1.334 GB, free: 11.87 MB / 1.045 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.001392/1.095, allocations: 438.8 kB / 1.335 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000716/1.096, allocations: 170.9 kB / 1.335 GB, free: 11.27 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/1.109, allocations: 4.402 MB / 1.339 GB, free: 6.812 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.134e-05/1.109, allocations: 15.98 kB / 1.339 GB, free: 6.797 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-05/1.109, allocations: 12 kB / 1.339 GB, free: 6.785 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.619e-05/1.109, allocations: 4.094 kB / 1.339 GB, free: 6.781 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02113/1.13, allocations: 6.728 MB / 1.346 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.479e-05/1.13, allocations: 4.344 kB / 1.346 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001958/1.132, allocations: 383.3 kB / 1.346 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00526/1.137, allocations: 1.31 MB / 1.347 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000265/1.138, allocations: 39.97 kB / 1.347 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03686/1.175, allocations: 25.51 MB / 1.372 GB, free: 2.777 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.175, allocations: 4 kB / 1.372 GB, free: 2.773 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01637/1.191, allocations: 4.168 MB / 1.376 GB, free: 14.51 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/1.193, allocations: 463.8 kB / 1.377 GB, free: 14.04 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005436/1.193, allocations: 28.11 kB / 1.377 GB, free: 14.01 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003014/1.196, allocations: 307.4 kB / 1.377 GB, free: 13.71 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005684/1.197, allocations: 132.7 kB / 1.377 GB, free: 13.58 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002211/1.197, allocations: 43.97 kB / 1.377 GB, free: 13.54 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001702/1.199, allocations: 0.7565 MB / 1.378 GB, free: 12.78 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/1.199, allocations: 0 / 1.378 GB, free: 12.78 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003189/1.202, allocations: 0.5703 MB / 1.379 GB, free: 12.21 MB / 1.092 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.0004204/1.202, allocations: 143.9 kB / 1.379 GB, free: 12.06 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01623/1.218, allocations: 4.97 MB / 1.384 GB, free: 6.918 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/1.218, allocations: 0 / 1.384 GB, free: 6.918 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.01026/1.229, allocations: 3.413 MB / 1.387 GB, free: 3.336 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003632/1.232, allocations: 0.5486 MB / 1.387 GB, free: 2.805 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009132/1.241, allocations: 4.181 MB / 1.391 GB, free: 14.57 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001739/1.243, allocations: 1.47 MB / 1.393 GB, free: 13.07 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006773/1.244, allocations: 139.3 kB / 1.393 GB, free: 12.93 MB / 1.107 GB Notification: Performance of SimCode: time 9.82e-07/1.244, allocations: 0 / 1.393 GB, free: 12.93 MB / 1.107 GB Notification: Performance of Templates: time 0.1289/1.373, allocations: 112.7 MB / 1.503 GB, free: 12.23 MB / 1.217 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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