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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 191.2 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.478/3.478, allocations: 495.8 MB / 0.783 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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 0.002005/0.002005, allocations: 67.05 kB / 1.137 GB, free: 33.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3118, allocations: 173.6 MB / 1.307 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01837/0.3302, allocations: 14.48 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0157/0.3459, allocations: 9.699 MB / 1.33 GB, free: 9.605 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.3475, allocations: 83.25 kB / 1.33 GB, free: 9.523 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004917/0.3524, allocations: 1.742 MB / 1.332 GB, free: 7.777 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005108/0.3575, allocations: 1.598 MB / 1.334 GB, free: 6.176 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.3597, allocations: 0.7584 MB / 1.334 GB, free: 5.418 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003896/0.3636, allocations: 2.519 MB / 1.337 GB, free: 2.891 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.3653, allocations: 1.001 MB / 1.338 GB, free: 1.855 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001947/0.3673, allocations: 1.094 MB / 1.339 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.3694, allocations: 1.207 MB / 1.34 GB, free: 15.55 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003176/0.3697, allocations: 164 kB / 1.34 GB, free: 15.39 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.3713, allocations: 0.7447 MB / 1.341 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000708/0.3721, allocations: 0.6269 MB / 1.342 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.3732, allocations: 0.9368 MB / 1.343 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003773/0.377, allocations: 2.767 MB / 1.345 GB, free: 10.29 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.377, allocations: 4 kB / 1.345 GB, free: 10.29 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.844e-06/0.377, allocations: 0 / 1.345 GB, free: 10.29 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.341e-05/0.377, allocations: 0 / 1.345 GB, free: 10.29 MB / 1.045 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.00456/0.3816, allocations: 2.116 MB / 1.347 GB, free: 8.133 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3816, allocations: 12.03 kB / 1.347 GB, free: 8.121 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01217/0.3938, allocations: 2.09 MB / 1.349 GB, free: 6.027 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003235/0.397, allocations: 1.223 MB / 1.351 GB, free: 4.754 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-05/0.3971, allocations: 90.73 kB / 1.351 GB, free: 4.664 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003054/0.3974, allocations: 120.1 kB / 1.351 GB, free: 4.547 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006311/0.4037, allocations: 2.679 MB / 1.353 GB, free: 1.719 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.537e-05/0.4038, allocations: 15.89 kB / 1.353 GB, free: 1.703 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/0.404, allocations: 55.98 kB / 1.353 GB, free: 1.648 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006852/0.4047, allocations: 178.1 kB / 1.354 GB, free: 1.473 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008761/0.4134, allocations: 2.791 MB / 1.356 GB, free: 14.67 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01722/0.4306, allocations: 10.33 MB / 1.366 GB, free: 3.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007435/0.4381, allocations: 2.227 MB / 1.369 GB, free: 1.531 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003567/0.4416, allocations: 1.21 MB / 1.37 GB, free: 324 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.183e-05/0.4417, allocations: 9 kB / 1.37 GB, free: 316 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.4418, allocations: 43.56 kB / 1.37 GB, free: 264 kB / 1.061 GB Notification: Performance of pre-optimization done (n=89): time 2.504e-06/0.4418, allocations: 4 kB / 1.37 GB, free: 260 kB / 1.061 GB Notification: Performance of matching and sorting (n=131): time 0.05146/0.4932, allocations: 12.66 MB / 1.382 GB, free: 3.539 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.4933, allocations: 64.72 kB / 1.382 GB, free: 3.465 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.4951, allocations: 1.121 MB / 1.383 GB, free: 2.328 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000233/0.4953, allocations: 45.7 kB / 1.383 GB, free: 2.277 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006719/0.496, allocations: 0.7287 MB / 1.384 GB, free: 1.543 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006599/0.4967, allocations: 479.8 kB / 1.385 GB, free: 1.07 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006387/0.4973, allocations: 259.5 kB / 1.385 GB, free: 0.8086 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001993/0.4975, allocations: 361.9 kB / 1.385 GB, free: 460 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003752/0.5013, allocations: 1.343 MB / 1.386 GB, free: 15.11 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003901/0.5052, allocations: 1.604 MB / 1.388 GB, free: 13.4 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007755/0.5129, allocations: 2.994 MB / 1.391 GB, free: 10.31 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.5129, allocations: 0 / 1.391 GB, free: 10.31 MB / 1.092 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01292/0.5258, allocations: 4.408 MB / 1.395 GB, free: 5.852 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.5259, allocations: 8.906 kB / 1.395 GB, free: 5.844 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.5259, allocations: 8 kB / 1.395 GB, free: 5.836 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005809/0.5317, allocations: 1.427 MB / 1.397 GB, free: 4.367 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/0.534, allocations: 443.2 kB / 1.397 GB, free: 3.934 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03155/0.5656, allocations: 25.37 MB / 1.422 GB, free: 9.066 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/0.5685, allocations: 303.6 kB / 1.422 GB, free: 8.77 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003503/0.5688, allocations: 63.91 kB / 1.422 GB, free: 8.707 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.001211/0.57, allocations: 438.1 kB / 1.423 GB, free: 8.27 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000573/0.5706, allocations: 171 kB / 1.423 GB, free: 8.102 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/0.5839, allocations: 4.398 MB / 1.427 GB, free: 3.648 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.557e-05/0.584, allocations: 20.09 kB / 1.427 GB, free: 3.629 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.029e-05/0.584, allocations: 15.94 kB / 1.427 GB, free: 3.613 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.781e-05/0.5841, allocations: 3.984 kB / 1.427 GB, free: 3.609 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01826/0.6023, allocations: 6.693 MB / 1.434 GB, free: 12.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/0.6023, allocations: 8.031 kB / 1.434 GB, free: 12.75 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002062/0.6044, allocations: 379.3 kB / 1.434 GB, free: 12.38 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005363/0.6098, allocations: 1.311 MB / 1.435 GB, free: 11.02 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002733/0.61, allocations: 39.97 kB / 1.435 GB, free: 10.98 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02931/0.6393, allocations: 24.17 MB / 1.459 GB, free: 1.309 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.6394, allocations: 4.125 kB / 1.459 GB, free: 1.305 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/0.6517, allocations: 4.168 MB / 1.463 GB, free: 13.04 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/0.653, allocations: 390.7 kB / 1.463 GB, free: 12.66 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004843/0.6535, allocations: 24 kB / 1.463 GB, free: 12.63 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002521/0.656, allocations: 307.5 kB / 1.464 GB, free: 12.33 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005372/0.6565, allocations: 132.6 kB / 1.464 GB, free: 12.2 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002044/0.6567, allocations: 47.97 kB / 1.464 GB, free: 12.16 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001421/0.6582, allocations: 0.7565 MB / 1.465 GB, free: 11.4 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.6582, allocations: 4 kB / 1.465 GB, free: 11.39 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002672/0.6608, allocations: 0.5664 MB / 1.465 GB, free: 10.83 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.000386/0.6612, allocations: 139.1 kB / 1.465 GB, free: 10.68 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01258/0.6738, allocations: 4.97 MB / 1.47 GB, free: 5.539 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.6738, allocations: 8.125 kB / 1.47 GB, free: 5.531 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.007941/0.6818, allocations: 3.409 MB / 1.474 GB, free: 1.957 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003308/0.6851, allocations: 0.5585 MB / 1.474 GB, free: 1.426 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.6955, allocations: 4.062 MB / 1.478 GB, free: 13.31 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001962/0.6975, allocations: 1.473 MB / 1.479 GB, free: 11.8 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001933/0.6994, allocations: 433.6 kB / 1.48 GB, free: 11.37 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005541/0.7, allocations: 111.4 kB / 1.48 GB, free: 11.26 MB / 1.186 GB Notification: Performance of SimCode: time 8.22e-07/0.7, allocations: 0 / 1.48 GB, free: 11.26 MB / 1.186 GB Notification: Performance of Templates: time 0.07056/0.7705, allocations: 40.76 MB / 1.52 GB, free: 2.922 MB / 1.217 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: 10.861754328943789]