Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001458/0.001458, 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.001849/0.001849, allocations: 220.4 kB / 23 MB, free: 4.914 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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.29/3.29, allocations: 0.4892 GB / 0.7951 GB, free: 35.52 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.ACLineMedium,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.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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.ACLineMedium") [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.002223/0.002223, allocations: 63.62 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4287, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02013/0.4489, allocations: 13.95 MB / 1.34 GB, free: 3.871 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01843/0.4673, allocations: 9.971 MB / 1.35 GB, free: 9.871 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.469, allocations: 91.19 kB / 1.35 GB, free: 9.781 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005397/0.4744, allocations: 1.679 MB / 1.351 GB, free: 8.098 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006527/0.4809, allocations: 1.843 MB / 1.353 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.4834, allocations: 0.7702 MB / 1.354 GB, free: 5.48 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004835/0.4882, allocations: 2.762 MB / 1.357 GB, free: 2.711 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002276/0.4905, allocations: 1.188 MB / 1.358 GB, free: 1.48 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003332/0.4938, allocations: 1.726 MB / 1.359 GB, free: 15.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002349/0.4962, allocations: 1.039 MB / 1.36 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004493/0.4966, allocations: 156 kB / 1.361 GB, free: 14.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.4986, allocations: 0.7174 MB / 1.361 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009627/0.4996, allocations: 0.6113 MB / 1.362 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.5011, allocations: 0.7736 MB / 1.363 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005175/0.5062, allocations: 2.763 MB / 1.365 GB, free: 9.672 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.5062, allocations: 7.938 kB / 1.365 GB, free: 9.664 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.236e-06/0.5062, allocations: 0 / 1.365 GB, free: 9.664 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.127e-05/0.5063, allocations: 0 / 1.365 GB, free: 9.664 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.005258/0.5116, allocations: 2.143 MB / 1.367 GB, free: 7.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.5116, allocations: 12.03 kB / 1.368 GB, free: 7.469 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/0.5237, allocations: 2.11 MB / 1.37 GB, free: 5.355 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003638/0.5273, allocations: 1.189 MB / 1.371 GB, free: 4.117 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-05/0.5274, allocations: 94.67 kB / 1.371 GB, free: 4.023 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/0.5277, allocations: 116.1 kB / 1.371 GB, free: 3.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006789/0.5345, allocations: 2.889 MB / 1.374 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.699e-05/0.5346, allocations: 11.94 kB / 1.374 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001718/0.5347, allocations: 47.98 kB / 1.374 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007427/0.5355, allocations: 198.1 kB / 1.374 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008315/0.5438, allocations: 2.787 MB / 1.377 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01686/0.5607, allocations: 8.115 MB / 1.385 GB, free: 5.496 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007055/0.5677, allocations: 2.183 MB / 1.387 GB, free: 3.305 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003416/0.5711, allocations: 1.195 MB / 1.388 GB, free: 2.109 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.026e-05/0.5712, allocations: 12.94 kB / 1.388 GB, free: 2.098 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.5713, allocations: 43.56 kB / 1.388 GB, free: 2.047 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 3.327e-06/0.5713, allocations: 4 kB / 1.388 GB, free: 2.043 MB / 1.076 GB Notification: Performance of matching and sorting (n=153): time 0.06457/0.6358, allocations: 15.98 MB / 1.404 GB, free: 2.012 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.716e-05/0.6359, allocations: 72.66 kB / 1.404 GB, free: 1.926 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001997/0.6379, allocations: 1.031 MB / 1.405 GB, free: 0.8867 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003186/0.6382, allocations: 49.7 kB / 1.405 GB, free: 0.832 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000797/0.639, allocations: 0.7674 MB / 1.405 GB, free: 56 kB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006936/0.6397, allocations: 0.5385 MB / 1.406 GB, free: 15.51 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005914/0.6403, allocations: 291.5 kB / 1.406 GB, free: 15.21 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.6405, allocations: 304.9 kB / 1.407 GB, free: 14.92 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003838/0.6443, allocations: 1.507 MB / 1.408 GB, free: 13.41 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004266/0.6486, allocations: 1.776 MB / 1.41 GB, free: 11.54 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008073/0.6567, allocations: 3.365 MB / 1.413 GB, free: 8.078 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.6567, allocations: 0 / 1.413 GB, free: 8.078 MB / 1.107 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01451/0.6712, allocations: 5.203 MB / 1.418 GB, free: 2.836 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.6712, allocations: 13.5 kB / 1.418 GB, free: 2.824 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.6712, allocations: 8 kB / 1.418 GB, free: 2.816 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007203/0.6784, allocations: 1.876 MB / 1.42 GB, free: 0.918 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/0.6806, allocations: 415.3 kB / 1.42 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03342/0.714, allocations: 22.85 MB / 1.443 GB, free: 8.855 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/0.7168, allocations: 311.6 kB / 1.443 GB, free: 8.551 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/0.7171, allocations: 67.97 kB / 1.443 GB, free: 8.484 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009663/0.718, allocations: 461.4 kB / 1.444 GB, free: 8.023 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003742/0.7184, allocations: 171 kB / 1.444 GB, free: 7.855 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/0.7329, allocations: 5.24 MB / 1.449 GB, free: 2.57 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.335e-05/0.7329, allocations: 20.08 kB / 1.449 GB, free: 2.551 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-05/0.7329, allocations: 16 kB / 1.449 GB, free: 2.535 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/0.733, allocations: 7.969 kB / 1.449 GB, free: 2.527 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01844/0.7514, allocations: 6.802 MB / 1.455 GB, free: 11.62 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.7514, allocations: 4 kB / 1.455 GB, free: 11.62 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/0.7532, allocations: 355.7 kB / 1.456 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006334/0.7596, allocations: 1.7 MB / 1.457 GB, free: 9.547 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002594/0.7598, allocations: 47.89 kB / 1.458 GB, free: 9.5 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03228/0.7921, allocations: 22.03 MB / 1.479 GB, free: 2.664 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/0.7921, allocations: 11.88 kB / 1.479 GB, free: 2.652 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/0.8058, allocations: 4.805 MB / 1.484 GB, free: 13.77 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/0.8075, allocations: 410.7 kB / 1.484 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005291/0.808, allocations: 32 kB / 1.484 GB, free: 13.33 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002533/0.8105, allocations: 315.5 kB / 1.484 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006607/0.8112, allocations: 164.8 kB / 1.485 GB, free: 12.86 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/0.8114, allocations: 55.97 kB / 1.485 GB, free: 12.8 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001351/0.8127, allocations: 0.6801 MB / 1.485 GB, free: 12.12 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.8127, allocations: 0 / 1.485 GB, free: 12.12 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002849/0.8156, allocations: 0.6562 MB / 1.486 GB, free: 11.46 MB / 1.186 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004281/0.816, allocations: 145.2 kB / 1.486 GB, free: 11.32 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01291/0.8289, allocations: 4.917 MB / 1.491 GB, free: 6.293 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.8289, allocations: 8.125 kB / 1.491 GB, free: 6.285 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.008136/0.8371, allocations: 3.28 MB / 1.494 GB, free: 2.902 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/0.84, allocations: 0.5127 MB / 1.495 GB, free: 2.406 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.8516, allocations: 4.476 MB / 1.499 GB, free: 13.86 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001664/0.8533, allocations: 0.976 MB / 1.5 GB, free: 12.84 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006532/0.8539, allocations: 119.3 kB / 1.5 GB, free: 12.73 MB / 1.201 GB Notification: Performance of SimCode: time 1.102e-06/0.8539, allocations: 0 / 1.5 GB, free: 12.73 MB / 1.201 GB Notification: Performance of Templates: time 0.108/0.9619, allocations: 85.71 MB / 1.584 GB, free: 7.055 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 19.432694494724274]