Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001704/0.001704, allocations: 77.23 kB / 19.76 MB, free: 2.035 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.002048/0.002048, allocations: 160.7 kB / 23.01 MB, free: 4.938 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.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.903/2.903, allocations: 394.2 MB / 0.6386 GB, free: 11.97 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.002157/0.002157, allocations: 67.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8923/0.8945, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03133/0.9258, allocations: 29.29 MB / 1.215 GB, free: 13.89 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02505/0.9509, allocations: 13.2 MB / 1.228 GB, free: 5.195 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003919/0.9548, allocations: 197.4 kB / 1.228 GB, free: 5.098 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.009768/0.9646, allocations: 3.2 MB / 1.231 GB, free: 3.293 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.009597/0.9742, allocations: 2.751 MB / 1.234 GB, free: 1.617 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.007376/0.9815, allocations: 2.026 MB / 1.236 GB, free: 500 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01369/0.9952, allocations: 7.617 MB / 1.244 GB, free: 13.05 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009241/1.004, allocations: 4.595 MB / 1.248 GB, free: 10.45 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008079/1.013, allocations: 3.672 MB / 1.252 GB, free: 8.438 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007604/1.02, allocations: 3.284 MB / 1.255 GB, free: 6.457 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002345/1.022, allocations: 0.5927 MB / 1.255 GB, free: 6.457 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005078/1.028, allocations: 1.398 MB / 1.257 GB, free: 6.004 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.004604/1.032, allocations: 2.416 MB / 1.259 GB, free: 4.414 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.007287/1.039, allocations: 2.328 MB / 1.261 GB, free: 2.973 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01598/1.055, allocations: 9.521 MB / 1.271 GB, free: 12.14 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.055, allocations: 0 / 1.271 GB, free: 12.14 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.944e-06/1.055, allocations: 5.219 kB / 1.271 GB, free: 12.13 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003468/1.056, allocations: 0 / 1.271 GB, free: 12.13 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.02062/1.076, allocations: 5.174 MB / 1.276 GB, free: 8.637 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/1.076, allocations: 8.031 kB / 1.276 GB, free: 8.637 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008671/1.085, allocations: 1.027 MB / 1.277 GB, free: 8.148 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009653/1.095, allocations: 3.009 MB / 1.28 GB, free: 6.18 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004463/1.095, allocations: 323 kB / 1.28 GB, free: 6.027 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002079/1.097, allocations: 428 kB / 1.28 GB, free: 5.844 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01993/1.117, allocations: 7.357 MB / 1.288 GB, free: 14.06 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002428/1.117, allocations: 23.83 kB / 1.288 GB, free: 14.04 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001581/1.119, allocations: 184 kB / 1.288 GB, free: 13.86 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001046/1.12, allocations: 372 kB / 1.288 GB, free: 13.49 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01205/1.132, allocations: 5.106 MB / 1.293 GB, free: 8.367 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03867/1.171, allocations: 19.06 MB / 1.312 GB, free: 4.801 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002577/1.173, allocations: 1.309 MB / 1.313 GB, free: 3.48 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002067/1.175, allocations: 1.234 MB / 1.314 GB, free: 2.246 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/1.176, allocations: 13.31 kB / 1.314 GB, free: 2.23 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.716e-05/1.176, allocations: 55.81 kB / 1.314 GB, free: 2.168 MB / 1.154 GB Notification: Performance of pre-optimization done (n=130): time 5.28e-06/1.176, allocations: 0 / 1.314 GB, free: 2.168 MB / 1.154 GB Notification: Performance of matching and sorting (n=199): time 0.09682/1.272, allocations: 22.84 MB / 1.337 GB, free: 11.27 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/1.273, allocations: 73.41 kB / 1.337 GB, free: 11.18 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003453/1.276, allocations: 1.849 MB / 1.338 GB, free: 9.301 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000325/1.276, allocations: 65.64 kB / 1.339 GB, free: 9.23 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001739/1.278, allocations: 2.073 MB / 1.341 GB, free: 7.141 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009103/1.279, allocations: 0.7126 MB / 1.341 GB, free: 6.422 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/1.28, allocations: 412.4 kB / 1.342 GB, free: 6.012 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.28, allocations: 305.1 kB / 1.342 GB, free: 5.711 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002484/1.283, allocations: 1.43 MB / 1.343 GB, free: 4.277 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003074/1.286, allocations: 2.013 MB / 1.345 GB, free: 2.02 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005839/1.292, allocations: 3.692 MB / 1.349 GB, free: 14.09 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.079e-05/1.292, allocations: 4 kB / 1.349 GB, free: 14.09 MB / 1.201 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01285/1.305, allocations: 5.581 MB / 1.354 GB, free: 8.438 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/1.305, allocations: 12 kB / 1.354 GB, free: 8.426 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-05/1.305, allocations: 20.08 kB / 1.354 GB, free: 8.406 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007305/1.312, allocations: 2.072 MB / 1.356 GB, free: 6.277 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/1.314, allocations: 379.4 kB / 1.357 GB, free: 5.906 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04506/1.359, allocations: 35.89 MB / 1.392 GB, free: 168 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/1.362, allocations: 123.9 kB / 1.392 GB, free: 44 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002988/1.362, allocations: 88.08 kB / 1.392 GB, free: 15.95 MB / 1.248 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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%), (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 prepare postOptimizeDAE: time 0.00308/1.365, allocations: 1.505 MB / 1.393 GB, free: 14.44 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006654/1.366, allocations: 278.3 kB / 1.394 GB, free: 14.16 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/1.377, allocations: 5.126 MB / 1.399 GB, free: 8.961 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.406e-05/1.377, allocations: 20.28 kB / 1.399 GB, free: 8.941 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.205e-05/1.377, allocations: 23.94 kB / 1.399 GB, free: 8.918 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.808e-05/1.377, allocations: 15.95 kB / 1.399 GB, free: 8.902 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0189/1.396, allocations: 8.434 MB / 1.407 GB, free: 296 kB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/1.396, allocations: 11.98 kB / 1.407 GB, free: 284 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009714/1.397, allocations: 215.6 kB / 1.407 GB, free: 68 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006142/1.403, allocations: 1.838 MB / 1.409 GB, free: 14.17 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002269/1.403, allocations: 43.98 kB / 1.409 GB, free: 14.13 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04092/1.444, allocations: 34.89 MB / 1.443 GB, free: 9.395 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/1.444, allocations: 8 kB / 1.443 GB, free: 9.387 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009961/1.454, allocations: 4.831 MB / 1.448 GB, free: 4.395 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002009/1.456, allocations: 0.5216 MB / 1.448 GB, free: 3.871 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005698/1.456, allocations: 43.98 kB / 1.448 GB, free: 3.828 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/1.458, allocations: 132 kB / 1.449 GB, free: 3.699 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006452/1.459, allocations: 205.4 kB / 1.449 GB, free: 3.496 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/1.459, allocations: 64 kB / 1.449 GB, free: 3.434 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001957/1.461, allocations: 1.2 MB / 1.45 GB, free: 2.219 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/1.461, allocations: 0 / 1.45 GB, free: 2.219 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004214/1.465, allocations: 1.051 MB / 1.451 GB, free: 1.168 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004855/1.465, allocations: 170.9 kB / 1.451 GB, free: 0.9922 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01106/1.476, allocations: 6.006 MB / 1.457 GB, free: 10.76 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/1.476, allocations: 4 kB / 1.457 GB, free: 10.75 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.007519/1.484, allocations: 4.289 MB / 1.461 GB, free: 6.23 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004338/1.488, allocations: 0.8949 MB / 1.462 GB, free: 5.363 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/1.505, allocations: 8.264 MB / 1.47 GB, free: 13 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004846/1.51, allocations: 2.576 MB / 1.473 GB, free: 10.39 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.002024/1.512, allocations: 0.4983 MB / 1.473 GB, free: 9.891 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004787/1.512, allocations: 132.5 kB / 1.473 GB, free: 9.762 MB / 1.326 GB Notification: Performance of SimCode: time 9.21e-07/1.512, allocations: 0 / 1.473 GB, free: 9.762 MB / 1.326 GB Notification: Performance of Templates: time 0.1074/1.62, allocations: 60.54 MB / 1.532 GB, free: 14.35 MB / 1.389 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 11.24726410198491]