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.001443/0.001443, allocations: 78.72 kB / 19.18 MB, free: 2.523 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.001488/0.001488, allocations: 163.4 kB / 22.46 MB, free: 5.375 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.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.898/2.898, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.251e-05/3.446e-05, allocations: 9.375 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01809/0.01813, allocations: 13.1 MB / 0.9942 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01563/0.03375, allocations: 8.994 MB / 1.003 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.03534, allocations: 87.25 kB / 1.003 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004952/0.04029, allocations: 1.677 MB / 1.005 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005063/0.04535, allocations: 1.622 MB / 1.006 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.04751, allocations: 0.7671 MB / 1.007 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003984/0.0515, allocations: 2.609 MB / 1.01 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.05356, allocations: 1.176 MB / 1.011 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002673/0.05624, allocations: 1.582 MB / 1.012 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.0579, allocations: 0.9583 MB / 1.013 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002829/0.05818, allocations: 160 kB / 1.013 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.0598, allocations: 0.7327 MB / 1.014 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007383/0.06053, allocations: 0.6503 MB / 1.015 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008955/0.06143, allocations: 0.6352 MB / 1.015 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003723/0.06515, allocations: 2.781 MB / 1.018 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.06516, allocations: 0 / 1.018 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.864e-06/0.06516, allocations: 0 / 1.018 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.67e-05/0.0652, allocations: 0 / 1.018 GB, free: 6.27 MB / 0.9669 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.004409/0.06961, allocations: 2.089 MB / 1.02 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.06964, allocations: 8.031 kB / 1.02 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/0.08222, allocations: 2.102 MB / 1.022 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003073/0.08529, allocations: 1.168 MB / 1.023 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.0854, allocations: 94.72 kB / 1.023 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005316/0.08593, allocations: 116.4 kB / 1.024 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007541/0.09347, allocations: 2.89 MB / 1.026 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.247e-05/0.09354, allocations: 15.83 kB / 1.026 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002811/0.09382, allocations: 55.98 kB / 1.026 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007413/0.09456, allocations: 186.1 kB / 1.027 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009001/0.1036, allocations: 2.787 MB / 1.029 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01698/0.1205, allocations: 8.117 MB / 1.037 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007914/0.1285, allocations: 2.228 MB / 1.039 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00366/0.1321, allocations: 1.21 MB / 1.041 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.109e-05/0.1322, allocations: 9 kB / 1.041 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.661e-05/0.1323, allocations: 43.56 kB / 1.041 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 3.998e-06/0.1323, allocations: 0 / 1.041 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=131): time 0.05142/0.1837, allocations: 12.65 MB / 1.053 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.1838, allocations: 64.72 kB / 1.053 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.1853, allocations: 0.9834 MB / 1.054 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002345/0.1855, allocations: 45.7 kB / 1.054 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00061/0.1862, allocations: 0.7355 MB / 1.055 GB, free: 104 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006076/0.1868, allocations: 468.1 kB / 1.055 GB, free: 15.64 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006239/0.1874, allocations: 263.5 kB / 1.055 GB, free: 15.37 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.1876, allocations: 361.9 kB / 1.056 GB, free: 15.01 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003758/0.1913, allocations: 1.339 MB / 1.057 GB, free: 13.67 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004021/0.1953, allocations: 1.6 MB / 1.059 GB, free: 11.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00796/0.2033, allocations: 2.99 MB / 1.062 GB, free: 8.887 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/0.2033, allocations: 4 kB / 1.062 GB, free: 8.883 MB / 1.014 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01318/0.2165, allocations: 4.389 MB / 1.066 GB, free: 4.441 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.2165, allocations: 8 kB / 1.066 GB, free: 4.434 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.2166, allocations: 12.06 kB / 1.066 GB, free: 4.422 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005768/0.2223, allocations: 1.427 MB / 1.067 GB, free: 2.953 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/0.2247, allocations: 443.1 kB / 1.068 GB, free: 2.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03046/0.2551, allocations: 24.8 MB / 1.092 GB, free: 8.395 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002803/0.2579, allocations: 303.6 kB / 1.092 GB, free: 8.098 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/0.2582, allocations: 63.95 kB / 1.092 GB, free: 8.035 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.00108/0.2593, allocations: 437.6 kB / 1.093 GB, free: 7.598 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005105/0.2598, allocations: 159 kB / 1.093 GB, free: 7.441 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/0.2726, allocations: 4.4 MB / 1.097 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.2726, allocations: 15.98 kB / 1.097 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.355e-05/0.2726, allocations: 12 kB / 1.097 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.2727, allocations: 7.922 kB / 1.097 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/0.2888, allocations: 6.121 MB / 1.103 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.2888, allocations: 8.062 kB / 1.103 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/0.2909, allocations: 375.4 kB / 1.104 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005356/0.2962, allocations: 1.298 MB / 1.105 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001648/0.2964, allocations: 35.97 kB / 1.105 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02762/0.324, allocations: 23.67 MB / 1.128 GB, free: 1.965 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.324, allocations: 7.969 kB / 1.128 GB, free: 1.957 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5278/0.8519, allocations: 4.145 MB / 1.132 GB, free: 177.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/0.853, allocations: 372.2 kB / 1.132 GB, free: 177.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004648/0.8534, allocations: 24.16 kB / 1.132 GB, free: 177.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002281/0.8557, allocations: 308.5 kB / 1.133 GB, free: 177.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004786/0.8562, allocations: 127.2 kB / 1.133 GB, free: 177.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.8563, allocations: 53.69 kB / 1.133 GB, free: 177.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007306/0.857, allocations: 0.6453 MB / 1.134 GB, free: 177.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.857, allocations: 0 / 1.134 GB, free: 177.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001971/0.859, allocations: 0.5681 MB / 1.134 GB, free: 177.4 MB / 1.076 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.0003363/0.8593, allocations: 142.5 kB / 1.134 GB, free: 177.4 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.009943/0.8693, allocations: 4.956 MB / 1.139 GB, free: 175.9 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.8693, allocations: 2.906 kB / 1.139 GB, free: 175.9 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00613/0.8754, allocations: 3.411 MB / 1.142 GB, free: 174.4 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/0.8778, allocations: 0.5124 MB / 1.143 GB, free: 174.4 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008498/0.8863, allocations: 4.025 MB / 1.147 GB, free: 172.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009223/0.8872, allocations: 0.8838 MB / 1.148 GB, free: 172.6 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001444/0.8886, allocations: 404.9 kB / 1.148 GB, free: 172.5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003873/0.889, allocations: 104 kB / 1.148 GB, free: 172.5 MB / 1.076 GB Notification: Performance of SimCode: time 1.633e-06/0.889, allocations: 0 / 1.148 GB, free: 172.5 MB / 1.076 GB Notification: Performance of Templates: time 0.06696/0.956, allocations: 40.18 MB / 1.187 GB, free: 165.7 MB / 1.076 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 -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/jenkins/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: 9.973909348249435]