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.002014/0.002014, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.00252/0.00252, allocations: 211.9 kB / 23.04 MB, free: 4.863 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.39/3.39, allocations: 0.49 GB / 0.7959 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.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: 71.03 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3655, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008285/0.3738, allocations: 5.896 MB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005533/0.3793, allocations: 3.133 MB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005904/0.3799, allocations: 39.62 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002595/0.3825, allocations: 0.9465 MB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.3839, allocations: 493.5 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.3853, allocations: 482.8 kB / 1.338 GB, free: 5.965 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001415/0.3867, allocations: 1.096 MB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008785/0.3876, allocations: 0.5139 MB / 1.339 GB, free: 4.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008048/0.3884, allocations: 454.4 kB / 1.34 GB, free: 3.895 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006434/0.389, allocations: 474.1 kB / 1.34 GB, free: 3.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.282e-05/0.3891, allocations: 60 kB / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008628/0.39, allocations: 439 kB / 1.341 GB, free: 2.941 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002955/0.3903, allocations: 295.1 kB / 1.341 GB, free: 2.652 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000353/0.3906, allocations: 330.5 kB / 1.341 GB, free: 2.328 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.392, allocations: 1.179 MB / 1.343 GB, free: 1.145 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.392, allocations: 7.922 kB / 1.343 GB, free: 1.137 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.392, allocations: 4 kB / 1.343 GB, free: 1.133 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.3921, allocations: 0 / 1.343 GB, free: 1.133 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.001626/0.3937, allocations: 0.9948 MB / 1.344 GB, free: 104 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.3937, allocations: 8.031 kB / 1.344 GB, free: 96 kB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.3952, allocations: 232.1 kB / 1.344 GB, free: 15.87 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008835/0.3961, allocations: 0.5126 MB / 1.344 GB, free: 15.34 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.3962, allocations: 53.61 kB / 1.344 GB, free: 15.28 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.3963, allocations: 68.33 kB / 1.344 GB, free: 15.21 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.3977, allocations: 1.134 MB / 1.345 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.3978, allocations: 7.938 kB / 1.346 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.3978, allocations: 27.98 kB / 1.346 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.13e-05/0.3979, allocations: 69.27 kB / 1.346 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.3989, allocations: 0.6918 MB / 1.346 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004626/0.4036, allocations: 4.405 MB / 1.351 GB, free: 8.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007635/0.4043, allocations: 410.1 kB / 1.351 GB, free: 8.184 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007789/0.4051, allocations: 388.6 kB / 1.351 GB, free: 7.801 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.4051, allocations: 4 kB / 1.351 GB, free: 7.797 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.4052, allocations: 38.5 kB / 1.351 GB, free: 7.75 MB / 1.045 GB Notification: Performance of pre-optimization done (n=41): time 3.066e-06/0.4052, allocations: 3.938 kB / 1.351 GB, free: 7.746 MB / 1.045 GB Notification: Performance of matching and sorting (n=42): time 0.004215/0.4094, allocations: 1.711 MB / 1.353 GB, free: 6.016 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.4094, allocations: 63.28 kB / 1.353 GB, free: 5.941 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.4099, allocations: 421.8 kB / 1.354 GB, free: 5.52 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.41, allocations: 37.7 kB / 1.354 GB, free: 5.477 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.4102, allocations: 403.9 kB / 1.354 GB, free: 5.074 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.4104, allocations: 158.7 kB / 1.354 GB, free: 4.918 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.4105, allocations: 106.2 kB / 1.354 GB, free: 4.809 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.4107, allocations: 362.8 kB / 1.355 GB, free: 4.445 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.4111, allocations: 241.2 kB / 1.355 GB, free: 4.207 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/0.4116, allocations: 453.5 kB / 1.355 GB, free: 3.672 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009668/0.4125, allocations: 0.7563 MB / 1.356 GB, free: 2.82 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4125, allocations: 7.938 kB / 1.356 GB, free: 2.812 MB / 1.045 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001827/0.4144, allocations: 1.023 MB / 1.357 GB, free: 1.77 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.4144, allocations: 8 kB / 1.357 GB, free: 1.762 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.4144, allocations: 8 kB / 1.357 GB, free: 1.754 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009982/0.4154, allocations: 323.1 kB / 1.357 GB, free: 1.426 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.4157, allocations: 95.77 kB / 1.357 GB, free: 1.332 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007152/0.4229, allocations: 6.938 MB / 1.364 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/0.4233, allocations: 24.03 kB / 1.364 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.4234, allocations: 35.94 kB / 1.364 GB, free: 9.918 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 (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.0003723/0.4237, allocations: 241.6 kB / 1.364 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-05/0.4238, allocations: 63.62 kB / 1.364 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.4255, allocations: 0.8766 MB / 1.365 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4255, allocations: 4 kB / 1.365 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.4255, allocations: 4 kB / 1.365 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.4255, allocations: 3.938 kB / 1.365 GB, free: 8.703 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.428, allocations: 1.497 MB / 1.367 GB, free: 7.137 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.428, allocations: 4 kB / 1.367 GB, free: 7.133 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.4282, allocations: 39.91 kB / 1.367 GB, free: 7.094 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000911/0.4291, allocations: 311.4 kB / 1.367 GB, free: 6.777 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.4292, allocations: 12 kB / 1.367 GB, free: 6.766 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007054/0.4362, allocations: 6.924 MB / 1.374 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.4362, allocations: 11.94 kB / 1.374 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.4379, allocations: 0.9721 MB / 1.375 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.4382, allocations: 91.62 kB / 1.375 GB, free: 14.31 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.4382, allocations: 8 kB / 1.375 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.4385, allocations: 23.91 kB / 1.375 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.4386, allocations: 44.16 kB / 1.375 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.4386, allocations: 12 kB / 1.375 GB, free: 14.22 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000328/0.439, allocations: 290.9 kB / 1.375 GB, free: 13.94 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.439, allocations: 0 / 1.375 GB, free: 13.94 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008181/0.4398, allocations: 192 kB / 1.376 GB, free: 13.75 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 (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.000153/0.4399, allocations: 107.2 kB / 1.376 GB, free: 13.64 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001885/0.4418, allocations: 1.168 MB / 1.377 GB, free: 12.42 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4418, allocations: 0 / 1.377 GB, free: 12.42 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.443, allocations: 0.8307 MB / 1.378 GB, free: 11.54 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009615/0.444, allocations: 193.3 kB / 1.378 GB, free: 11.36 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.4461, allocations: 1.311 MB / 1.379 GB, free: 10 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.4465, allocations: 390.7 kB / 1.379 GB, free: 9.59 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.309e-05/0.4466, allocations: 39.44 kB / 1.379 GB, free: 9.555 MB / 1.076 GB Notification: Performance of SimCode: time 8.42e-07/0.4466, allocations: 0 / 1.379 GB, free: 9.555 MB / 1.076 GB Notification: Performance of Templates: time 0.02294/0.4696, allocations: 18.61 MB / 1.398 GB, free: 6.961 MB / 1.092 GB " [Timeout remaining time 300] 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.623953355010599]