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.001717/0.001717, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.001869/0.001869, allocations: 204 kB / 20.09 MB, free: 2.977 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.608/1.608, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.023/3.023, allocations: 0.49 GB / 0.7923 GB, free: 1.32 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.002038/0.002038, allocations: 68.09 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07/1.072, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01398/1.086, allocations: 14.26 MB / 1.336 GB, free: 15.28 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01354/1.1, allocations: 9.539 MB / 1.345 GB, free: 8.785 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001826/1.101, allocations: 90.59 kB / 1.345 GB, free: 8.734 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004093/1.105, allocations: 1.69 MB / 1.347 GB, free: 7.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005213/1.111, allocations: 1.582 MB / 1.348 GB, free: 6.789 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/1.113, allocations: 0.7511 MB / 1.349 GB, free: 6.398 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004103/1.117, allocations: 2.533 MB / 1.352 GB, free: 5.219 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/1.119, allocations: 1.12 MB / 1.353 GB, free: 4.664 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002372/1.121, allocations: 1.206 MB / 1.354 GB, free: 4.191 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/1.123, allocations: 1.134 MB / 1.355 GB, free: 3.719 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003028/1.123, allocations: 163.5 kB / 1.355 GB, free: 3.715 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/1.125, allocations: 0.807 MB / 1.356 GB, free: 3.477 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006743/1.126, allocations: 0.6184 MB / 1.357 GB, free: 3.188 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009877/1.127, allocations: 0.9324 MB / 1.358 GB, free: 2.613 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004411/1.131, allocations: 2.735 MB / 1.36 GB, free: 1.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.131, allocations: 4 kB / 1.36 GB, free: 1.656 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.202e-06/1.131, allocations: 1.25 kB / 1.36 GB, free: 1.656 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.705e-05/1.131, allocations: 0.7031 kB / 1.36 GB, free: 1.656 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.005027/1.136, allocations: 2.185 MB / 1.362 GB, free: 292 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/1.136, allocations: 13.61 kB / 1.362 GB, free: 288 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01272/1.149, allocations: 2.093 MB / 1.364 GB, free: 144 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/1.152, allocations: 1.264 MB / 1.366 GB, free: 15.42 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.173e-05/1.152, allocations: 89.86 kB / 1.366 GB, free: 15.38 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003625/1.153, allocations: 121.8 kB / 1.366 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007083/1.16, allocations: 2.636 MB / 1.368 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.417e-05/1.16, allocations: 12 kB / 1.368 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002132/1.16, allocations: 49.02 kB / 1.368 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008738/1.161, allocations: 180.7 kB / 1.369 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009997/1.171, allocations: 2.797 MB / 1.371 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01919/1.19, allocations: 10.48 MB / 1.382 GB, free: 6.289 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007964/1.198, allocations: 2.455 MB / 1.384 GB, free: 5.512 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00387/1.202, allocations: 1.203 MB / 1.385 GB, free: 5.199 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/1.202, allocations: 9.906 kB / 1.385 GB, free: 5.199 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.824e-05/1.202, allocations: 52.55 kB / 1.385 GB, free: 5.145 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 3.096e-06/1.202, allocations: 0 / 1.385 GB, free: 5.145 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.0526/1.255, allocations: 13.34 MB / 1.398 GB, free: 15.66 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/1.255, allocations: 65.41 kB / 1.398 GB, free: 15.6 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/1.257, allocations: 1.118 MB / 1.399 GB, free: 14.98 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002735/1.257, allocations: 50.36 kB / 1.399 GB, free: 14.93 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006468/1.257, allocations: 0.7246 MB / 1.4 GB, free: 14.29 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005998/1.258, allocations: 472.2 kB / 1.401 GB, free: 13.88 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005966/1.259, allocations: 267.1 kB / 1.401 GB, free: 13.73 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002007/1.259, allocations: 360.7 kB / 1.401 GB, free: 13.39 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003854/1.263, allocations: 1.342 MB / 1.403 GB, free: 12.7 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004065/1.267, allocations: 1.607 MB / 1.404 GB, free: 11.69 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007982/1.275, allocations: 2.992 MB / 1.407 GB, free: 9.961 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/1.275, allocations: 2.062 kB / 1.407 GB, free: 9.961 MB / 1.092 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0134/1.288, allocations: 4.401 MB / 1.411 GB, free: 7.531 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/1.288, allocations: 8.906 kB / 1.411 GB, free: 7.531 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/1.288, allocations: 7.188 kB / 1.411 GB, free: 7.531 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005862/1.294, allocations: 1.435 MB / 1.413 GB, free: 6.742 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00239/1.296, allocations: 444.5 kB / 1.413 GB, free: 6.566 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03253/1.329, allocations: 26.68 MB / 1.439 GB, free: 14.39 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003317/1.332, allocations: 307.6 kB / 1.439 GB, free: 14.09 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000269/1.333, allocations: 63.91 kB / 1.44 GB, free: 14.03 MB / 1.123 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.001113/1.334, allocations: 437.5 kB / 1.44 GB, free: 13.59 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004237/1.334, allocations: 170.9 kB / 1.44 GB, free: 13.42 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/1.347, allocations: 4.406 MB / 1.444 GB, free: 8.965 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/1.347, allocations: 15.98 kB / 1.444 GB, free: 8.949 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.884e-05/1.347, allocations: 12 kB / 1.444 GB, free: 8.938 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-05/1.347, allocations: 3.984 kB / 1.444 GB, free: 8.934 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01755/1.365, allocations: 6.736 MB / 1.451 GB, free: 2.027 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/1.365, allocations: 4 kB / 1.451 GB, free: 2.023 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/1.367, allocations: 375.4 kB / 1.451 GB, free: 1.656 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005299/1.372, allocations: 1.322 MB / 1.453 GB, free: 300 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002797/1.372, allocations: 39.97 kB / 1.453 GB, free: 260 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02974/1.402, allocations: 25.5 MB / 1.478 GB, free: 4.934 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.402, allocations: 7.938 kB / 1.478 GB, free: 4.926 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01232/1.414, allocations: 4.164 MB / 1.482 GB, free: 0.6602 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/1.416, allocations: 467.8 kB / 1.482 GB, free: 188 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002959/1.416, allocations: 24 kB / 1.482 GB, free: 164 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002255/1.418, allocations: 307.5 kB / 1.482 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004992/1.419, allocations: 132.6 kB / 1.483 GB, free: 15.73 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.419, allocations: 43.97 kB / 1.483 GB, free: 15.69 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001189/1.42, allocations: 0.7604 MB / 1.483 GB, free: 14.93 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.11e-07/1.42, allocations: 3.938 kB / 1.483 GB, free: 14.92 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00246/1.423, allocations: 0.5664 MB / 1.484 GB, free: 14.36 MB / 1.17 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.0003706/1.423, allocations: 143.6 kB / 1.484 GB, free: 14.21 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01253/1.436, allocations: 4.955 MB / 1.489 GB, free: 9.082 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/1.436, allocations: 4 kB / 1.489 GB, free: 9.078 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.007708/1.443, allocations: 3.429 MB / 1.492 GB, free: 5.48 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/1.446, allocations: 0.5584 MB / 1.493 GB, free: 4.941 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009815/1.456, allocations: 4.147 MB / 1.497 GB, free: 0.7305 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/1.457, allocations: 1.473 MB / 1.498 GB, free: 15.22 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007482/1.458, allocations: 135.3 kB / 1.498 GB, free: 15.09 MB / 1.186 GB Notification: Performance of SimCode: time 1.232e-06/1.458, allocations: 0 / 1.498 GB, free: 15.09 MB / 1.186 GB Notification: Performance of Templates: time 0.1284/1.587, allocations: 112.7 MB / 1.609 GB, free: 14.4 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: 21.398949212991283]