Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001967/0.001967, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002649/0.002649, allocations: 210 kB / 23 MB, free: 4.566 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.251/3.251, allocations: 0.49 GB / 0.7958 GB, free: 33.38 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.OnePhase.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [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.002456/0.002456, allocations: 70.31 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3648, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009408/0.3742, allocations: 7.015 MB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005502/0.3797, allocations: 3.192 MB / 1.337 GB, free: 7.203 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006019/0.3803, allocations: 39.69 kB / 1.337 GB, free: 7.164 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002635/0.3829, allocations: 0.9882 MB / 1.338 GB, free: 6.172 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.3843, allocations: 0.5168 MB / 1.339 GB, free: 5.652 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.3855, allocations: 430.3 kB / 1.339 GB, free: 5.234 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001643/0.3871, allocations: 1.229 MB / 1.34 GB, free: 4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000869/0.388, allocations: 0.5412 MB / 1.341 GB, free: 3.449 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007398/0.3887, allocations: 490.3 kB / 1.341 GB, free: 2.969 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007855/0.3895, allocations: 0.5526 MB / 1.342 GB, free: 2.414 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.94e-05/0.3896, allocations: 64 kB / 1.342 GB, free: 2.352 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007948/0.3904, allocations: 383.2 kB / 1.342 GB, free: 1.977 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003349/0.3907, allocations: 323.1 kB / 1.342 GB, free: 1.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004521/0.3912, allocations: 453.7 kB / 1.343 GB, free: 1.215 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.3926, allocations: 1.218 MB / 1.344 GB, free: 15.99 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3926, allocations: 0 / 1.344 GB, free: 15.99 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3926, allocations: 4 kB / 1.344 GB, free: 15.98 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.3926, allocations: 4 kB / 1.344 GB, free: 15.98 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001971/0.3946, allocations: 1.112 MB / 1.345 GB, free: 14.84 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3946, allocations: 8.031 kB / 1.345 GB, free: 14.83 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.3961, allocations: 244.1 kB / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009807/0.3971, allocations: 0.5152 MB / 1.346 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.776e-05/0.3971, allocations: 49.67 kB / 1.346 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.3972, allocations: 64.36 kB / 1.346 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.3988, allocations: 1.085 MB / 1.347 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.3989, allocations: 11.94 kB / 1.347 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.382e-05/0.3989, allocations: 31.98 kB / 1.347 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/0.3991, allocations: 81.25 kB / 1.347 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.4003, allocations: 0.7504 MB / 1.348 GB, free: 11.87 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005962/0.4063, allocations: 5.815 MB / 1.354 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.4073, allocations: 0.5125 MB / 1.354 GB, free: 5.117 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/0.4077, allocations: 282 kB / 1.354 GB, free: 4.836 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.4078, allocations: 8.422 kB / 1.354 GB, free: 4.828 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.4078, allocations: 39 kB / 1.354 GB, free: 4.781 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.324e-06/0.4078, allocations: 0 / 1.354 GB, free: 4.781 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.003915/0.4117, allocations: 1.679 MB / 1.356 GB, free: 3.086 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.4118, allocations: 59.78 kB / 1.356 GB, free: 3.016 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000682/0.4124, allocations: 0.5548 MB / 1.357 GB, free: 2.449 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.125e-05/0.4125, allocations: 37.7 kB / 1.357 GB, free: 2.406 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.4128, allocations: 428 kB / 1.357 GB, free: 1.98 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.413, allocations: 178.5 kB / 1.357 GB, free: 1.805 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.4132, allocations: 130.6 kB / 1.357 GB, free: 1.672 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.4134, allocations: 378.7 kB / 1.358 GB, free: 1.293 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004484/0.4138, allocations: 273.8 kB / 1.358 GB, free: 1.027 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/0.4144, allocations: 493.4 kB / 1.359 GB, free: 460 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.4155, allocations: 0.8045 MB / 1.359 GB, free: 15.55 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.4155, allocations: 4 kB / 1.359 GB, free: 15.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001931/0.4174, allocations: 1.077 MB / 1.36 GB, free: 14.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.4175, allocations: 10.75 kB / 1.36 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.4175, allocations: 8 kB / 1.36 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008838/0.4184, allocations: 287.1 kB / 1.361 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.4189, allocations: 123.8 kB / 1.361 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006943/0.4258, allocations: 6.724 MB / 1.367 GB, free: 6.824 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006241/0.4264, allocations: 35.97 kB / 1.367 GB, free: 6.789 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/0.4265, allocations: 36 kB / 1.367 GB, free: 6.754 MB / 1.061 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0003901/0.4269, allocations: 254.1 kB / 1.368 GB, free: 6.496 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.427, allocations: 75.53 kB / 1.368 GB, free: 6.422 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.4286, allocations: 0.8809 MB / 1.369 GB, free: 5.527 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.4286, allocations: 8.031 kB / 1.369 GB, free: 5.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4286, allocations: 8 kB / 1.369 GB, free: 5.512 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4286, allocations: 3.984 kB / 1.369 GB, free: 5.508 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/0.4314, allocations: 1.688 MB / 1.37 GB, free: 3.738 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.4314, allocations: 4 kB / 1.37 GB, free: 3.734 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.4317, allocations: 60.08 kB / 1.37 GB, free: 3.676 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007738/0.4324, allocations: 271.1 kB / 1.371 GB, free: 3.398 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.4325, allocations: 8 kB / 1.371 GB, free: 3.391 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006914/0.4394, allocations: 6.713 MB / 1.377 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4394, allocations: 8.094 kB / 1.377 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.4411, allocations: 0.9841 MB / 1.378 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.4414, allocations: 111.5 kB / 1.378 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.359e-05/0.4415, allocations: 15.94 kB / 1.378 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/0.4419, allocations: 23.97 kB / 1.378 GB, free: 11.03 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.442, allocations: 51.86 kB / 1.378 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.442, allocations: 12.19 kB / 1.378 GB, free: 10.96 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004629/0.4425, allocations: 383.1 kB / 1.379 GB, free: 10.59 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.4425, allocations: 0 / 1.379 GB, free: 10.59 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008216/0.4433, allocations: 224 kB / 1.379 GB, free: 10.38 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001719/0.4435, allocations: 127.1 kB / 1.379 GB, free: 10.24 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00203/0.4455, allocations: 1.236 MB / 1.38 GB, free: 8.961 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4455, allocations: 0 / 1.38 GB, free: 8.961 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.4468, allocations: 0.8658 MB / 1.381 GB, free: 8.043 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.4478, allocations: 223.8 kB / 1.381 GB, free: 7.832 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.4502, allocations: 1.423 MB / 1.383 GB, free: 6.355 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006694/0.4508, allocations: 1.009 MB / 1.384 GB, free: 5.316 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.451, allocations: 47.44 kB / 1.384 GB, free: 5.27 MB / 1.076 GB Notification: Performance of SimCode: time 8.21e-07/0.451, allocations: 0 / 1.384 GB, free: 5.27 MB / 1.076 GB Notification: Performance of Templates: time 0.0264/0.4774, allocations: 20.74 MB / 1.404 GB, free: 0.582 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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: 14.653698362992145]