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.001783/0.001783, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002236/0.002236, allocations: 221.2 kB / 23 MB, free: 4.91 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.26/3.26, allocations: 0.4892 GB / 0.7951 GB, free: 35.43 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.00218/0.00218, allocations: 75.48 kB / 1.154 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4286, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02086/0.4494, allocations: 13.29 MB / 1.339 GB, free: 4.539 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01711/0.4665, allocations: 9.159 MB / 1.348 GB, free: 11.36 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002045/0.4686, allocations: 87.25 kB / 1.348 GB, free: 11.27 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0054/0.474, allocations: 1.672 MB / 1.35 GB, free: 9.594 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006061/0.4801, allocations: 1.584 MB / 1.351 GB, free: 8.008 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00266/0.4827, allocations: 0.7624 MB / 1.352 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004717/0.4874, allocations: 2.524 MB / 1.355 GB, free: 4.711 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002909/0.4903, allocations: 1.176 MB / 1.356 GB, free: 3.492 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002882/0.4932, allocations: 1.207 MB / 1.357 GB, free: 2.281 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002546/0.4958, allocations: 1.062 MB / 1.358 GB, free: 1.215 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0006888/0.4965, allocations: 160 kB / 1.358 GB, free: 1.059 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002497/0.499, allocations: 0.7252 MB / 1.359 GB, free: 340 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00119/0.5001, allocations: 0.6193 MB / 1.36 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.5017, allocations: 0.7581 MB / 1.36 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004456/0.5061, allocations: 2.759 MB / 1.363 GB, free: 12.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.5061, allocations: 4 kB / 1.363 GB, free: 12.18 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5061, allocations: 0 / 1.363 GB, free: 12.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.587e-05/0.5062, allocations: 0 / 1.363 GB, free: 12.18 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.005279/0.5115, allocations: 2.1 MB / 1.365 GB, free: 10.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.5115, allocations: 12.03 kB / 1.365 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/0.5236, allocations: 2.09 MB / 1.367 GB, free: 7.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003392/0.527, allocations: 1.184 MB / 1.368 GB, free: 6.695 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.27e-05/0.5271, allocations: 90.73 kB / 1.368 GB, free: 6.605 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003706/0.5274, allocations: 120.1 kB / 1.368 GB, free: 6.488 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007216/0.5346, allocations: 2.889 MB / 1.371 GB, free: 3.402 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-05/0.5347, allocations: 15.92 kB / 1.371 GB, free: 3.387 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001958/0.5349, allocations: 47.98 kB / 1.371 GB, free: 3.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007058/0.5356, allocations: 178.1 kB / 1.371 GB, free: 3.164 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008634/0.5442, allocations: 2.803 MB / 1.374 GB, free: 360 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01683/0.5611, allocations: 8.122 MB / 1.382 GB, free: 8.066 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007307/0.5684, allocations: 2.214 MB / 1.384 GB, free: 5.844 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003488/0.5719, allocations: 1.211 MB / 1.385 GB, free: 4.633 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.166e-05/0.5719, allocations: 13 kB / 1.385 GB, free: 4.617 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.572, allocations: 43.56 kB / 1.386 GB, free: 4.566 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 3.908e-06/0.572, allocations: 0 / 1.386 GB, free: 4.566 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.04903/0.621, allocations: 12.65 MB / 1.398 GB, free: 7.863 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.6211, allocations: 72.66 kB / 1.398 GB, free: 7.781 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.6227, allocations: 0.9834 MB / 1.399 GB, free: 6.785 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002302/0.6229, allocations: 45.7 kB / 1.399 GB, free: 6.734 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006669/0.6236, allocations: 0.7355 MB / 1.4 GB, free: 5.992 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005891/0.6242, allocations: 471.9 kB / 1.4 GB, free: 5.527 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000532/0.6247, allocations: 259.5 kB / 1.4 GB, free: 5.266 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002228/0.6249, allocations: 361.9 kB / 1.401 GB, free: 4.906 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003621/0.6286, allocations: 1.343 MB / 1.402 GB, free: 3.562 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003831/0.6324, allocations: 1.6 MB / 1.404 GB, free: 1.863 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00742/0.6398, allocations: 2.991 MB / 1.407 GB, free: 14.77 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.6398, allocations: 4 kB / 1.407 GB, free: 14.77 MB / 1.107 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0122/0.652, allocations: 4.384 MB / 1.411 GB, free: 10.33 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.6521, allocations: 11.94 kB / 1.411 GB, free: 10.32 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.6521, allocations: 8 kB / 1.411 GB, free: 10.31 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005298/0.6574, allocations: 1.432 MB / 1.412 GB, free: 8.84 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/0.6596, allocations: 443.2 kB / 1.413 GB, free: 8.406 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03003/0.6896, allocations: 24.81 MB / 1.437 GB, free: 14.27 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00276/0.6924, allocations: 303.5 kB / 1.437 GB, free: 13.97 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.6925, allocations: 60.16 kB / 1.437 GB, free: 13.91 MB / 1.139 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.0009385/0.6935, allocations: 443 kB / 1.438 GB, free: 13.47 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003004/0.6938, allocations: 163 kB / 1.438 GB, free: 13.31 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/0.7055, allocations: 4.397 MB / 1.442 GB, free: 8.859 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.7055, allocations: 15.94 kB / 1.442 GB, free: 8.844 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.26e-05/0.7055, allocations: 12 kB / 1.442 GB, free: 8.832 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/0.7055, allocations: 7.969 kB / 1.442 GB, free: 8.824 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/0.7214, allocations: 6.121 MB / 1.448 GB, free: 2.59 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.7214, allocations: 4 kB / 1.448 GB, free: 2.586 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001865/0.7233, allocations: 383.6 kB / 1.448 GB, free: 2.211 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004751/0.728, allocations: 1.314 MB / 1.45 GB, free: 0.8555 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001671/0.7282, allocations: 39.97 kB / 1.45 GB, free: 0.8164 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02925/0.7574, allocations: 23.67 MB / 1.473 GB, free: 7.801 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.7574, allocations: 4.031 kB / 1.473 GB, free: 7.797 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01158/0.769, allocations: 4.147 MB / 1.477 GB, free: 3.559 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/0.7706, allocations: 370.8 kB / 1.477 GB, free: 3.195 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002495/0.7708, allocations: 27.94 kB / 1.477 GB, free: 3.168 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/0.7729, allocations: 319.4 kB / 1.478 GB, free: 2.855 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000513/0.7734, allocations: 120.7 kB / 1.478 GB, free: 2.734 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/0.7736, allocations: 55.95 kB / 1.478 GB, free: 2.68 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001004/0.7746, allocations: 0.6467 MB / 1.478 GB, free: 2.027 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.7746, allocations: 0 / 1.478 GB, free: 2.027 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002223/0.7768, allocations: 0.5703 MB / 1.479 GB, free: 1.457 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.0003265/0.7771, allocations: 131.2 kB / 1.479 GB, free: 1.32 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01211/0.7892, allocations: 4.982 MB / 1.484 GB, free: 12.18 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/0.7893, allocations: 0 / 1.484 GB, free: 12.18 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007822/0.7971, allocations: 3.421 MB / 1.487 GB, free: 8.582 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/0.7998, allocations: 0.5128 MB / 1.488 GB, free: 8.086 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.8103, allocations: 4.161 MB / 1.492 GB, free: 3.859 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/0.8117, allocations: 0.8945 MB / 1.493 GB, free: 2.93 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007134/0.8124, allocations: 119.3 kB / 1.493 GB, free: 2.812 MB / 1.186 GB Notification: Performance of SimCode: time 1.072e-06/0.8124, allocations: 0 / 1.493 GB, free: 2.812 MB / 1.186 GB Notification: Performance of Templates: time 0.135/0.9474, allocations: 112.4 MB / 1.603 GB, free: 2.355 MB / 1.295 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/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.361609818879515]