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.001435/0.001435, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001956/0.001956, allocations: 158.2 kB / 23.01 MB, free: 4.945 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.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.748/2.748, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 177] 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.002107/0.002107, allocations: 68.12 kB / 0.982 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9035/0.9056, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01328/0.9189, allocations: 13.31 MB / 1.167 GB, free: 24.91 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01273/0.9316, allocations: 9.14 MB / 1.176 GB, free: 19.08 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.9334, allocations: 93.91 kB / 1.176 GB, free: 19.02 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004477/0.9379, allocations: 1.658 MB / 1.178 GB, free: 18.1 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004975/0.9428, allocations: 1.591 MB / 1.179 GB, free: 17.15 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.945, allocations: 0.7551 MB / 1.18 GB, free: 16.75 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00426/0.9492, allocations: 2.534 MB / 1.182 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.9511, allocations: 1.18 MB / 1.183 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/0.9534, allocations: 1.212 MB / 1.185 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.9553, allocations: 1.052 MB / 1.186 GB, free: 14.07 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002702/0.9556, allocations: 160 kB / 1.186 GB, free: 14.07 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.9574, allocations: 0.726 MB / 1.187 GB, free: 13.87 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000727/0.9582, allocations: 0.624 MB / 1.187 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.9592, allocations: 0.7614 MB / 1.188 GB, free: 13.17 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004241/0.9634, allocations: 2.753 MB / 1.191 GB, free: 12.22 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.9634, allocations: 0 / 1.191 GB, free: 12.22 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.745e-06/0.9634, allocations: 0 / 1.191 GB, free: 12.22 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.997e-05/0.9635, allocations: 9.125 kB / 1.191 GB, free: 12.21 MB / 1.076 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.00479/0.9683, allocations: 2.102 MB / 1.193 GB, free: 10.94 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.9683, allocations: 9.406 kB / 1.193 GB, free: 10.94 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.9807, allocations: 2.102 MB / 1.195 GB, free: 10.8 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003191/0.9839, allocations: 1.171 MB / 1.196 GB, free: 10.13 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.893e-05/0.984, allocations: 89.36 kB / 1.196 GB, free: 10.09 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002949/0.9842, allocations: 125.8 kB / 1.196 GB, free: 10.04 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006482/0.9907, allocations: 2.892 MB / 1.199 GB, free: 8.703 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.602e-05/0.9908, allocations: 4.875 kB / 1.199 GB, free: 8.703 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/0.991, allocations: 49.17 kB / 1.199 GB, free: 8.668 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007205/0.9917, allocations: 180.8 kB / 1.199 GB, free: 8.652 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008037/0.9997, allocations: 2.801 MB / 1.202 GB, free: 7.918 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01447/1.014, allocations: 8.135 MB / 1.21 GB, free: 2.988 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007159/1.021, allocations: 2.214 MB / 1.212 GB, free: 2.508 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003329/1.025, allocations: 1.213 MB / 1.213 GB, free: 2.191 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.732e-05/1.025, allocations: 14.03 kB / 1.213 GB, free: 2.188 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/1.025, allocations: 45.41 kB / 1.213 GB, free: 2.137 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 3.176e-06/1.025, allocations: 0 / 1.213 GB, free: 2.137 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.05119/1.076, allocations: 12.65 MB / 1.226 GB, free: 15.28 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/1.076, allocations: 66.62 kB / 1.226 GB, free: 15.22 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002211/1.078, allocations: 0.9805 MB / 1.227 GB, free: 14.81 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003481/1.079, allocations: 51.89 kB / 1.227 GB, free: 14.76 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008099/1.079, allocations: 0.7371 MB / 1.227 GB, free: 14.18 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008134/1.08, allocations: 471.3 kB / 1.228 GB, free: 13.81 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009261/1.081, allocations: 260.9 kB / 1.228 GB, free: 13.7 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002384/1.081, allocations: 365.2 kB / 1.228 GB, free: 13.37 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004023/1.085, allocations: 1.341 MB / 1.23 GB, free: 12.99 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004587/1.09, allocations: 1.597 MB / 1.231 GB, free: 12.32 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007929/1.098, allocations: 2.998 MB / 1.234 GB, free: 10.73 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/1.098, allocations: 2.344 kB / 1.234 GB, free: 10.73 MB / 1.092 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01336/1.111, allocations: 4.385 MB / 1.238 GB, free: 8.309 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/1.111, allocations: 12.06 kB / 1.238 GB, free: 8.305 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/1.111, allocations: 6.938 kB / 1.238 GB, free: 8.305 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005744/1.117, allocations: 1.431 MB / 1.24 GB, free: 7.52 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/1.119, allocations: 432.6 kB / 1.24 GB, free: 7.355 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03086/1.15, allocations: 24.81 MB / 1.265 GB, free: 1.789 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003171/1.154, allocations: 299.8 kB / 1.265 GB, free: 1.648 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004466/1.154, allocations: 61.81 kB / 1.265 GB, free: 1.629 MB / 1.107 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.001513/1.155, allocations: 438.8 kB / 1.265 GB, free: 1.316 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006594/1.156, allocations: 153.2 kB / 1.265 GB, free: 1.238 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/1.17, allocations: 4.406 MB / 1.27 GB, free: 14.66 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/1.17, allocations: 19.67 kB / 1.27 GB, free: 14.65 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.857e-05/1.17, allocations: 13.81 kB / 1.27 GB, free: 14.65 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.791e-05/1.17, allocations: 7.969 kB / 1.27 GB, free: 14.64 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01795/1.188, allocations: 6.129 MB / 1.276 GB, free: 10.05 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/1.188, allocations: 4 kB / 1.276 GB, free: 10.05 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/1.19, allocations: 371.4 kB / 1.276 GB, free: 9.688 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005194/1.195, allocations: 1.319 MB / 1.277 GB, free: 8.328 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002886/1.195, allocations: 43.95 kB / 1.277 GB, free: 8.285 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02916/1.225, allocations: 23.67 MB / 1.301 GB, free: 15.27 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/1.225, allocations: 7.969 kB / 1.301 GB, free: 15.26 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/1.237, allocations: 4.143 MB / 1.305 GB, free: 11.03 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001476/1.239, allocations: 374.8 kB / 1.305 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005863/1.239, allocations: 28 kB / 1.305 GB, free: 10.63 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/1.242, allocations: 311.4 kB / 1.305 GB, free: 10.33 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005297/1.242, allocations: 137 kB / 1.305 GB, free: 10.2 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/1.243, allocations: 47.97 kB / 1.305 GB, free: 10.15 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001272/1.244, allocations: 0.6506 MB / 1.306 GB, free: 9.492 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.21e-07/1.244, allocations: 0 / 1.306 GB, free: 9.492 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00295/1.247, allocations: 0.5625 MB / 1.307 GB, free: 8.93 MB / 1.154 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.000412/1.247, allocations: 151 kB / 1.307 GB, free: 8.773 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01222/1.259, allocations: 4.958 MB / 1.312 GB, free: 3.645 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.26, allocations: 8.125 kB / 1.312 GB, free: 3.637 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.007548/1.267, allocations: 3.421 MB / 1.315 GB, free: 44 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00328/1.27, allocations: 0.5032 MB / 1.315 GB, free: 15.55 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/1.281, allocations: 4.051 MB / 1.319 GB, free: 11.45 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/1.283, allocations: 0.8907 MB / 1.32 GB, free: 10.52 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.00183/1.284, allocations: 416.3 kB / 1.321 GB, free: 10.11 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/1.285, allocations: 108.4 kB / 1.321 GB, free: 10 MB / 1.17 GB Notification: Performance of SimCode: time 1.253e-06/1.285, allocations: 3.938 kB / 1.321 GB, free: 10 MB / 1.17 GB Notification: Performance of Templates: time 0.06976/1.355, allocations: 40.31 MB / 1.36 GB, free: 2.418 MB / 1.201 GB " [Timeout remaining time 299] 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 -s ida -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: 10.439932676963508]