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.001342/0.001342, allocations: 116.3 kB / 17.13 MB, free: 6.027 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.001419/0.001419, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.509/1.509, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.902/2.902, allocations: 0.49 GB / 0.7923 GB, free: 1.266 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.00309/0.00309, allocations: 69.77 kB / 1.15 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.11, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007485/1.118, allocations: 6.83 MB / 1.329 GB, free: 20.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005419/1.123, allocations: 3.122 MB / 1.332 GB, free: 18.26 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007668/1.124, allocations: 35.62 kB / 1.332 GB, free: 18.24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002549/1.127, allocations: 0.9635 MB / 1.333 GB, free: 17.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/1.128, allocations: 0.5229 MB / 1.333 GB, free: 17.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/1.129, allocations: 422.5 kB / 1.334 GB, free: 17.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001704/1.131, allocations: 1.225 MB / 1.335 GB, free: 16.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009214/1.132, allocations: 0.531 MB / 1.335 GB, free: 16.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000958/1.133, allocations: 490 kB / 1.336 GB, free: 16.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009524/1.134, allocations: 0.5513 MB / 1.336 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001775/1.134, allocations: 67.09 kB / 1.336 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/1.135, allocations: 384.3 kB / 1.337 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003628/1.136, allocations: 318.9 kB / 1.337 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004486/1.136, allocations: 452.1 kB / 1.337 GB, free: 15.42 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001792/1.138, allocations: 1.22 MB / 1.339 GB, free: 14.99 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.138, allocations: 1.594 kB / 1.339 GB, free: 14.99 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.414e-06/1.138, allocations: 0 / 1.339 GB, free: 14.99 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.818e-05/1.138, allocations: 0 / 1.339 GB, free: 14.99 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002131/1.14, allocations: 1.184 MB / 1.34 GB, free: 14.17 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.14, allocations: 10.58 kB / 1.34 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/1.142, allocations: 246.1 kB / 1.34 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009909/1.143, allocations: 0.5954 MB / 1.341 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/1.143, allocations: 48.08 kB / 1.341 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/1.143, allocations: 62.92 kB / 1.341 GB, free: 13.68 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/1.144, allocations: 1.083 MB / 1.342 GB, free: 13.06 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/1.144, allocations: 11.66 kB / 1.342 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.952e-05/1.145, allocations: 29.27 kB / 1.342 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000179/1.145, allocations: 84.36 kB / 1.342 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/1.146, allocations: 0.7537 MB / 1.343 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004852/1.151, allocations: 5.889 MB / 1.348 GB, free: 7.734 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/1.152, allocations: 0.5103 MB / 1.349 GB, free: 7.535 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004475/1.152, allocations: 282.9 kB / 1.349 GB, free: 7.434 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.085e-05/1.152, allocations: 6.094 kB / 1.349 GB, free: 7.434 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/1.152, allocations: 42.06 kB / 1.349 GB, free: 7.387 MB / 1.061 GB Notification: Performance of pre-optimization done (n=47): time 3.206e-06/1.152, allocations: 4 kB / 1.349 GB, free: 7.383 MB / 1.061 GB Notification: Performance of matching and sorting (n=48): time 0.004246/1.157, allocations: 1.98 MB / 1.351 GB, free: 6.336 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/1.157, allocations: 60.91 kB / 1.351 GB, free: 6.27 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007874/1.157, allocations: 0.5579 MB / 1.352 GB, free: 6.004 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/1.157, allocations: 36.92 kB / 1.352 GB, free: 5.965 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/1.158, allocations: 426.2 kB / 1.352 GB, free: 5.621 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/1.158, allocations: 176.7 kB / 1.352 GB, free: 5.484 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/1.158, allocations: 128 kB / 1.352 GB, free: 5.414 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.158, allocations: 378.4 kB / 1.353 GB, free: 5.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/1.159, allocations: 271.1 kB / 1.353 GB, free: 4.977 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/1.159, allocations: 498.1 kB / 1.354 GB, free: 4.602 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/1.16, allocations: 0.8073 MB / 1.354 GB, free: 4.066 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.16, allocations: 1.25 kB / 1.354 GB, free: 4.066 MB / 1.061 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001915/1.162, allocations: 1.083 MB / 1.355 GB, free: 3.602 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/1.162, allocations: 12.06 kB / 1.355 GB, free: 3.598 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.162, allocations: 6.969 kB / 1.355 GB, free: 3.598 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009425/1.163, allocations: 281.8 kB / 1.356 GB, free: 3.508 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/1.164, allocations: 124.8 kB / 1.356 GB, free: 3.496 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006797/1.17, allocations: 7.14 MB / 1.363 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008929/1.171, allocations: 40.17 kB / 1.363 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.393e-05/1.171, allocations: 28.33 kB / 1.363 GB, free: 13.24 MB / 1.076 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.0005258/1.172, allocations: 250.8 kB / 1.363 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/1.172, allocations: 80.19 kB / 1.363 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/1.174, allocations: 0.8746 MB / 1.364 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/1.174, allocations: 9.266 kB / 1.364 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/1.174, allocations: 2.844 kB / 1.364 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/1.174, allocations: 3.891 kB / 1.364 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003337/1.177, allocations: 1.722 MB / 1.366 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.177, allocations: 1.375 kB / 1.366 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/1.178, allocations: 69.16 kB / 1.366 GB, free: 11.74 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008725/1.178, allocations: 261 kB / 1.366 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/1.178, allocations: 17.09 kB / 1.366 GB, free: 11.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007706/1.186, allocations: 7.126 MB / 1.373 GB, free: 5.41 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.186, allocations: 2.125 kB / 1.373 GB, free: 5.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/1.188, allocations: 0.9736 MB / 1.374 GB, free: 4.895 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004321/1.189, allocations: 194 kB / 1.374 GB, free: 4.742 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.84e-05/1.189, allocations: 21.92 kB / 1.374 GB, free: 4.727 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/1.189, allocations: 33.83 kB / 1.374 GB, free: 4.715 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/1.189, allocations: 44.7 kB / 1.374 GB, free: 4.703 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/1.189, allocations: 15.27 kB / 1.374 GB, free: 4.699 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005686/1.19, allocations: 381.2 kB / 1.375 GB, free: 4.527 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.19, allocations: 0 / 1.375 GB, free: 4.527 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001037/1.191, allocations: 224.4 kB / 1.375 GB, free: 4.504 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.0001926/1.191, allocations: 122.8 kB / 1.375 GB, free: 4.395 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002363/1.193, allocations: 1.232 MB / 1.376 GB, free: 3.676 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.193, allocations: 0 / 1.376 GB, free: 3.676 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/1.195, allocations: 0.8637 MB / 1.377 GB, free: 3.078 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/1.196, allocations: 214 kB / 1.377 GB, free: 3.008 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/1.199, allocations: 1.422 MB / 1.379 GB, free: 2.223 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008406/1.2, allocations: 1.007 MB / 1.38 GB, free: 1.488 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/1.2, allocations: 45.66 kB / 1.38 GB, free: 1.48 MB / 1.076 GB Notification: Performance of SimCode: time 1.383e-06/1.2, allocations: 0 / 1.38 GB, free: 1.48 MB / 1.076 GB Notification: Performance of Templates: time 0.03707/1.237, allocations: 20.74 MB / 1.4 GB, free: 11.98 MB / 1.092 GB " [Timeout remaining time 299] 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: 15.21455348499876]