Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001829/0.001829, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.002153/0.002153, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.485/1.485, allocations: 230.6 MB / 253.5 MB, free: 15.13 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.972/2.972, allocations: 0.49 GB / 0.7923 GB, free: 1.312 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_L,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.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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.OnePhase.Lines.Examples.ACLine_L") [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.002027/0.002027, allocations: 75.89 kB / 1.15 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091/1.093, allocations: 176.1 MB / 1.322 GB, free: 7.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.009376/1.102, allocations: 6.182 MB / 1.328 GB, free: 3.051 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00643/1.109, allocations: 3.224 MB / 1.331 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009714/1.11, allocations: 40.34 kB / 1.331 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002754/1.113, allocations: 0.9528 MB / 1.332 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001921/1.114, allocations: 491.2 kB / 1.333 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/1.116, allocations: 490 kB / 1.333 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001878/1.118, allocations: 1.091 MB / 1.334 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009402/1.119, allocations: 0.5157 MB / 1.335 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008695/1.12, allocations: 453.7 kB / 1.335 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007164/1.12, allocations: 0.494 MB / 1.336 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.913e-05/1.121, allocations: 58.72 kB / 1.336 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/1.122, allocations: 0.491 MB / 1.336 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003538/1.122, allocations: 300.6 kB / 1.336 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004545/1.123, allocations: 403.4 kB / 1.337 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/1.124, allocations: 1.177 MB / 1.338 GB, free: 12.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.124, allocations: 0 / 1.338 GB, free: 12.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/1.124, allocations: 0 / 1.338 GB, free: 12.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.396e-05/1.124, allocations: 1.094 kB / 1.338 GB, free: 12.02 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001952/1.126, allocations: 1.082 MB / 1.339 GB, free: 11.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.126, allocations: 10.09 kB / 1.339 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/1.128, allocations: 221.5 kB / 1.339 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/1.129, allocations: 0.5792 MB / 1.34 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.698e-05/1.129, allocations: 56.39 kB / 1.34 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/1.129, allocations: 59.11 kB / 1.34 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/1.131, allocations: 1.034 MB / 1.341 GB, free: 9.766 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/1.131, allocations: 7.469 kB / 1.341 GB, free: 9.762 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-05/1.131, allocations: 32.98 kB / 1.341 GB, free: 9.738 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/1.131, allocations: 66.27 kB / 1.341 GB, free: 9.723 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/1.132, allocations: 0.6912 MB / 1.342 GB, free: 9.379 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005793/1.138, allocations: 5.738 MB / 1.347 GB, free: 3.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008874/1.139, allocations: 0.5568 MB / 1.348 GB, free: 3.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008118/1.14, allocations: 394.8 kB / 1.348 GB, free: 3.387 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/1.14, allocations: 3.875 kB / 1.348 GB, free: 3.387 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/1.14, allocations: 36.16 kB / 1.348 GB, free: 3.344 MB / 1.029 GB Notification: Performance of pre-optimization done (n=41): time 2.775e-06/1.14, allocations: 1.625 kB / 1.348 GB, free: 3.344 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.004633/1.144, allocations: 2.008 MB / 1.35 GB, free: 2.027 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/1.144, allocations: 56.41 kB / 1.35 GB, free: 1.965 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000554/1.145, allocations: 457.5 kB / 1.351 GB, free: 1.684 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/1.145, allocations: 35.61 kB / 1.351 GB, free: 1.645 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/1.145, allocations: 397.7 kB / 1.351 GB, free: 1.293 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/1.146, allocations: 158.4 kB / 1.351 GB, free: 1.156 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/1.146, allocations: 109 kB / 1.351 GB, free: 1.086 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001913/1.146, allocations: 363.8 kB / 1.352 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/1.146, allocations: 246 kB / 1.352 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005483/1.147, allocations: 447.4 kB / 1.352 GB, free: 228 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009787/1.148, allocations: 0.7572 MB / 1.353 GB, free: 15.64 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.148, allocations: 6.562 kB / 1.353 GB, free: 15.64 MB / 1.045 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001937/1.15, allocations: 1.028 MB / 1.354 GB, free: 15.07 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/1.15, allocations: 12.12 kB / 1.354 GB, free: 15.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/1.15, allocations: 7.281 kB / 1.354 GB, free: 15.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/1.151, allocations: 327.6 kB / 1.354 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/1.151, allocations: 96.67 kB / 1.354 GB, free: 14.87 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00777/1.159, allocations: 7.463 MB / 1.362 GB, free: 8.035 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/1.16, allocations: 29.94 kB / 1.362 GB, free: 8.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/1.16, allocations: 29.3 kB / 1.362 GB, free: 8.012 MB / 1.045 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004437/1.16, allocations: 248.4 kB / 1.362 GB, free: 7.812 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/1.16, allocations: 65.59 kB / 1.362 GB, free: 7.777 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/1.162, allocations: 0.8832 MB / 1.363 GB, free: 7.23 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.162, allocations: 5.094 kB / 1.363 GB, free: 7.23 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.162, allocations: 4.156 kB / 1.363 GB, free: 7.23 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.162, allocations: 0 / 1.363 GB, free: 7.23 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/1.165, allocations: 1.668 MB / 1.365 GB, free: 6.098 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.165, allocations: 1.719 kB / 1.365 GB, free: 6.098 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/1.165, allocations: 45.14 kB / 1.365 GB, free: 6.082 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009714/1.166, allocations: 315 kB / 1.365 GB, free: 5.91 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/1.166, allocations: 7.906 kB / 1.365 GB, free: 5.906 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008072/1.174, allocations: 7.457 MB / 1.372 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/1.174, allocations: 6.078 kB / 1.372 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/1.176, allocations: 0.9747 MB / 1.373 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/1.177, allocations: 181.2 kB / 1.373 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/1.177, allocations: 8.188 kB / 1.373 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/1.177, allocations: 21.36 kB / 1.373 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/1.177, allocations: 49.58 kB / 1.373 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/1.177, allocations: 13.69 kB / 1.373 GB, free: 14.22 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004053/1.177, allocations: 304.3 kB / 1.374 GB, free: 14.04 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.177, allocations: 1.156 kB / 1.374 GB, free: 14.04 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009491/1.178, allocations: 197.1 kB / 1.374 GB, free: 14.02 MB / 1.061 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001761/1.179, allocations: 115.2 kB / 1.374 GB, free: 13.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002005/1.181, allocations: 1.16 MB / 1.375 GB, free: 13.09 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.181, allocations: 1.5 kB / 1.375 GB, free: 13.09 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/1.182, allocations: 0.8321 MB / 1.376 GB, free: 12.37 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/1.183, allocations: 216.2 kB / 1.376 GB, free: 12.17 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/1.185, allocations: 1.306 MB / 1.378 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006978/1.186, allocations: 0.9921 MB / 1.378 GB, free: 9.785 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/1.186, allocations: 39.42 kB / 1.379 GB, free: 9.75 MB / 1.061 GB Notification: Performance of SimCode: time 9.12e-07/1.186, allocations: 4 kB / 1.379 GB, free: 9.746 MB / 1.061 GB Notification: Performance of Templates: time 0.02332/1.209, allocations: 18.51 MB / 1.397 GB, free: 7.27 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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] Variables in the result:R1.i[1],R1.i[2],R1.v[1],R1.v[2],R2.i[1],R2.i[2],R2.v[1],R2.v[2],R3.i[1],R3.i[2],R3.v[1],R3.v[2],load_sc.i[1],load_sc.i[2],time [Calling sys.exit(0), Time elapsed: 14.87036550900666]